CfnMailManagerArchivePropsMixin

class aws_cdk.mixins_preview.aws_ses.mixins.CfnMailManagerArchivePropsMixin(props, *, strategy=None)

Bases: Mixin

Creates a new email archive resource for storing and retaining emails.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagerarchive.html

CloudformationResource:

AWS::SES::MailManagerArchive

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_ses import mixins as ses_mixins

cfn_mail_manager_archive_props_mixin = ses_mixins.CfnMailManagerArchivePropsMixin(ses_mixins.CfnMailManagerArchiveMixinProps(
    archive_name="archiveName",
    kms_key_arn="kmsKeyArn",
    retention=ses_mixins.CfnMailManagerArchivePropsMixin.ArchiveRetentionProperty(
        retention_period="retentionPeriod"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::SES::MailManagerArchive.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['archiveName', 'kmsKeyArn', 'retention', 'tags']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

ArchiveRetentionProperty

class CfnMailManagerArchivePropsMixin.ArchiveRetentionProperty(*, retention_period=None)

Bases: object

The retention policy for an email archive that specifies how long emails are kept before being automatically deleted.

Parameters:

retention_period (Optional[str]) – The enum value sets the period for retaining emails in an archive.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerarchive-archiveretention.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ses import mixins as ses_mixins

archive_retention_property = ses_mixins.CfnMailManagerArchivePropsMixin.ArchiveRetentionProperty(
    retention_period="retentionPeriod"
)

Attributes

retention_period

The enum value sets the period for retaining emails in an archive.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerarchive-archiveretention.html#cfn-ses-mailmanagerarchive-archiveretention-retentionperiod