assertible/lambda-cloudwatch-slack

Improve notification title

creichert opened this issue · 3 comments

It would be nice if the title of the slack message were a little more descriptive.

For example,

elasticache1

The message title is:

AWS Elastic Beanstalk Notification

but could be improved to be:

Elastic Beanstalk Environment retsd-staging-1 health is Degraded

or something similar

Has this change already been implemented?

@smith-quinn not yet! Definitely something I'd like to see too, especially for getting Slack notifications on mobile devices.

If you (or anyone else) wants to take a stab at it, it's the subject variables (like these) that can be enhanced.

Instead of using a static subject name. I am using message.AlarmName itself as subject name.
aws-to-slack