Application Integration
Amazon SNS
Pub/Sub messaging and mobile/email notifications.
Official docsOverview
Simple Notification Service fans out messages to SQS, Lambda, HTTP, email, and SMS subscribers via topics, with optional FIFO and message filtering.
When to use it
- Fan-out one event to many consumers
- Alerting via email/SMS
- Integrating CloudWatch alarms with on-call
Setup
- Create a topic, add subscriptions (SQS ARN, Lambda ARN, email).
- Confirm email subscriptions via the confirmation link.
- Optionally apply subscription filter policies.
How to use
Publish
aws sns publish --topic-arn arn:aws:sns:us-east-1:111:alerts --message 'deploy failed'QA use cases
- Route every CloudWatch alarm during a load test to a #qa-loadtest Slack channel via a Lambda subscriber.
- Notify QA when a build artifact lands in S3 (S3 → SNS → email).
