S3Action - Amazon SES Mail Manager API

S3Action

Writes the MIME content of the email to an S3 bucket.

Contents

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.

Type: String

Length Constraints: Minimum length of 20. Maximum length of 2048.

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

Required: Yes

S3Bucket

The bucket name of the S3 bucket to write to.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 62.

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

Required: Yes

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.

Type: String

Valid Values: CONTINUE | DROP

Required: No

S3Prefix

The S3 prefix to use for the write to the s3 bucket.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 62.

Pattern: ^[a-zA-Z0-9!_.*'()/-]+$

Required: No

S3SseKmsKeyId

The KMS Key ID to use to encrypt the message in S3.

Type: String

Length Constraints: Minimum length of 20. Maximum length of 2048.

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

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: