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 the CreateCertificate operation) or an Amazon Cognito ID.

  • thing_name (str) – The name of the AWS IoT thing.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thingprincipalattachment.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 import 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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thingprincipalattachment.html#cfn-iot-thingprincipalattachment-principal

thing_name

The name of the AWS IoT thing.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thingprincipalattachment.html#cfn-iot-thingprincipalattachment-thingname