Interface CfnMailManagerRuleSetPropsMixin.S3ActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMailManagerRuleSetPropsMixin.S3ActionProperty.Jsii$Proxy
- Enclosing class:
CfnMailManagerRuleSetPropsMixin
@Stability(Stable)
public static interface CfnMailManagerRuleSetPropsMixin.S3ActionProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.cfnpropertymixins.services.ses.*;
S3ActionProperty s3ActionProperty = S3ActionProperty.builder()
.actionFailurePolicy("actionFailurePolicy")
.roleArn("roleArn")
.s3Bucket("s3Bucket")
.s3Prefix("s3Prefix")
.s3SseKmsKeyId("s3SseKmsKeyId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMailManagerRuleSetPropsMixin.S3ActionPropertystatic final classAn implementation forCfnMailManagerRuleSetPropsMixin.S3ActionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringA policy that states what to do in the case of failure.default StringThe Amazon Resource Name (ARN) of the IAM Role to use while writing to S3.default StringThe bucket name of the S3 bucket to write to.default StringThe S3 prefix to use for the write to the s3 bucket.default StringThe KMS Key ID to use to encrypt the message in S3.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActionFailurePolicy
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.
- See Also:
-
getRoleArn
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.
- See Also:
-
getS3Bucket
The bucket name of the S3 bucket to write to.- See Also:
-
getS3Prefix
The S3 prefix to use for the write to the s3 bucket.- See Also:
-
getS3SseKmsKeyId
The KMS Key ID to use to encrypt the message in S3.- See Also:
-
builder
-