Book Image

AWS Certified Developer - Associate Guide

By : Vipul Tankariya, Bhavin Parmar
Book Image

AWS Certified Developer - Associate Guide

By: Vipul Tankariya, Bhavin Parmar

Overview of this book

AWS Certified Developer - Associate Guide starts with a quick introduction to AWS and the prerequisites to get you started. Then, this book gives you a fair understanding of core AWS services and basic architecture. Next, this book will describe about getting familiar with Identity and Access Management (IAM) along with Virtual private cloud (VPC). Moving ahead you will learn about Elastic Compute cloud (EC2) and handling application traffic with Elastic Load Balancing (ELB). Going ahead you we will talk about Monitoring with CloudWatch, Simple storage service (S3) and Glacier and CloudFront along with other AWS storage options. Next we will take you through AWS DynamoDB – A NoSQL Database Service, Amazon Simple Queue Service (SQS) and CloudFormation Overview. Finally, this book covers understanding Elastic Beanstalk and overview of AWS lambda. At the end of this book, we will cover enough topics, tips and tricks along with mock tests for you to be able to pass the AWS Certified Developer - Associate exam and develop as well as manage your applications on the AWS platform.
Table of Contents (29 chapters)
Title Page
Credits
About the Author
Acknowledgments
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Dedication
Preface
Index

Publishing a message to an SNS topic


As soon as the publisher sends a message to a topic, Amazon SNS will try to deliver a notification/message to all the subscribers. The subscriber may have different protocols and individual endpoints. With the help of the following steps, a message can be published over an SNS topic:

  1. Go to the SNS dashboard, and select Topics from the left-hand side pane; it will display a list of topics, as shown in Figure 13.12:

Figure 13.12: SNS Topics dashboard

  1. Click the Topic ARN, as shown in Figure 13.13:

Figure 13.13: Select Topic, to get ARN

  1. Click Publish to topic, as shown in Figure 13.14:

Figure 13.14: SNS Topic details

  1. To publish a message, provide the details, as shown here:

Figure 13.15: Publish a message on a Topic

  • Subject: This is optional and can be up to 100 printable ASCII characters. In the case of an email notification, it will appear as an email subject line.
  • Message format: This can be either Raw or JSON:
    • Raw: This is the actual plain text message to send...