Step 2: Subscribe the HTTP/HTTPS endpoint to the Amazon SNS topic
To send messages to an HTTP or HTTPS endpoint through a topic, you must subscribe the
endpoint to the Amazon SNS topic. You specify the endpoint using its URL. To subscribe to a topic,
you can use the Amazon SNS console, the sns-subscribe
To subscribe an HTTP or HTTPS endpoint to a topic using the Amazon SNS console
Sign in to the Amazon SNS console
. -
On the navigation panel, choose Topics.
-
Choose the Create subscription.
-
In the Protocol drop-down list, select HTTP or HTTPS.
-
In the Endpoint box, paste in the URL for the endpoint that you want the topic to send messages to and then choose Create subscription.
-
The confirmation message is displayed. Choose Close.
Your new subscription's Subscription ID displays PendingConfirmation. When you confirm the subscription, Subscription ID will display the subscription ID.