CfnThingMixinProps
- class aws_cdk.mixins_preview.aws_iot.mixins.CfnThingMixinProps(*, attribute_payload=None, thing_name=None)
Bases:
objectProperties for CfnThingPropsMixin.
- 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.
- See:
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. from aws_cdk.mixins_preview.aws_iot import mixins as iot_mixins cfn_thing_mixin_props = iot_mixins.CfnThingMixinProps( attribute_payload=iot_mixins.CfnThingPropsMixin.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.