CfnThingProps

class aws_cdk.aws_iot.CfnThingProps(*, attribute_payload=None, thing_name=None)

Bases: object

Properties for defining a AWS::IoT::Thing.

Parameters
Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thing.html

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_props = iot.CfnThingProps(
    attribute_payload=iot.CfnThing.AttributePayloadProperty(
        attributes={
            "attributes_key": "attributes"
        }
    ),
    thing_name="thingName"
)

Attributes

attribute_payload

AWS::IoT::Thing.AttributePayload.

Link

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

Return type

Union[IResolvable, AttributePayloadProperty, None]

thing_name

AWS::IoT::Thing.ThingName.

Link

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

Return type

Optional[str]