SuppressionReasons

class aws_cdk.aws_ses.SuppressionReasons(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

Reasons for which recipient email addresses should be automatically added to your account’s suppression list.

ExampleMetadata:

infused

Example:

# Only bounces will be suppressed.
ses.ConfigurationSet(self, "ConfigurationSet",
    suppression_reasons=ses.SuppressionReasons.BOUNCES_ONLY
)

# Only complaints will be suppressed.
ses.ConfigurationSet(self, "ConfigurationSet",
    suppression_reasons=ses.SuppressionReasons.COMPLAINTS_ONLY
)

# Both bounces and complaints will be suppressed.
ses.ConfigurationSet(self, "ConfigurationSet",
    suppression_reasons=ses.SuppressionReasons.BOUNCES_AND_COMPLAINTS
)

Attributes

BOUNCES_AND_COMPLAINTS

Bounces and complaints.

BOUNCES_ONLY

Bounces only.

COMPLAINTS_ONLY

Complaints only.