Posted On: Nov 25, 2019
AWS Chatbot now supports running AWS commands and actions from Slack. You can retrieve diagnostic information, invoke Lambda functions and create AWS Support cases right from your Slack channels, so your team can collaborate and respond to events faster. AWS Chatbot supports commands using the already familiar AWS Command Line Interface syntax that you can use from Slack on desktop or mobile devices. In addition to running commands, you can also retrieve Amazon CloudWatch logs by simply clicking the “Show logs” button on CloudWatch Alarms notifications in Slack. AWS Chatbot supports actions for displaying logs for AWS Lambda and Amazon API Gateway.
To get started with commands, configure AWS Chatbot with Slack in the AWS Chatbot console using one of the predefined IAM policy templates and type “@aws help“ in the Slack channel. If you already use AWS Chatbot for sending notifications to Slack, you will need to create a new IAM role or update the existing one with additional permissions to enable running commands.