AWS::SES::MailManagerRuleSet S3Action - AWS CloudFormation

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: String RoleArn: String S3Bucket: String S3Prefix: String S3SseKmsKeyId: 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 | DROP

Update 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: 20

Maximum: 2048

Update requires: No interruption

S3Bucket

The bucket name of the S3 bucket to write to.

Required: Yes

Type: String

Pattern: ^[a-zA-Z0-9.-]+$

Minimum: 1

Maximum: 62

Update 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: 1

Maximum: 62

Update 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: 20

Maximum: 2048

Update requires: No interruption