https://github.com/telia-oss/aws-notify-slack
A lambda function to format and forward AWS cloudwatch event to slack channel
https://github.com/telia-oss/aws-notify-slack
aws cloudwatch lambda slack sns
Last synced: about 1 year ago
JSON representation
A lambda function to format and forward AWS cloudwatch event to slack channel
- Host: GitHub
- URL: https://github.com/telia-oss/aws-notify-slack
- Owner: telia-oss
- License: mit
- Created: 2018-08-29T12:24:51.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-05-05T12:13:40.000Z (about 4 years ago)
- Last Synced: 2025-03-22T19:12:14.826Z (over 1 year ago)
- Topics: aws, cloudwatch, lambda, slack, sns
- Language: Go
- Homepage:
- Size: 155 KB
- Stars: 4
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS-Notify-Slack
[](https://travis-ci.org/telia-oss/aws-notify-slack) 
A lambda function that format and forward a AWS cloudwatch event to slack


## Supported event types
- [x] CloudWatch
- [x] ECS Task State Change
- [ ] Autoscaling
## Run unit tests
$ make test
## Build binary
$ make build
## Run function using sam local with snsEvent payload
$ make run
## Environment Variables
| Name | Required | Type | Description |
| ------------- | ------------- | ------------- | -------------- |
| SLACK_HOOK | Yes | String | Slack hook url |
| USERNAME | No | String | Slack username |
| ICON | No | String | Slack icon |
## Terraform
The Terraform module for this lambda can be found [here](https://github.com/telia-oss/terraform-aws-lambda-slack)
## Authors
Currently maintained by [these contributors](../../graphs/contributors).
## License
MIT License. See [LICENSE](LICENSE) for full details.