Amazon Simple Notification Service (Amazon SNS) Documentation
Topic types
Standard Topics
Standard topics can be used in many scenarios, as long as your application can process messages that arrive more than once and out of order.
Best-effort ordering: Occasionally, messages might be delivered in an order different from which they were published.
FIFO Topics
FIFO topics are designed to enhance messaging between applications when the order of operations and events is critical, or where duplicates can't be tolerated.
Ordering: The order in which messages are published and delivered is preserved (i.e. first-in-first-out).
Best-effort deduplication: A message is delivered at least once, but occasionally more than one copy of a message is delivered.
Multiple subscription types: Messages can be sent to a variety of endpoints.
Deduplication: Duplicate messages aren't delivered.
SQS FIFO subscriptions: Messages can be sent to FIFO queues.
Event sources and destinations
Amazon SNS is an event-driven computing hub that has native integration with some AWS event sources and event destinations.
Message publishing and batching
Message publishing enables you to send data, in the form of messages, to an Amazon SNS topic which delivers the messages to the applications that are subscribed to the topic.
Message filtering
Message filtering enables the subscriber to create a filter policy, so that it gets the notifications it is interested in, as opposed to receiving every single message posted to the topic. Additionally, you may monitor your Amazon SNS message filtering activity with Amazon CloudWatch and manage Amazon SNS filter policies with AWS CloudFormation.
Message fanout
Message fanout occurs when a message is sent to a topic and then replicated and pushed to multiple endpoints. Fanout helps provides asynchronous event notifications, which in turn helps allow for parallel processing. Amazon SNS supports application-to-application (A2A) and application-to-person (A2P) message delivery. Amazon SNS also supports cross-region and cross-account message delivery, in addition to message delivery status logging with Amazon CloudWatch.
Message durability
Amazon SNS uses a number of strategies that work together to provide message durability. To start, published messages are stored across multiple, geographically-separated servers and data centers. If a subscribed endpoint isn't available, Amazon SNS executes a message delivery retry policy. To preserve any messages that aren't delivered before the delivery retry policy ends, you can create a dead-letter queue. You can also subscribe Amazon Kinesis Data Firehose delivery streams to SNS topics, which allows messages to be sent to durable endpoints such as Amazon S3 buckets or Amazon Redshift tables.
Message encryption
Amazon SNS is designed to provide encrypted topics to protect your messages from unauthorized and anonymous access. When you publish messages to encrypted topics, Amazon SNS encrypts your messages. The messages are stored in encrypted form, and decrypted as they are delivered to subscribing endpoints.
Message privacy
Amazon SNS supports VPC Endpoints (VPCE) via AWS PrivateLink. You can use VPC Endpoints to privately publish messages to Amazon SNS topics, from an Amazon Virtual Private Cloud (VPC), without traversing the public internet.
Message data protection
Amazon SNS can help you protect sensitive customer information by scanning data in motion using predefined data identifiers. Using the scanned information, message data protection provides audit logs, and enables you to de-identify the information or deny transmission of messages containing the information.
Mobile text messaging (SMS)
Amazon SNS supports sending text messages (SMS messages) to one or multiple phone numbers. With Amazon SNS, you can set your origination identity by using a sender ID or origination numbers like long codes and short codes. You can use the Amazon SNS sandbox to validate your SMS workloads before moving them to production. Amazon SNS also provides tools to manage SMS subscriptions and monitor SMS delivery.
Mobile push notifications
Amazon SNS mobile notifications allows you to fan out mobile push notifications to a range of devices. Mobile notifications can be triggered from user-driven actions or business logic.
Email notifications
Amazon SNS supports the delivery of notifications to email addresses subscribed to topics.
Additional Information
For additional information about service controls, security features and functionalities, including, as applicable, information about storing, retrieving, modifying, restricting, and deleting data, please see https://docs.aws.amazon.com/index.html. This additional information does not form part of the Documentation for purposes of the AWS Customer Agreement available at http://aws.amazon.com/agreement, or other agreement between you and AWS governing your use of AWS’s services.