CfnThingPrincipalAttachmentMixinProps
- class aws_cdk.mixins_preview.aws_iot.mixins.CfnThingPrincipalAttachmentMixinProps(*, principal=None, thing_name=None, thing_principal_type=None)
Bases:
objectProperties for CfnThingPrincipalAttachmentPropsMixin.
- Parameters:
principal (
Optional[str]) – The principal, which can be a certificate ARN (as returned from theCreateCertificateoperation) or an Amazon Cognito ID.thing_name (
Optional[str]) – The name of the AWS IoT thing.thing_principal_type (
Optional[str])
- 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 cfn_thing_principal_attachment_mixin_props = iot_mixins.CfnThingPrincipalAttachmentMixinProps( principal="principal", thing_name="thingName", thing_principal_type="thingPrincipalType" )
Attributes
- principal
The principal, which can be a certificate ARN (as returned from the
CreateCertificateoperation) or an Amazon Cognito ID.
- thing_name
The name of the AWS IoT thing.