CfnAccountPropsMixin
- class aws_cdk.mixins_preview.aws_certificatemanager.mixins.CfnAccountPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::CertificateManager::Accountresource defines the expiry event configuration that determines the number of days prior to expiry when ACM starts generating EventBridge events.- See:
- 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:
- 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
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
ExpiryEventsConfigurationProperty
- class CfnAccountPropsMixin.ExpiryEventsConfigurationProperty(*, days_before_expiry=None)
Bases:
objectObject 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 generatingEventBridgeevents. ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration.- 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_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
EventBridgeevents.ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration.