Show / Hide Table of Contents

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-s3action.html

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

string

Remarks

The action will fail if there are configuration errors. For example, the specified the bucket has been deleted.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-s3action.html#cfn-ses-mailmanagerruleset-s3action-actionfailurepolicy

RoleArn

The Amazon Resource Name (ARN) of the IAM Role to use while writing to S3.

string RoleArn { get; }
Property Value

string

Remarks

This role must have access to the s3:PutObject, kms:Encrypt, and kms:GenerateDataKey APIs for the given bucket.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-s3action.html#cfn-ses-mailmanagerruleset-s3action-rolearn

S3Bucket

The bucket name of the S3 bucket to write to.

string S3Bucket { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-s3action.html#cfn-ses-mailmanagerruleset-s3action-s3bucket

S3Prefix

The S3 prefix to use for the write to the s3 bucket.

string? S3Prefix { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-s3action.html#cfn-ses-mailmanagerruleset-s3action-s3prefix

S3SseKmsKeyId

The KMS Key ID to use to encrypt the message in S3.

string? S3SseKmsKeyId { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-s3action.html#cfn-ses-mailmanagerruleset-s3action-s3ssekmskeyid

Back to top Generated by DocFX