CfnThingPrincipalAttachmentProps
- class aws_cdk.aws_iot.CfnThingPrincipalAttachmentProps(*, principal, thing_name)
Bases:
object
Properties for defining a
CfnThingPrincipalAttachment
.- Parameters:
principal (
str
) – The principal, which can be a certificate ARN (as returned from theCreateCertificate
operation) or an Amazon Cognito ID.thing_name (
str
) – The name of the AWS IoT thing.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_iot as iot cfn_thing_principal_attachment_props = iot.CfnThingPrincipalAttachmentProps( principal="principal", thing_name="thingName" )
Attributes
- principal
The principal, which can be a certificate ARN (as returned from the
CreateCertificate
operation) or an Amazon Cognito ID.
- thing_name
The name of the AWS IoT thing.