ses: allow ConfigurationSet to disable suppression list #32149
Labels
@aws-cdk/aws-ses
Related to Amazon Simple Email Service
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
ConfigurationSet have a option to override suppression list settings.
AWS console allows us to disable suppression list:
But
ConfigurationSet
L2 construct only allows to specify one or more supression reasons.CloudFormation supports to disable suppression list by specifying
SuppressionOptions.SuppressionReasons
resource property to[]
(empty array).Use Case
Disabling suppression list allows us to send an e-mail to already suppressed (in account-level suppression list) destinations.
This behavior is useful to send verification code to verify whether an e-mail address is reachable.
Proposed Solution
Introduce
disableSuppressionList
property.Usage:
Other Information
AWS Documentation: Using configuration set-level suppression to override your account-level suppression list
https://docs.aws.amazon.com/ses/latest/dg/sending-email-suppression-list-config-level.html
Escape hatch available:
Acknowledgements
CDK version used
2.166.0
Environment details (OS name and version, etc.)
Linux
The text was updated successfully, but these errors were encountered: