Email Subject for Email Customized for SNS Topic Email Endpoint without using Lambda

0

Have a business use case to be implemented without Lambda where a Email notification is sent to the subscribers of the SNS Topic with Customized Subject & Email Body when Code is pushed into the AWS CodeCommit repo.

Scenario 1... For sending the notification solution, the AWS CodeCommit - Notify (Alert) - Manage Notifications - used where the end email recd. via Target SNS topic is HARD CORDED Email Subject & Email Body with details that couldn't be customized. Sample Email Subject: UPDATE: AWS CodeCommit ap-south-1 push: repository_name Sample Email body: Hello, The following repository in AWS CodeCommit has changed: <repository_name>. The repository was changed by the IAM user: username Branches: <branch_name>. The problem is with this soluton is, not able to customize either the subject or the Email Body.

Scenario 2... For sending the notification solution, the AWS EventBridge - Rule - used with input transformer where the end email recd. via linked Target SNS topic. The Email Subject was Hard CODED as AWS Notification Message & Email Body got Fully Customized. Can can any one help what are workarounds that I can customize the Subject using EventBridge input transformation.

NOTE: THE USE OF LAMBDA IS RESTRICTED TO IMPLEMENT THE REQUIREMENT

1개 답변
0

Hello,

Unfortunately, the workaround in both the scenarios would be introducing a proxy Lambda function which manually adds a subject. As of this moment, the ability to add/modify notifications sent from services via SNS does not exist, although its a popular feature request. You can keep an eye on the AWS What's New page and the Amazon SNS blog, as all new feature requests and enhancements are posted there.

 - AWS blogs: https://blogs.amazon.com/
 - What's New: https://aws.amazon.com/new/
 - AWS Release Notes: https://aws.amazon.com/releasenotes/
 - AWS Compute Blog: Amazon SNS - https://aws.amazon.com/blogs/compute/tag/amazon-sns/
AWS
지원 엔지니어
Rajil_P
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠