BounceActionConfig

class aws_cdk.aws_ses.BounceActionConfig(*, message, sender, smtp_reply_code, status_code=None, topic_arn=None)

Bases: object

BoundAction configuration.

Parameters
  • message (str) – Human-readable text to include in the bounce message.

  • sender (str) – The email address of the sender of the bounced email. This is the address that the bounce message is sent from.

  • 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. Default: - No status code.

  • topic_arn (Optional[str]) – The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. Default: - No notification is sent to SNS.

Attributes

message

Human-readable text to include in the bounce message.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-bounceaction.html#cfn-ses-receiptrule-bounceaction-message

Return type

str

sender

The email address of the sender of the bounced email.

This is the address that the bounce message is sent from.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-bounceaction.html#cfn-ses-receiptrule-bounceaction-sender

Return type

str

smtp_reply_code

The SMTP reply code, as defined by RFC 5321.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-bounceaction.html#cfn-ses-receiptrule-bounceaction-smtpreplycode

Return type

str

status_code

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

Default
  • No status code.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-bounceaction.html#cfn-ses-receiptrule-bounceaction-statuscode

Return type

Optional[str]

topic_arn

The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken.

Default
  • No notification is sent to SNS.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-bounceaction.html#cfn-ses-receiptrule-bounceaction-topicarn

Return type

Optional[str]