aws avatar

Setting Up Cloudwatch Alarm Notifications

This sets up the notification plumbing for CloudWatch alarms using SNS topics and subscriptions. You'll use it when you need alerts to actually reach people via email, SMS, or webhooks instead of just firing silently into the void. It handles the encrypted topic creation, configures the IAM policies so CloudWatch can publish to SNS, and walks through linking everything together. The troubleshooting section covers the usual gotchas like unconfirmed email subscriptions and phone numbers not being in E.164 format. Solid for getting the alerting infrastructure right the first time instead of debugging why notifications aren't showing up during an actual incident.

skills.sh installs
6.8K
GitHub stars
3.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add aws/agent-toolkit-for-aws --skill setting-up-cloudwatch-alarm-notifications --agent claude-code

Installs into .claude/skills of the current project.

Files

Setting Up CloudWatch Alarm Notifications

Overview

Domain expertise for configuring Amazon CloudWatch alarm notification channels using Amazon SNS topics and subscriptions. Covers creating encrypted SNS topics, setting up subscriptions for email, SMS, and webhook endpoints, configuring topic policies for CloudWatch access, and linking alarms to notification actions.

Set up alarm notifications

To configure notification channels for a CloudWatch alarm, follow the procedure exactly. See CloudWatch alarm notification setup procedure.

Troubleshooting

Email notifications not received

Verify the email subscription was confirmed. Use aws sns list-subscriptions-by-topic to check that the subscription status is "Confirmed" rather than "PendingConfirmation".

SMS notifications failing

Ensure the phone number is in E.164 format (e.g., +12345678901) and that SMS is supported in your AWS region.

Alarm not triggering notifications

Verify the alarm has the correct SNS topic ARN in its AlarmActions using aws cloudwatch describe-alarms, and ensure ActionsEnabled is set to true.

Sponsors

Details

Repository
github.com/aws/agent-toolkit-for-aws
Categories
Security, AI & Agent Building, Cloud & Infrastructure
First seen
Jun 3, 2026

More from aws/agent-toolkit-for-aws

All 56

Recommended

More Security
1forcedotcom avatarplatform-permission-set-generateforcedotcom/sf-skillsGenerates correct, deployable Salesforce permission set metadata (PermissionSet XML) with object, field, user, and app permissions. Use this skill when creating6.8Kskills.sh installs
2aws avatarlaunching-ec2-instance-with-best-practicesaws/agent-toolkit-for-awsLaunches an EC2 instance with secure, cost-efficient defaults including AMI selection, burstable instance sizing, least-privilege IAM roles, hardened security g6.8Kskills.sh installs
3forcedotcom avatardx-code-analyzer-runforcedotcom/sf-skillsRun Salesforce Code Analyzer to scan code for security, performance, best practice, and code style violations. Supports all engines (PMD, ESLint, CPD, RetireJS,6.7Kskills.sh installs
4aws avatarcreating-production-vpc-multi-azaws/agent-toolkit-for-awsCreates a production-ready VPC with public and private subnets across multiple Availability Zones, including internet gateway, NAT gateways, route tables, and s6.6Kskills.sh installs
5aws avatarconnecting-vpcs-with-peeringaws/agent-toolkit-for-awsEstablishes VPC peering connections between two VPCs for direct private network connectivity. Always use this skill when creating or managing VPC peering — it v6.5Kskills.sh installs
6aws avatarenabling-lambda-vpc-internet-accessaws/agent-toolkit-for-awsEnables internet access for AWS Lambda functions deployed in VPC subnets by creating NAT Gateway infrastructure, configuring public/private subnet routing, and 6.5Kskills.sh installs