AWS::SES::MailManagerRuleSet BounceAction - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::SES::MailManagerRuleSet BounceAction

The action to send a bounce response for the email. When executed, this action generates a non-delivery report (bounce) back to the sender.

Syntax

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

JSON

{ "ActionFailurePolicy" : String, "DiagnosticMessage" : String, "Message" : String, "RoleArn" : String, "Sender" : String, "SmtpReplyCode" : String, "StatusCode" : String }

YAML

ActionFailurePolicy: String DiagnosticMessage: String Message: String RoleArn: String Sender: String SmtpReplyCode: String StatusCode: String

Properties

ActionFailurePolicy

A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the caller does not have the permissions to call the SendBounce API.

Required: No

Type: String

Allowed values: CONTINUE | DROP

Update requires: No interruption

DiagnosticMessage

The diagnostic message included in the Diagnostic-Code header of the bounce.

Required: Yes

Type: String

Pattern: ^[\x20-\x7e]+$

Minimum: 1

Maximum: 256

Update requires: No interruption

Message

The human-readable text to include in the bounce message.

Required: No

Type: String

Pattern: ^[\r\n\x20-\x7e]+$

Minimum: 1

Maximum: 500

Update requires: No interruption

RoleArn

The Amazon Resource Name (ARN) of the IAM role to use to send the bounce message.

Required: Yes

Type: String

Pattern: ^[a-zA-Z0-9:_/+=,@.#-]+$

Minimum: 20

Maximum: 2048

Update requires: No interruption

Sender

The sender email address of the bounce message.

Required: Yes

Type: String

Pattern: ^[0-9A-Za-z@+.-]+$

Minimum: 0

Maximum: 254

Update requires: No interruption

SmtpReplyCode

The SMTP reply code for the bounce, as defined by RFC 5321.

Required: Yes

Type: String

Pattern: ^[45][0-9][0-9]$

Minimum: 3

Maximum: 3

Update requires: No interruption

StatusCode

The enhanced status code for the bounce, in the format of x.y.z (e.g. 5.1.1).

Required: Yes

Type: String

Pattern: ^[45]\.[0-9]{1,3}\.[0-9]{1,3}$

Minimum: 5

Maximum: 9

Update requires: No interruption