CfnThingProps
- class aws_cdk.aws_iot.CfnThingProps(*, attribute_payload=None, thing_name=None)
Bases:
object
Properties for defining a
CfnThing
.- Parameters:
attribute_payload (
Union
[IResolvable
,AttributePayloadProperty
,Dict
[str
,Any
],None
]) – A string that contains up to three key value pairs. Maximum length of 800. Duplicates not allowed.thing_name (
Optional
[str
]) – The name of the thing to update. You can’t change a thing’s name. To change a thing’s name, you must create a new thing, give it the new name, and then delete the old thing.
- Link:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thing.html
- 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_props = iot.CfnThingProps( attribute_payload=iot.CfnThing.AttributePayloadProperty( attributes={ "attributes_key": "attributes" } ), thing_name="thingName" )
Attributes
- attribute_payload
A string that contains up to three key value pairs.
Maximum length of 800. Duplicates not allowed.
- thing_name
The name of the thing to update.
You can’t change a thing’s name. To change a thing’s name, you must create a new thing, give it the new name, and then delete the old thing.