https://github.com/tosh2230/aws-chatpost
Send events to Google Chat webhook URL on changing AWS Step Functions execution status
https://github.com/tosh2230/aws-chatpost
aws-lambda aws-sam cloudwatch-events google-chat
Last synced: 8 months ago
JSON representation
Send events to Google Chat webhook URL on changing AWS Step Functions execution status
- Host: GitHub
- URL: https://github.com/tosh2230/aws-chatpost
- Owner: tosh2230
- License: mit
- Created: 2020-08-15T04:21:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-21T13:30:47.000Z (over 5 years ago)
- Last Synced: 2025-03-14T08:09:09.388Z (about 1 year ago)
- Topics: aws-lambda, aws-sam, cloudwatch-events, google-chat
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aws-chatpost
aws-chatpost sends events to Google Chat webhook URL on changing AWS Step Functions Execution Status.
## Description
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.
## Install
This app is created to be deployed by AWS SAM(Serverless Application Model).
To install the AWS SAM CLI, see following pages.
[Installing the AWS SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html)
```bash
git clone https://github.com/tosh223/aws-chatpost.git
cd ./aws-chatpost
```
## Usage
Please set following configurations to ```template.yaml```.
- Google Chat Webhook URL
- Image URL
- Your stetemachine Arn
```bash
sam build
sam deploy --guided
```