AWS::IoT::ThingUse the `AWS::IoT::Thing` resource to declare an AWS IoT thing. For information about working with things, see [How AWS IoT Works](https://docs.aws.amazon.com/iot/latest/developerguide/aws-iot-how-it-works.html) and [Device Registry for AWS IoT](https://docs.aws.amazon.com/iot/latest/developerguide/thing-registry.html) in the *AWS IoT Developer Guide* .
import { CfnThing } from 'aws-cdk-lib/aws-iot';Or use the module namespace:
import * as iot from 'aws-cdk-lib/aws-iot';
// iot.CfnThingConfiguration passed to the constructor as CfnThingProps.
attributePayloadOptionalIResolvable | AttributePayloadPropertyA string that contains up to three key value pairs. Maximum length of 800. Duplicates not allowed.
thingNameOptionalstringThe 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.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-iotAWS::IoT::Thing