interface S3ActionConfig
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.SES.S3ActionConfig |
Java | software.amazon.awscdk.services.ses.S3ActionConfig |
Python | aws_cdk.aws_ses.S3ActionConfig |
TypeScript (source) | @aws-cdk/aws-ses » S3ActionConfig |
S3Action configuration.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ses from '@aws-cdk/aws-ses';
const s3ActionConfig: ses.S3ActionConfig = {
bucketName: 'bucketName',
// the properties below are optional
kmsKeyArn: 'kmsKeyArn',
objectKeyPrefix: 'objectKeyPrefix',
topicArn: 'topicArn',
};
Properties
Name | Type | Description |
---|---|---|
bucket | string | The name of the Amazon S3 bucket that you want to send incoming mail to. |
kms | string | The customer master key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket. |
object | string | The key prefix of the Amazon S3 bucket. |
topic | string | The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket. |
bucketName
Type:
string
The name of the Amazon S3 bucket that you want to send incoming mail to.
kmsKeyArn?
Type:
string
(optional, default: Emails are not encrypted.)
The customer master key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket.
objectKeyPrefix?
Type:
string
(optional, default: No prefix.)
The key prefix of the Amazon S3 bucket.
topicArn?
Type:
string
(optional, default: No notification is sent to SNS.)
The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket.