Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Amazon Web Services Bootcamp

You're reading from  Amazon Web Services Bootcamp

Product type Book
Published in Mar 2018
Publisher Packt
ISBN-13 9781788294454
Pages 338 pages
Edition 1st Edition
Languages
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 €14.99/month. Cancel anytime