In this lab you will build a chat bot for Slack, using a Lambda blueprint. Chat bots have the ability to interact with teams and users, respond to commands, and post notifications, giving all conversation participants visibility into team activities. You will build a bot that posts CloudWatch alarms to your Slack channel. Prerequisites: To successfully complete this lab, you should be familiar with AWS Lambda and Amazon CloudWatch through taking the introductory labs. You will need to have or create an account with the online service Slack to complete this lab-- instructions are provided. Familiarity with Slack is helpful, though not required.
Level
Fundamental
Duration
1 Hours 0 MinutesCourse Objectives
In this course, you will learn how to:
- Create a Slack chat bot using a Lambda blueprint
- Configure the bot with a Slack webhook to post messages to a Slack channel
Intended Audience
This course is intended for:
- Architects
- Developers
Prerequisites
We recommend that attendees of this course have the following prerequisites:
- Familiar with AWS Lambda and Amazon CloudWatch
- Familiarity with Slack is helpful, though not required
Course Outline
- Task 1: Create Your Slack Account
- Task 2: Configure Incoming WebHooks For Slack
- Task 3: Create and Subscribe to an SNS Topic
- Task 4: Create a Lambda Function
- Task 5: Test your Lambda function
- Task 6: Create a CloudWatch Alarm
- Task 7: Test your chat bot