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 從公開儲存庫中收錄這些內容。

檢舉或申請下架