S3ActionConfig

class aws_cdk.aws_ses.S3ActionConfig(*, bucket_name, kms_key_arn=None, object_key_prefix=None, topic_arn=None)

Bases: object

S3Action configuration.

Parameters
  • bucket_name (str) – The name of the Amazon S3 bucket that you want to send incoming mail to.

  • kms_key_arn (Optional[str]) – The customer master key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket. Default: - Emails are not encrypted.

  • object_key_prefix (Optional[str]) – The key prefix of the Amazon S3 bucket. Default: - No prefix.

  • topic_arn (Optional[str]) – The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket. Default: - No notification is sent to SNS.

Attributes

bucket_name

The name of the Amazon S3 bucket that you want to send incoming mail to.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-bucketname

Return type

str

kms_key_arn

The customer master key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket.

Default
  • Emails are not encrypted.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-kmskeyarn

Return type

Optional[str]

object_key_prefix

The key prefix of the Amazon S3 bucket.

Default
  • No prefix.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-objectkeyprefix

Return type

Optional[str]

topic_arn

The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket.

Default
  • No notification is sent to SNS.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-topicarn

Return type

Optional[str]