360 Secure SkillHub
360 安全技能中心

setting-up-cloudwatch-alarm-notifications

提供 Amazon CloudWatch 告警通知渠道的配置流程:创建加密 SNS 主题、配置主题策略、设置电子邮件/短信/Webhook 订阅,并把告警关联到通知动作;还包含通知接收失败、短信格式和告警未触发通知的排查步骤。

aws
热度 0.00
最近更新 2026-10-18 16:45:50
分类:自动化依赖:代码执行 / 读写文件 / 第三方 API应用场景:DevOps / 工作流 / API 集成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add aws/agent-toolkit-for-aws/setting-up-cloudwatch-alarm-notifications
Metadata
name
setting-up-cloudwatch-alarm-notifications
description
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.
version
1

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.