Simple Notification Service (SNS)

Subscribe and send notifications via text message, webhooks, lambdas, SQS, and mobile notifications

Simple Notification Service (SNS) is a highly available, durable, secure, fully managed pub/sub messaging service that enables you to decouple microservices, distributed systems, and serverless applications.

Application Integration!

  • Publishers push events to an SNS Topic
  • Subscribers subscribe to SNS Topic to have events pushed to them

SNS - Topics

Topics allow you to group multiple subscriptions together.

A topic is able to deliver to multiple protocols at once e.g. email, text message, https

When topics deliver messages to subscribers it will automatically format your message according to the subscriber’s chosen protocols

You can encrypt Topic via KMS

SNS Subscriptions

A subscription can only subscribe to one protocol an done topic.

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

Application As Subscriber

Send push notifications directly to app on mobile devices.

Push notification messages sent to a mobile endpoint can appear in the mobile app as message alerts, badge updates, or even sound alerts.