CloudwatchAlarm -> SNS -> Lambda
Receive alarm messages via SNS Topic and notify to Slack.
When the function receive ALARM, it will send the below message
*:exclamation:ALARM: <AlarmDescription>*
<AlarmName>
<NewStateReason> @<StateChangeTime>
In the case of OK, it will send the below message only when the old state is ALARM
*:white_check_mark:OK: <AlarmDescription>*
<AlarmName>
<NewStateReason> @<StateChangeTime>
$ make build
$ make deploy function=<function-name> profile=<profile> region=<region>
SLACK_URL