CfnAccountPropsMixin

class aws_cdk.mixins_preview.aws_certificatemanager.mixins.CfnAccountPropsMixin(props, *, strategy=None)

Bases: Mixin

The AWS::CertificateManager::Account resource defines the expiry event configuration that determines the number of days prior to expiry when ACM starts generating EventBridge events.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-account.html

CloudformationResource:

AWS::CertificateManager::Account

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_certificatemanager import mixins as certificatemanager_mixins

cfn_account_props_mixin = certificatemanager_mixins.CfnAccountPropsMixin(certificatemanager_mixins.CfnAccountMixinProps(
    expiry_events_configuration=certificatemanager_mixins.CfnAccountPropsMixin.ExpiryEventsConfigurationProperty(
        days_before_expiry=123
    )
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::CertificateManager::Account.

Parameters:
  • props (Union[CfnAccountMixinProps, 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:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['expiryEventsConfiguration']

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

ExpiryEventsConfigurationProperty

class CfnAccountPropsMixin.ExpiryEventsConfigurationProperty(*, days_before_expiry=None)

Bases: object

Object containing expiration events options associated with an AWS account .

For more information, see ExpiryEventsConfiguration in the API reference.

Parameters:

days_before_expiry (Union[int, float, None]) – This option specifies the number of days prior to certificate expiration when ACM starts generating EventBridge events. ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-account-expiryeventsconfiguration.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_certificatemanager import mixins as certificatemanager_mixins

expiry_events_configuration_property = certificatemanager_mixins.CfnAccountPropsMixin.ExpiryEventsConfigurationProperty(
    days_before_expiry=123
)

Attributes

days_before_expiry

This option specifies the number of days prior to certificate expiration when ACM starts generating EventBridge events.

ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-account-expiryeventsconfiguration.html#cfn-certificatemanager-account-expiryeventsconfiguration-daysbeforeexpiry