itsmostafa/aws-agent-skills/sns
- community
Checking that the SKILL.md file is still in the repository.
AWS SNS notification service for pub/sub messaging. Use when creating topics, managing subscriptions, configuring message filtering, sending notifications, or setting up mobile push.
Install
npx vskill@latest install itsmostafa/aws-agent-skills/snsSKILL.md
AWS SNS
Amazon Simple Notification Service (SNS) is a fully managed pub/sub messaging service for application-to-application (A2A) and application-to-person (A2P) communication.
Table of Contents
Core Concepts
Topics
Named channels for publishing messages. Publishers send to topics, subscribers receive from topics.
Topic Types
| Type | Description | Use Case | |
|---|---|---|---|
| Standard | Best-effort ordering, at-least-once | Most use cases | |
| FIFO | Strict ordering, exactly-once | Order-sensitive |
Subscription Protocols
| Protocol | Description | |
|---|---|---|
| Lambda | Invoke Lambda function | |
| SQS | Send to SQS queue | |
| HTTP/HTTPS | POST to endpoint | |
| Send email | ||
| SMS | Send text message | |
| Application | Mobile push notification |
Message Filtering
Route messages to specific subscribers based on message attributes.
Common Patterns
Create Topic and Subscribe
AWS CLI:
boto3:
Publish Messages
Message Filtering
Filter policy examples:
Fan-Out Pattern (SNS to Multiple SQS)
Lambda Permission for SNS
CLI Reference
Topic Management
| Command | Description | |
|---|---|---|
aws sns create-topic | Create topic | |
aws sns delete-topic | Delete topic | |
aws sns list-topics | List topics | |
aws sns get-topic-attributes | Get topic settings | |
aws sns set-topic-attributes | Update topic settings |
Subscriptions
| Command | Description | |
|---|---|---|
aws sns subscribe | Create subscription | |
aws sns unsubscribe | Remove subscription | |
aws sns list-subscriptions | List all subscriptions | |
aws sns list-subscriptions-by-topic | List topic subscriptions | |
aws sns confirm-subscription | Confirm pending subscription |
Publishing
| Command | Description | |
|---|---|---|
aws sns publish | Publish message |
Best Practices
Reliability
- Use SQS for durability — SNS is push-based, SQS queues messages
- Implement retries for HTTP/HTTPS endpoints
- Configure DLQ for failed deliveries
- Use FIFO topics for ordering requirements
Security
- Use topic policies to control access
- Enable encryption with SSE
- Use VPC endpoints for private access
Cost Optimization
- Use message filtering to reduce unnecessary deliveries
- Batch operations where possible
- Monitor and clean up unused topics/subscriptions
Message Design
- Keep messages small (256 KB limit)
- Use message attributes for routing
- Include correlation IDs for tracing
Troubleshooting
Subscription Not Receiving Messages
Check:
- Subscription is confirmed (not pending)
- Filter policy matches message attributes
- Target permissions (Lambda, SQS)
HTTP Endpoint Not Working
Debug:
Messages Not Matching Filter
Verify:
- Message attributes are set (not in body)
- Attribute types match (String vs Number)
- Filter policy syntax is correct
SQS Not Receiving from SNS
Check SQS queue policy:
References
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/sns/SKILL.md
Popularity
- Repository stars
- 1,086
- Repository forks
- 438
- 7-day trend score
- 35
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 4 May 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/itsmostafa/aws-agent-skills/sns)