First, it is essential you create an SNS topic, then it is possible for a publisher to publish a message and for subscribers to subscribe to get a notification. New SNS topics can be created by the following steps:
- Sign in to the AWS account with the IAM user who has sufficient privileges to work with Amazon SNS. On successful login to the AWS account, make sure that the appropriate AWS region is selected from the right-hand side top toolbar as, shown in Figure 13.3:
Figure 13.3: AWS web console, select desired region
- From the AWS dashboard, select
Simple Notification Service
from theMessaging
services group, as shown in Figure 13.4:
Figure 13.4: AWS web console, select SNS
- Select
Create topic
from theSNS dashboard
, as shown:
Figure 13.5: SNS dashboard, select Create topic
- In the
Create new topic
pop-up box, provide the appropriate input and clickCreate topic
, as shown in Figure 13.6:
Figure 13.6: Provide appropriate Topic name and Display name
Topic name
: This can...