aws-chatpost sends events to Google Chat webhook URL on changing AWS Step Functions Execution Status.
Lambda function 'chatpost' is invoked by Amazon Cloudwatch Events when targets changes the state. This function posts a card-typed messsage to Google Chat webhook URL you configured.
This app is created to be deployed by AWS SAM(Serverless Application Model).
To install the AWS SAM CLI, see following pages.
git clone https://github.com/tosh223/aws-chatpost.git
cd ./aws-chatpost
Please set following configurations to template.yaml
.
- Google Chat Webhook URL
- Image URL
- Your stetemachine Arn
sam build
sam deploy --guided