SNS CheatSheet

  • SNS is a fully managed pub/sub messaging service

  • SNS is for Application Integration. It allows decoupled services and apps to communicate with each other

  • Topic is a logical access point and communication channel.

  • A topic is a able to deliver to multiple protocols.

  • You can encrypt topics via KMS.

  • Publishes use thw AWS API via AWS CLI or SDK to push messages to a topic. Many AWS services integrate with SNS and act as publishers.

  • Subscriptions subscribe to topics. When a topic receives a message it automatically and immediately pushes messages to subscribers.

  • All messages published to SNS are stored redundantly across multiple Availability Zones (AZ)

  • The following protocols:

  • HTTP create webhooks into your web applications.

  • Email good for internal email notifications (only supports plain text)

  • Email-JSON sends you JSON via email

  • AWS Lambda triggers a lambda function

  • SMS send a text message

  • Platform application endpoints Mobile push