This post will detail how to configure AWS Chatbot to provide Slack notifications based on the error metrics of AWS Lambda functions.
What we will build at a high level is as follows:
- A simple Lambda Function
- A CloudWatch alarm to monitor errors of our Lambda Function
- An SNS Topic to receive alerts from the CloudWatch alarm and forward these alerts on
- Configure AWS Chatbot to subscribe to the SNS Topic and send alerts to Slack
- IAM permissions to tie everything together