CfnThingPrincipalAttachmentProps
- class aws_cdk.aws_iot.CfnThingPrincipalAttachmentProps(*, principal, thing_name, thing_principal_type=None)
Bases:
objectProperties for defining a
CfnThingPrincipalAttachment.- Parameters:
principal (
str) – The principal, which can be a certificate ARN (as returned from theCreateCertificateoperation) or an Amazon Cognito ID.thing_name (
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 import aws_iot as iot cfn_thing_principal_attachment_props = iot.CfnThingPrincipalAttachmentProps( principal="principal", thing_name="thingName", # the properties below are optional 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.