niomsociety.blogg.se

Amazon connect slack
Amazon connect slack









amazon connect slack

Sign in to the AWS Management Console and open the AWS Chatbot console

amazon connect slack

It could be the Lamda Function, Step Function, CloudWatch Alarm, or any other notification. By using this stack you can send anything to the Slack channel. I will show you a Terraform Module which helps you to create a slack notification channel using AWS Chatbot and SNS topic. If yes then mate do I have a treat for you. AWSLambdaBasicExecutionRole (created with the lambda)Īs the last step we need to finish with the SQS configuration.Have you ever wanted to get slack alerts from your AWS services.Therefore, we deployed the Lambda Function as a Zip file following the instructions: įinally we need to add some permission policies to the Lambda Function Role: 'body': json.dumps('Code Run Succesfully')īecause this function uses the requests library, it needs to be in the deployment package. You can check the AWS Step Functions API Documentation: Įxample response from the API: CodeMirror Read-only Highlighting Example Step Functions Diagram Lambda Function: GetSFHistory Get Step Functions Logįirst, we need to get detailed information of the Step Functions execution, for that we used the API GetExecutionHistory. Create Slack Hook and Lambda function SendSlackMessage.Create SQS Queue and Lambda function GetSFHistory.“SendSlackMessage” sends the final message to Slack.SQS runs the lambda function “SendSlackMessage”.“GetSFHistory” gets the Step Functions execution log, builds a slack message and sends it to SQS.EventBridge Rule triggers the lambda function “GetSFHistory”.The Step Functions execute on a daily basis.Our solution sends a Slack notification with the details of each step, the start and end time of the whole process, and the URL for the logs. We were in need to build a notification system that is able to send the Step Functions execution result, right after execution.

amazon connect slack

Send your AWS Step Functions execution result to Slack:











Amazon connect slack