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.
Source:: Amazon AWS