CfnCACertificatePropsMixin

class aws_cdk.mixins_preview.aws_iot.mixins.CfnCACertificatePropsMixin(props, *, strategy=None)

Bases: Mixin

Specifies a CA certificate.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-cacertificate.html

CloudformationResource:

AWS::IoT::CACertificate

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_iot import mixins as iot_mixins

cfn_cACertificate_props_mixin = iot_mixins.CfnCACertificatePropsMixin(iot_mixins.CfnCACertificateMixinProps(
    auto_registration_status="autoRegistrationStatus",
    ca_certificate_pem="caCertificatePem",
    certificate_mode="certificateMode",
    registration_config=iot_mixins.CfnCACertificatePropsMixin.RegistrationConfigProperty(
        role_arn="roleArn",
        template_body="templateBody",
        template_name="templateName"
    ),
    remove_auto_registration=False,
    status="status",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    verification_certificate_pem="verificationCertificatePem"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::IoT::CACertificate.

Parameters:

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 = ['autoRegistrationStatus', 'caCertificatePem', 'certificateMode', 'registrationConfig', 'removeAutoRegistration', 'status', 'tags', 'verificationCertificatePem']

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

RegistrationConfigProperty

class CfnCACertificatePropsMixin.RegistrationConfigProperty(*, role_arn=None, template_body=None, template_name=None)

Bases: object

The registration configuration.

Parameters:
  • role_arn (Optional[str]) – The ARN of the role.

  • template_body (Optional[str]) – The template body.

  • template_name (Optional[str]) – The name of the provisioning template.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-cacertificate-registrationconfig.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_iot import mixins as iot_mixins

registration_config_property = iot_mixins.CfnCACertificatePropsMixin.RegistrationConfigProperty(
    role_arn="roleArn",
    template_body="templateBody",
    template_name="templateName"
)

Attributes

role_arn

The ARN of the role.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-cacertificate-registrationconfig.html#cfn-iot-cacertificate-registrationconfig-rolearn

template_body

The template body.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-cacertificate-registrationconfig.html#cfn-iot-cacertificate-registrationconfig-templatebody

template_name

The name of the provisioning template.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-cacertificate-registrationconfig.html#cfn-iot-cacertificate-registrationconfig-templatename