This is the new AWS 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 S3Action
Writes the MIME content of the email to an S3 bucket.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "ActionFailurePolicy" :String, "RoleArn" :String, "S3Bucket" :String, "S3Prefix" :String, "S3SseKmsKeyId" :String}
YAML
ActionFailurePolicy:StringRoleArn:StringS3Bucket:StringS3Prefix:StringS3SseKmsKeyId: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 specified the bucket has been deleted.
Required: No
Type: String
Allowed values:
CONTINUE | DROPUpdate requires: No interruption
RoleArn-
The Amazon Resource Name (ARN) of the IAM Role to use while writing to S3. This role must have access to the s3:PutObject, kms:Encrypt, and kms:GenerateDataKey APIs for the given bucket.
Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9:_/+=,@.#-]+$Minimum:
20Maximum:
2048Update requires: No interruption
S3Bucket-
The bucket name of the S3 bucket to write to.
Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9.-]+$Minimum:
1Maximum:
62Update requires: No interruption
S3Prefix-
The S3 prefix to use for the write to the s3 bucket.
Required: No
Type: String
Pattern:
^[a-zA-Z0-9!_.*'()/-]+$Minimum:
1Maximum:
62Update requires: No interruption
S3SseKmsKeyId-
The KMS Key ID to use to encrypt the message in S3.
Required: No
Type: String
Pattern:
^[a-zA-Z0-9-:/]+$Minimum:
20Maximum:
2048Update requires: No interruption