setting-up-cloudwatch-alarm-notifications

Configures CloudWatch alarm notifications using encrypted SNS topics and subscriptions.

Updated Jul 1, 2026
One-click install
npx skills add https://github.com/sakicodes/BuildFestHackathon26 --skill setting-up-cloudwatch-alarm-notifications-sakicodes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setting-up-cloudwatch-alarm-notifications
Source: https://github.com/sakicodes/BuildFestHackathon26/tree/main/.agents/skills/setting-up-cloudwatch-alarm-notifications
Command: npx skills add https://github.com/sakicodes/BuildFestHackathon26 --skill setting-up-cloudwatch-alarm-notifications-sakicodes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Setting up CloudWatch alarm notifications requires coordinating SNS topics, encryption, topic policies, subscriptions, and alarm actions across multiple AWS CLI calls, which is error-prone when done manually. ## Core Features & Use Cases - Encrypted SNS Topic Creation: Creates SNS topics with KMS encryption at rest and configures topic policies granting CloudWatch publish access. - Multi-Channel Subscriptions: Sets up email, SMS, webhook, Lambda, and SQS subscriptions with protocol mapping and endpoint validation. - Alarm Linking and Testing: Attaches the SNS topic to alarm actions, then triggers a test alarm state change to verify end-to-end delivery. - Use Case: When a CPU utilization alarm fires, automatically notify the on-call team via email and SMS through a properly secured SNS topic. ## Quick Start Set up email notifications to [email protected] for my existing CloudWatch alarm named HighCPUAlarm in us-east-1.

Frequently Asked Questions about setting-up-cloudwatch-alarm-notifications

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up email notifications for a CloudWatch alarm?

Create an SNS topic, subscribe the email address with the email protocol, and add the topic ARN to the alarm's AlarmActions. The recipient must confirm the subscription via the confirmation email before notifications are delivered.

How do I send CloudWatch alarm notifications via SMS?

Subscribe a phone number to the SNS topic using the sms protocol with the number in E.164 format such as +12345678901. Verify that SMS delivery is supported in your AWS region, as some regions restrict SMS.

Why are my CloudWatch alarm email notifications not being received?

The most common cause is an unconfirmed subscription. Run aws sns list-subscriptions-by-topic and check that the subscription status is Confirmed rather than PendingConfirmation, then ask the recipient to confirm via email.

Why is my CloudWatch alarm not triggering SNS notifications?

Verify the alarm has the correct SNS topic ARN in its AlarmActions and that ActionsEnabled is set to true using aws cloudwatch describe-alarms. Also confirm the SNS topic policy allows the CloudWatch service principal to publish.

Does SNS topic encryption work with CloudWatch alarms?

Yes, the setup enables encryption at rest using the AWS managed key alias/aws/sns via set-topic-attributes. A custom KMS key can be specified instead, but the topic policy must still permit CloudWatch to publish.