CfnMailManagerArchivePropsMixin
- class aws_cdk.mixins_preview.aws_ses.mixins.CfnMailManagerArchivePropsMixin(props, *, strategy=None)
Bases:
MixinCreates a new email archive resource for storing and retaining emails.
- See:
- 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:
props (
Union[CfnMailManagerArchiveMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
ArchiveRetentionProperty
- class CfnMailManagerArchivePropsMixin.ArchiveRetentionProperty(*, retention_period=None)
Bases:
objectThe 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:
- 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.