CloudWatch Alarm
Amazon CloudWatch Alarms are used to monitor metrics and automatically send notifications or execute actions based on predefined thresholds. This cloud resource allows you to keep track of the operational health and performance of your applications by setting alarms on metrics such as CPU usage, disk I/O, and more. You can configure the alarm to initiate actions such as sending an email, running a script, or shutting down an instance when a metric behaves outside of the expected range. For more detailed information, please refer to the official Amazon CloudWatch Alarms documentation.
Terraform Mappings:
aws_cloudwatch_metric_alarm.alarm_name
Supported Methods​
GET
: Get an alarm by nameLIST
: List all alarmsSEARCH
: Search for alarms. This accepts JSON in the format ofcloudwatch.DescribeAlarmsForMetricInput