enum SuppressionReasons
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SES.SuppressionReasons |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsses#SuppressionReasons |
![]() | software.amazon.awscdk.services.ses.SuppressionReasons |
![]() | aws_cdk.aws_ses.SuppressionReasons |
![]() | aws-cdk-lib » aws_ses » SuppressionReasons |
Reasons for which recipient email addresses should be automatically added to your account's suppression list.
Example
// Only bounces will be suppressed.
new ses.ConfigurationSet(this, 'ConfigurationSet', {
suppressionReasons: ses.SuppressionReasons.BOUNCES_ONLY,
});
// Only complaints will be suppressed.
new ses.ConfigurationSet(this, 'ConfigurationSet', {
suppressionReasons: ses.SuppressionReasons.COMPLAINTS_ONLY,
});
// Both bounces and complaints will be suppressed.
new ses.ConfigurationSet(this, 'ConfigurationSet', {
suppressionReasons: ses.SuppressionReasons.BOUNCES_AND_COMPLAINTS,
});
Members
Name | Description |
---|---|
BOUNCES_AND_COMPLAINTS | Bounces and complaints. |
BOUNCES_ONLY | Bounces only. |
COMPLAINTS_ONLY | Complaints only. |
BOUNCES_AND_COMPLAINTS
Bounces and complaints.
BOUNCES_ONLY
Bounces only.
COMPLAINTS_ONLY
Complaints only.