interface S3ActionProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.SES.CfnMailManagerRuleSet.S3ActionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsses#CfnMailManagerRuleSet_S3ActionProperty |
Java | software.amazon.awscdk.services.ses.CfnMailManagerRuleSet.S3ActionProperty |
Python | aws_cdk.aws_ses.CfnMailManagerRuleSet.S3ActionProperty |
TypeScript | aws-cdk-lib » aws_ses » CfnMailManagerRuleSet » S3ActionProperty |
Writes the MIME content of the email to an S3 bucket.
Example
// 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 s3ActionProperty: ses.CfnMailManagerRuleSet.S3ActionProperty = {
roleArn: 'roleArn',
s3Bucket: 's3Bucket',
// the properties below are optional
actionFailurePolicy: 'actionFailurePolicy',
s3Prefix: 's3Prefix',
s3SseKmsKeyId: 's3SseKmsKeyId',
};
Properties
Name | Type | Description |
---|---|---|
role | string | The Amazon Resource Name (ARN) of the IAM Role to use while writing to S3. |
s3 | string | The bucket name of the S3 bucket to write to. |
action | string | A policy that states what to do in the case of failure. |
s3 | string | The S3 prefix to use for the write to the s3 bucket. |
s3 | string | The KMS Key ID to use to encrypt the message in S3. |
roleArn
Type:
string
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.
s3Bucket
Type:
string
The bucket name of the S3 bucket to write to.
actionFailurePolicy?
Type:
string
(optional)
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.
s3Prefix?
Type:
string
(optional)
The S3 prefix to use for the write to the s3 bucket.
s3SseKmsKeyId?
Type:
string
(optional)
The KMS Key ID to use to encrypt the message in S3.