AWS CloudFormation
User Guide (Version )

AWS::SES::ReceiptRule BounceAction

When included in a receipt rule, this action rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).

For information about sending a bounce message in response to a received email, see the Amazon SES Developer Guide.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Message" : String, "Sender" : String, "SmtpReplyCode" : String, "StatusCode" : String, "TopicArn" : String }

YAML

Message: String Sender: String SmtpReplyCode: String StatusCode: String TopicArn: String

Properties

Message

Human-readable text to include in the bounce message.

Required: Yes

Type: String

Update requires: No interruption

Sender

The email address of the sender of the bounced email. This is the address that the bounce message is sent from.

Required: Yes

Type: String

Update requires: No interruption

SmtpReplyCode

The SMTP reply code, as defined by RFC 5321.

Required: Yes

Type: String

Update requires: No interruption

StatusCode

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

Required: No

Type: String

Update requires: No interruption

TopicArn

The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

Required: No

Type: String

Update requires: No interruption

On this page: