S3ActionConfig Struct
S3Action configuration.
| Source | aws-ses/lib/receipt-rule-action.ts |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ses as ses } from 'aws-cdk-lib';
const s3ActionConfig: ses.S3ActionConfig = {
bucketName: 'bucketName',
// the properties below are optional
kmsKeyArn: 'kmsKeyArn',
objectKeyPrefix: 'objectKeyPrefix',
topicArn: 'topicArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ses as ses
s3_action_config = ses.S3ActionConfig(
bucket_name="bucketName",
# the properties below are optional
kms_key_arn="kmsKeyArn",
object_key_prefix="objectKeyPrefix",
topic_arn="topicArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ses.*;
S3ActionConfig s3ActionConfig = S3ActionConfig.builder()
.bucketName("bucketName")
// the properties below are optional
.kmsKeyArn("kmsKeyArn")
.objectKeyPrefix("objectKeyPrefix")
.topicArn("topicArn")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;
var s3ActionConfig = new S3ActionConfig {
BucketName = "bucketName",
// the properties below are optional
KmsKeyArn = "kmsKeyArn",
ObjectKeyPrefix = "objectKeyPrefix",
TopicArn = "topicArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
s3ActionConfig := &S3ActionConfig{
BucketName: jsii.String("bucketName"),
// the properties below are optional
KmsKeyArn: jsii.String("kmsKeyArn"),
ObjectKeyPrefix: jsii.String("objectKeyPrefix"),
TopicArn: jsii.String("topicArn"),
}
Properties
The name of the Amazon S3 bucket that you want to send incoming mail to.
kmsKeyArnoptionalstringkms_key_arnoptionalstrkmsKeyArnoptionalStringKmsKeyArnoptionalstringKmsKeyArnoptional*string #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.
objectKeyPrefixoptionalstringobject_key_prefixoptionalstrobjectKeyPrefixoptionalStringObjectKeyPrefixoptionalstringObjectKeyPrefixoptional*string #The key prefix of the Amazon S3 bucket.
Default: No prefix.
topicArnoptionalstringtopic_arnoptionalstrtopicArnoptionalStringTopicArnoptionalstringTopicArnoptional*string #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.