CfnCertificateAuthorityPropsMixin

class aws_cdk.cfn_property_mixins.aws_eks.CfnCertificateAuthorityPropsMixin(props, *, strategy=None)

Bases: Mixin

Resource Type definition for EKS CertificateAuthority.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-certificateauthority.html

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:

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 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.

ScheduledEventsProperty

class CfnCertificateAuthorityPropsMixin.ScheduledEventsProperty(*, final_auto_activation=None, first_auto_activation=None)

Bases: object

The 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-certificateauthority-scheduledevents.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.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).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-certificateauthority-scheduledevents.html#cfn-eks-certificateauthority-scheduledevents-finalautoactivation

first_auto_activation

The earliest date EKS may auto-activate this certificate authority (notAfter minus 6 months).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-certificateauthority-scheduledevents.html#cfn-eks-certificateauthority-scheduledevents-firstautoactivation

ValidityProperty

class CfnCertificateAuthorityPropsMixin.ValidityProperty(*, not_after=None, not_before=None)

Bases: object

The 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-certificateauthority-validity.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.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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-certificateauthority-validity.html#cfn-eks-certificateauthority-validity-notafter

not_before

The start of the validity period for the certificate authority.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-certificateauthority-validity.html#cfn-eks-certificateauthority-validity-notbefore