BounceTemplate
- class aws_cdk.aws_ses_actions.BounceTemplate(*, message, smtp_reply_code, status_code=None)
Bases:
object
A bounce template.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_ses_actions as ses_actions bounce_template = ses_actions.BounceTemplate.MAILBOX_DOES_NOT_EXIST
- Parameters:
message (
str
) – Human-readable text to include in the bounce message.smtp_reply_code (
str
) – The SMTP reply code, as defined by RFC 5321.status_code (
Optional
[str
]) – The SMTP enhanced status code, as defined by RFC 3463.
Attributes
- MAILBOX_DOES_NOT_EXIST = <aws_cdk.aws_ses_actions.BounceTemplate object>
- MAILBOX_FULL = <aws_cdk.aws_ses_actions.BounceTemplate object>
- MESSAGE_CONTENT_REJECTED = <aws_cdk.aws_ses_actions.BounceTemplate object>
- MESSAGE_TOO_LARGE = <aws_cdk.aws_ses_actions.BounceTemplate object>
- TEMPORARY_FAILURE = <aws_cdk.aws_ses_actions.BounceTemplate object>
- props