Designed to be the easiest way to automate custom actions on alarm state changes, the new option allows developers to invoke a Lambda function directly when a CloudWatch alarm changes to an OK, ALARM, or INSUFFICIENT_DATA state.
According to the documentation, when a Lambda function is configured as an alarm action, CloudWatch delivers a JSON payload to the Lambda function when it invokes it, including alarmData, previousState, and configuration information.
[
add
]
[
|
|
...
]