Show / Hide Table of Contents

Class CfnMailManagerRuleSet.S3ActionProperty

Writes the MIME content of the email to an S3 bucket.

Inheritance
object
CfnMailManagerRuleSet.S3ActionProperty
Implements
CfnMailManagerRuleSet.IS3ActionProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMailManagerRuleSet.S3ActionProperty : CfnMailManagerRuleSet.IS3ActionProperty
Syntax (vb)
Public Class CfnMailManagerRuleSet.S3ActionProperty Implements 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

Constructors

S3ActionProperty()

Writes the MIME content of the email to an S3 bucket.

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.

Constructors

S3ActionProperty()

Writes the MIME content of the email to an S3 bucket.

public S3ActionProperty()
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"
             };

Properties

ActionFailurePolicy

A policy that states what to do in the case of failure.

public string? ActionFailurePolicy { get; set; }
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.

public string RoleArn { get; set; }
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.

public string S3Bucket { get; set; }
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.

public string? S3Prefix { get; set; }
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.

public string? S3SseKmsKeyId { get; set; }
Property Value

string

Remarks

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

Implements

CfnMailManagerRuleSet.IS3ActionProperty
Back to top Generated by DocFX