Amazon simple notification service - sns
Amazon simple notification service - sns
The Amazon Simple Notification Service (Amazon SNS) is a managed service that sends publisher messages to subscribers (also known as producers and consumers).Publishers connect asynchronously with subscribers by sending messages to a topic, which serves as a logical access point and communication route for subscribers.SNS (Amazon Simple Notification Solution) is a fully managed messaging service for both A2A and B2B communications.
Features and capabilities
- Messaging from one programme to another - Amazon Kinesis Data Firehose delivery streams, Lambda functions, Amazon SQS queues, HTTP/S endpoints, and AWS Event Fork Pipelines are all supported by application-to-application communications.
- Notifications from an application to a certain individual - Application-to-person alerts provide user notifications to subscribers using mobile apps, phone numbers, or email addresses.
- Topics that are standard and those that are FIFO - To guarantee precise message ordering, create message groups, and avoid message duplication, use a FIFO topic. A FIFO topic can only be subscribed to by Amazon SQS FIFO queues.
- Longevity of messages
- To ensure message longevity, Amazon SNS employs many methods that operate together:
- Messages that have been published are kept on numerous servers and data centres throughout the globe.
- Amazon SNS implements a delivery retry strategy if a subscribed endpoint is unavailable.
- You can construct a dead-letter queue to save any messages that aren't delivered before the delivery retry policy expires.
- Analytics and message archiving - Kinesis Data Firehose delivery streams may be subscribed to SNS topics, allowing you to send notifications to additional archiving and analytics endpoints including Amazon Simple Storage Service (Amazon S3) buckets, Amazon Redshift tables, and more.
- Attributes of the message - Message attributes allow you to add any kind of metadata to a message. Attributes of Amazon SNS messages
- Filtering of messages - Every subscriber receives every message submitted to the subject by default. A subscriber must apply a filter policy to the subject subscription in order to get just a portion of the messages. The message is delivered to the subscribed endpoint when the incoming message attributes match the filter policy attributes. Otherwise, the message will be ignored.
- Message security Server-side encryption, which uses encryption keys given by AWS KMS, secures the contents of messages saved in Amazon SNS topics.