Each SNS topic can have multiple subscribers. Each subscriber may use the same or different protocols. Copy the ARN of the recently-created SNS topic. This step-by-step guide requires you to subscribe to a topic. Subscribers can receive a notification over a desired protocol as and when the publisher sends any message to the same topic. The steps for subscribing to an SNS topic are as follows:
- Go to the
SNS dashboard
and selectSubscriptions
, as shown in Figure 13.9:
Figure 13.9: SNS dashboard, select Subscriptions
- Click
Create subscription
, as shown in Figure 13.10:
Figure 13.10: Create subscription
- A pop-up will appear, as shown in Figure 13.11. Provide a valid
Topic ARN
,Protocol
, andEndpoint
. Finally, clickCreate subscription
:
Figure 13.11: Create subscription
Topic ARN
: Paste the copied ARN of the recently-created SNS topicProtocol
: Select the appropriate protocol (HTTP
,HTTPS
,Email
,Email-JSON
,Amazon SQS
,Application
,AWS Lambda,
orSMS
)Endpoint
: According...