- Newest
- Most votes
- Most comments
There is a workaround, by using custom resources to define SNS and subscribing emails instead.
By using the Lambda function as a custom resource, you can subscribe multiple endpoints through an input parameter. You can use this Lambda function as a custom resource in any AWS CloudFormation template.
Please find it : https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/subscribe-multiple-email-endpoints-to-an-sns-topic-by-using-a-custom-resource.html
The Subscription
property of AWS::SNS::Topic
resource accepts a list of subscriptions, so you can provide multiple subscriptions here (a list of Endpoint
and Protocol
combinations).
Alternatively, you can use AWS::SNS::Subscription
resource type and then declare one for each email address that you need. This user guide contains sample template for an email endpoint https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html.
Relevant content
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
thanks for replying johna i did this but i want to add all address in online line with comma delemated without adding more endpoint