Each SNS topic can have multiple subscribers. Each subscriber may use the same protocols 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 for 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 select Subscriptions, as shown in Figure 13.9:
![](https://static.packt-cdn.com/products/9781789617313/graphics/assets/345c9bd7-a211-49a2-9e82-c4f75b48bb77.png)
Figure 13.9: SNS dashboard; select subscriptions
- Click on Create subscription, as shown in Figure 13.10:
![](https://static.packt-cdn.com/products/9781789617313/graphics/assets/91164517-a2bb-4526-a5f6-458800b5c683.png)
Figure 13.10: Create subscription
- A popup will appear, as shown in Figure 13.11. Provide a valid Topic ARN, Protocol, and Endpoint. Finally, click on Create subscription:
![](https://static.packt-cdn.com/products/9781789617313/graphics/assets/e3fefeac-e54b-4420-ae34-3a254c7d0e81.png)
Figure 13.11: Create subscription
The fields in the preceding screenshot are explained as follows...