description Amazon SNS Overview
Simple Notification Service (SNS) is a highly scalable publish/subscribe messaging service. It allows a single message published to a topic to be instantly broadcast (fanout) to multiple endpoints simultaneouslysuch as SMS gateways, email subscribers, SQS queues, or Lambda functions. It is the best tool when one event needs to trigger many disparate, unrelated actions.
help Amazon SNS FAQ
How does Amazon SNS send one message to many systems?
An application publishes a message to an Amazon SNS topic, and SNS fans it out to subscriptions such as Amazon SQS queues, AWS Lambda functions, email, SMS, or HTTP endpoints. Each subscription can then process the same event for a different purpose.
What is the difference between Amazon SNS and Amazon SQS?
SNS is primarily a publish/subscribe notification service, while SQS is a queue that stores messages for consumers to process. A common AWS pattern is to publish to SNS and deliver separate copies to multiple SQS queues.
Can Amazon SNS trigger an AWS Lambda function?
Yes, an SNS topic can invoke a subscribed AWS Lambda function when a message is published. The Lambda function receives the SNS event payload and can then perform work such as sending a notification or updating a database.
Does Amazon SNS support SMS and email notifications?
SNS supports delivery to channels including SMS and email, as well as AWS services and HTTP or HTTPS endpoints. Delivery limits, regional availability, opt-out rules, and pricing differ by channel, so production notification systems should check the AWS documentation for the target region.
explore Explore More
Similar to Amazon SNS
See all arrow_forwardReviews & Comments
Write a Review
Be the first to review
Share your thoughts with the community and help others make better decisions.