Interface CfnMailManagerRuleSet.IS3ActionProperty
Writes the MIME content of the email to an S3 bucket.
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnMailManagerRuleSet.IS3ActionProperty
Syntax (vb)
Public Interface CfnMailManagerRuleSet.IS3ActionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 s3ActionProperty = new S3ActionProperty {
RoleArn = "roleArn",
S3Bucket = "s3Bucket",
// the properties below are optional
ActionFailurePolicy = "actionFailurePolicy",
S3Prefix = "s3Prefix",
S3SseKmsKeyId = "s3SseKmsKeyId"
};
Synopsis
Properties
ActionFailurePolicy | A policy that states what to do in the case of failure. |
RoleArn | The Amazon Resource Name (ARN) of the IAM Role to use while writing to S3. |
S3Bucket | The bucket name of the S3 bucket to write to. |
S3Prefix | The S3 prefix to use for the write to the s3 bucket. |
S3SseKmsKeyId | The KMS Key ID to use to encrypt the message in S3. |
Properties
ActionFailurePolicy
A policy that states what to do in the case of failure.
string? ActionFailurePolicy { get; }
Property Value
Remarks
The action will fail if there are configuration errors. For example, the specified the bucket has been deleted.
RoleArn
The Amazon Resource Name (ARN) of the IAM Role to use while writing to S3.
string RoleArn { get; }
Property Value
Remarks
This role must have access to the s3:PutObject, kms:Encrypt, and kms:GenerateDataKey APIs for the given bucket.
S3Bucket
The bucket name of the S3 bucket to write to.
string S3Bucket { get; }
Property Value
Remarks
S3Prefix
The S3 prefix to use for the write to the s3 bucket.
string? S3Prefix { get; }
Property Value
Remarks
S3SseKmsKeyId
The KMS Key ID to use to encrypt the message in S3.
string? S3SseKmsKeyId { get; }