BounceTemplateProps

class aws_cdk.aws_ses_actions.BounceTemplateProps(*, message, smtp_reply_code, status_code=None)

Bases: object

Construction properties for a BounceTemplate.

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.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ses_actions as ses_actions

bounce_template_props = ses_actions.BounceTemplateProps(
    message="message",
    smtp_reply_code="smtpReplyCode",

    # the properties below are optional
    status_code="statusCode"
)

Attributes

message

Human-readable text to include in the bounce message.

smtp_reply_code

The SMTP reply code, as defined by RFC 5321.

See:

https://tools.ietf.org/html/rfc5321

status_code

The SMTP enhanced status code, as defined by RFC 3463.

See:

https://tools.ietf.org/html/rfc3463