AWSLambdaBasicExecutionRole (created with the lambda)Īs the last step we need to finish with the SQS configuration.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 Pipedreams integration platform allows you to integrate Slack and AWS remarkably fast.“SendSlackMessage” sends the final message to Slack Kubiyas AI-driven virtual assistant makes it easy to securely access and manage AWS resources, workflows and information all directly from Slack.SQS runs the lambda function “SendSlackMessage” Integrating AWS Chatbot with Slack Notifications Chennel - GitHub - noyonict/aws-chatbot-slack-channel: Integrating AWS Chatbot with Slack Notifications.“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. Send your AWS Step Functions execution result to Slack:
0 Comments
Leave a Reply. |