mcpField
S
setting-up-cloudwatch-alarm-notifications

setting-up-cloudwatch-alarm-notifications

github.com/awsCloud & DevOps3.3k6.4k installsUpdated 1d ago
Repository

About setting-up-cloudwatch-alarm-notifications

A setup skill for configuring Amazon CloudWatch alarm notifications through Amazon SNS. It covers encrypted topics, email, SMS, and webhook subscriptions, topic policies, and alarm actions.

Key features

  1. 01Create encrypted SNS topics
  2. 02Configure email, SMS, and webhook subscriptions
  3. 03Set topic policies for CloudWatch access
  4. 04Link alarm actions to SNS topics

Use cases

  1. 01Sending alarm alerts by email or SMS
  2. 02Forwarding alarm notifications to webhook endpoints
  3. 03Troubleshooting alarms that do not notify

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/aws/agent-toolkit-for-aws --skill setting-up-cloudwatch-alarm-notifications

After installing, type/setting-up-cloudwatch-alarm-notificationsin Claude Code to confirm it loaded.

Bundled filesreferences/setup-cloudwatch-alarm-notifications.md

Details

From the project README

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.

Comments

Markdown supported