100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Lab - Design and Manage Pub/Sub Messaging with Amazon Simple Notification Service (SNS) |Task 1 : Subscribe to an amazon topic | Latest updated version with expert curated questions and answers

Rating
-
Sold
-
Pages
12
Grade
A+
Uploaded on
22-03-2025
Written in
2024/2025

Lab - Design and Manage Pub/Sub Messaging with Amazon Simple Notification Service (SNS) |Task 1 : Subscribe to an amazon topic | Latest updated version with expert curated questions and answers

Institution
AWS Cert
Course
AWS cert









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
AWS cert
Course
AWS cert

Document information

Uploaded on
March 22, 2025
Number of pages
12
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

Lab - Design and Manage
Pub/Sub Messaging with
Amazon Simple Notification
Service (SNS)
Task 1: Subscribe to an Amazon SNS Topic
Subscribing to an Amazon SNS (Simple Notification Service) topic allows an
endpoint (e.g., email, SMS, Lambda function) to receive notifications when
messages are published to the topic. Here’s how to do it:



Step 1: Prerequisites
1. Existing SNS Topic:
Ensure you have an SNS topic created. If not, create one:
bash
Copy
aws sns create-topic --name MyTopic
Note the TopicArn from the output.
2. Valid Endpoint:
Prepare the endpoint you want to subscribe (e.g., email address, phone
number, Lambda ARN, or HTTP/HTTPS URL).



Step 2: Create the Subscription
Use the AWS Management Console, CLI, or SDK to subscribe your endpoint to
the topic.
Using AWS CLI
Syntax:
bash
Copy

, aws sns subscribe \
--topic-arn <TOPIC_ARN> \
--protocol <PROTOCOL> \
--notification-endpoint <ENDPOINT>
Examples:
 Email:
bash
Copy
aws sns subscribe \
--topic-arn arn:aws:sns:us-east-1:123456789012:MyTopic \
--protocol email \
--notification-endpoint
 SMS:
bash
Copy
aws sns subscribe \
--topic-arn arn:aws:sns:us-east-1:123456789012:MyTopic \
--protocol sms \
--notification-endpoint +1234567890
 Lambda Function:
bash
Copy
aws sns subscribe \
--topic-arn arn:aws:sns:us-east-1:123456789012:MyTopic \
--protocol lambda \
--notification-endpoint arn:aws:lambda:us-east-
1:123456789012:function:MyFunction
 HTTP/HTTPS Endpoint:
R258,46
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached


Document also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
BRAINBOOSTERS Chamberlain College Of Nursing
Follow You need to be logged in order to follow users or courses
Sold
649
Member since
2 year
Number of followers
250
Documents
22594
Last sold
11 hours ago

In this page you will find all documents , flashcards and package deals offered by seller BRAINBOOSTERS

4,5

340 reviews

5
264
4
30
3
21
2
5
1
20

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions