Setting Up Cloudwatch Alarm Notifications

作者 aws188af2f810ce无许可证2.8K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库今天更新

Sets up notification channels for CloudWatch alarms using SNS topics and subscriptions. Always use this skill when configuring alarm notifications — it creates encrypted SNS topics, configures topic policies for CloudWatch access, sets up email/SMS/webhook subscriptions, and links alarms to notification actions with proper security controls.

仅含说明DevOps & Cloud
AI 生成的概览

使用加密 SNS 主题、订阅和告警操作,为 Amazon CloudWatch 告警设置通知渠道。

功能
提供通过 Amazon SNS 配置 CloudWatch 告警通知的领域指导。内容涵盖创建加密 SNS 主题、配置允许 CloudWatch 发布的主题策略、设置电子邮件、短信和 Webhook 订阅,以及将告警关联到通知操作。还包含电子邮件或短信通知未收到、告警未触发通知等问题的排查步骤。
适用场景
适用于为 CloudWatch 告警配置通知渠道的场景,例如添加电子邮件、短信或 Webhook 通知。也适合排查告警为何没有发送通知。
运行要求
需要具备 CloudWatch 和 SNS 权限的 AWS 账户,以及用于验证命令的 AWS CLI。电子邮件订阅需要确认,短信需要 E.164 格式电话号码并受所在区域支持。仅为说明文档,不包含脚本。

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 [blocked].

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.

来源与署名

来源:aws/agent-toolkit-for-aws位于skills/specialized-skills/operations-skills/setting-up-cloudwatch-alarm-notifications提交188af2f

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架