Creates or updates an alarm and associates it with the specified Amazon CloudWatch metric. Optionally, this operation can associate one or more Amazon Simple Notification Service resources with the alarm.
When this operation creates an alarm, the alarm state is immediately set to INSUFFICIENT_DATA
. The alarm is evaluated and its StateValue
is set appropriately. Any actions associated with the StateValue
is then executed.
NOTE: When updating an existing alarm, its StateValue is left unchanged.