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:StringDiagnosticMessage:StringMessage:StringRoleArn:StringSender:StringSmtpReplyCode:StringStatusCode: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 | DROPUpdate requires: No interruption
DiagnosticMessage-
The diagnostic message included in the Diagnostic-Code header of the bounce.
Required: Yes
Type: String
Pattern:
^[\x20-\x7e]+$Minimum:
1Maximum:
256Update requires: No interruption
Message-
The human-readable text to include in the bounce message.
Required: No
Type: String
Pattern:
^[\r\n\x20-\x7e]+$Minimum:
1Maximum:
500Update 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:
20Maximum:
2048Update requires: No interruption
Sender-
The sender email address of the bounce message.
Required: Yes
Type: String
Pattern:
^[0-9A-Za-z@+.-]+$Minimum:
0Maximum:
254Update 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:
3Maximum:
3Update 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:
5Maximum:
9Update requires: No interruption