CfnCertificateAuthorityPropsMixin
- class aws_cdk.cfn_property_mixins.aws_eks.CfnCertificateAuthorityPropsMixin(props, *, strategy=None)
Bases:
MixinResource Type definition for EKS CertificateAuthority.
- See:
- CloudformationResource:
AWS::EKS::CertificateAuthority
- 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.cfn_property_mixins import aws_eks as eks import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_certificate_authority_props_mixin = eks.CfnCertificateAuthorityPropsMixin(eks.CfnCertificateAuthorityMixinProps( cluster_name="clusterName" ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::EKS::CertificateAuthority.- Parameters:
props (
Union[CfnCertificateAuthorityMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['clusterName']
Static Methods
- classmethod is_mixin(x)
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.
ScheduledEventsProperty
- class CfnCertificateAuthorityPropsMixin.ScheduledEventsProperty(*, final_auto_activation=None, first_auto_activation=None)
Bases:
objectThe scheduled auto-activation events for the certificate authority, computed from its validity window.
- Parameters:
final_auto_activation (
Optional[str]) – The deadline by which EKS will auto-activate this certificate authority (notAfter minus 45 days).first_auto_activation (
Optional[str]) – The earliest date EKS may auto-activate this certificate authority (notAfter minus 6 months).
- 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.cfn_property_mixins import aws_eks as eks scheduled_events_property = eks.CfnCertificateAuthorityPropsMixin.ScheduledEventsProperty( final_auto_activation="finalAutoActivation", first_auto_activation="firstAutoActivation" )
Attributes
- final_auto_activation
The deadline by which EKS will auto-activate this certificate authority (notAfter minus 45 days).
- first_auto_activation
The earliest date EKS may auto-activate this certificate authority (notAfter minus 6 months).
ValidityProperty
- class CfnCertificateAuthorityPropsMixin.ValidityProperty(*, not_after=None, not_before=None)
Bases:
objectThe validity period of the certificate authority.
- Parameters:
not_after (
Optional[str]) – The end of the validity period for the certificate authority.not_before (
Optional[str]) – The start of the validity period for the certificate authority.
- 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.cfn_property_mixins import aws_eks as eks validity_property = eks.CfnCertificateAuthorityPropsMixin.ValidityProperty( not_after="notAfter", not_before="notBefore" )
Attributes
- not_after
The end of the validity period for the certificate authority.
- not_before
The start of the validity period for the certificate authority.