Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Amazon Web Services Bootcamp

You're reading from   Amazon Web Services Bootcamp Develop a scalable, reliable, and highly available cloud environment with AWS

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher Packt
ISBN-13 9781788294454
Length 338 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Sunil Gulabani Sunil Gulabani
Author Profile Icon Sunil Gulabani
Sunil Gulabani
Arrow right icon
View More author details
Toc

Subscription


Subscription to a topic will push messages to the subscriber's protocol whenever a new message is published. For subscription, we need to select the protocol and provide the endpoint of the protocol. So the endpoint-owner needs to confirm the subscription and then only SNS is able to deliver messages to the endpoint. Subscription confirmation is a URL which is received at endpoint-owner ends. This URL contains a token which will help SNS to subscribe the endpoint to a specific token and this token is valid for 3 days.

Let's see how we can subscribe to a topic using email protocol.

AWS Management Console

Go to the AWS SNS Management Console at https://console.aws.amazon.com/sns/v2/home and perform the following steps:

  1. Click on Topics in the navigation pane on the left.
  2. Click on aws-bootcamp ARN, displayed on the topic listing screen:

Figure 8.3: Topic details

  1. Click Create subscription:

Figure 8.4: Creating a subscription

Provide details as follows:

  • Topic ARN: By default, Topic ARN will...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime