Terminal
Terminal/Skill
Creates encrypted SNS topics and subscriptions so CloudWatch alarms can send email, SMS or webhook notifications.
By Amazon Web Services
Works with
npx skills add aws/agent-toolkit-for-aws --skill setting-up-cloudwatch-alarm-notificationsDomain 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.
To configure notification channels for a CloudWatch alarm, follow the procedure exactly. See CloudWatch alarm notification setup procedure.
Verify the email subscription was confirmed. Use aws sns list-subscriptions-by-topic
to check that the subscription status is "Confirmed" rather than "PendingConfirmation".
Ensure the phone number is in E.164 format (e.g., +12345678901) and that SMS is supported in your AWS region.
Verify the alarm has the correct SNS topic ARN in its AlarmActions using
aws cloudwatch describe-alarms, and ensure ActionsEnabled is set to true.