AWS-CDK based solution for passing various AWS CloudWatch Events to your email or Slack channel
AWS-CDK based solution for passing various AWS CloudWatch Events to your email or Slack channel.
npm install
npm run build
compile typescript to jsnpm run watch
watch for changes and compilecdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation templateCloud Observer is fully configurable using config.json
file.
Each entry inside main array translates to separate SNS topic subscribed to events defined inside sources
array and passing them to channels defined in destinations
array.
[
{
"sources": [
{
"type": "ecsTaskStateChange" // one of ecsTaskStateChange, <TO BE ADDED...>
}
],
"destinations": [
{
"type": "slack", // slack or email
"endpoint": "https://hooks.slack.com/services/xxx/yyy/zzz" // webhook url when slack, email address when dealing with email
}
]
}
]
Following configuration will pass all the ECS task state events to the slack channel specified inside destinations.endpoint
field.
As this software is in heavy development stage, configuration structure is very likely to change.
👤 Rafal Wilinski
Contributions, issues and feature requests are welcome!Feel free to check issues page.
Give a ⭐️ if this project helped you!
Copyright © 2019 RafalWilinski.