Currently we have set up AWS Chatbot integration for Slack to receive notifications about CodePipeline - results of CodeBuilds and status of all stages of CodePipeline. I have noticed that the out of the box integration's messages aren't as descriptive as I would like.
For example: if a build fails due to a failed unit test the Chatbot will output POST_BUILD: COMMAND_EXECUTION_ERROR: Error while executing command: <command>. Reason: exit status 1
which is fine but I would much rather change that message to be something more descriptive - to tell me that a test has failed.
I figured that Chatbot is subscribed to SNS topics and once those are sent out it will post a message on Slack. Is there a way to customize the contents of the messages it sends?