CfnCACertificatePropsMixin
- class aws_cdk.mixins_preview.aws_iot.mixins.CfnCACertificatePropsMixin(props, *, strategy=None)
Bases:
MixinSpecifies 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:
props (
Union[CfnCACertificateMixinProps,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 = ['autoRegistrationStatus', 'caCertificatePem', 'certificateMode', 'registrationConfig', 'removeAutoRegistration', 'status', 'tags', 'verificationCertificatePem']
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
RegistrationConfigProperty
- class CfnCACertificatePropsMixin.RegistrationConfigProperty(*, role_arn=None, template_body=None, template_name=None)
Bases:
objectThe 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:
- 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.
- template_body
The template body.
- template_name
The name of the provisioning template.