2 Answers
- Newest
- Most votes
- Most comments
0
CodeBuild automatically provides the body of the SNS email, that can't be changed without resorting to another AWS service or magic.
To configure the name of the "from" address you need to configure the SNS topic's "Display name" from the "Edit" menu.
It's not configuring the subject or email, but it sort of does the trick.
answered 5 years ago
0
Like @CodingHorror said, it's not really possible to edit the subject and message without using another service.
You can use a lambda function to parse the event i.e. when CodeBuild builds fails and then create a customized message. These docs provide more information.
https://aws.amazon.com/premiumsupport/knowledge-center/change-sns-email-for-eventbridge/
answered 2 years ago
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago