- Newest
- Most votes
- Most comments
I hope you'd have already gone through this re:Post Knowledge Center Article, which explains very well in detail about how to get customized email notifications via eventbridge-sns.
If not, please take a look and see if it helps.
Do you see SNS as target in your lambda function, if you see that, I'd suggest you to remove that SNS from your lambda target and test it again.
Comment here if you have additional questions, happy to help.
Abhishek
I have checked already the article you provided. It's not like that I am not able to configure customized email, but I am getting Lambda invocation event content as well in separate email which I don't want to get.
My question was how to stop getting invocation content email. Request you to check my above python code and outputs as well. :) @secondabhi_aws
Do you see SNS as target in your lambda function, if you see that, I'd suggest you to remove that SNS from your lambda target and test it again. Comment here, how it goes. Happy to help.
Yes now it worked after removing sns from target. Also I got the root cause. I have mentioned sns arn in the script for which I am getting customized email. And as SNS is configured as a target, hence lambda event is being sent to sns directly. Thank you so much for your help :)
Relevant content
- asked 2 months ago
- asked a year ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 3 months ago
Do you see SNS as target in your lambda function, if you see that, I'd suggest you to remove that SNS from your lambda target and test it again. Comment here, how it goes. Happy to help.