aws-cdk-lib.aws_iot.CfnThingProps

interface CfnThingProps

LanguageType name
.NETAmazon.CDK.AWS.IoT.CfnThingProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnThingProps
Javasoftware.amazon.awscdk.services.iot.CfnThingProps
Pythonaws_cdk.aws_iot.CfnThingProps
TypeScript aws-cdk-lib » aws_iot » CfnThingProps

Properties for defining a CfnThing.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const cfnThingProps: iot.CfnThingProps = {
  attributePayload: {
    attributes: {
      attributesKey: 'attributes',
    },
  },
  thingName: 'thingName',
};

Properties

NameTypeDescription
attributePayload?IResolvable | AttributePayloadPropertyA string that contains up to three key value pairs.
thingName?stringThe name of the thing to update.

attributePayload?

Type: IResolvable | AttributePayloadProperty (optional)

A string that contains up to three key value pairs.

Maximum length of 800. Duplicates not allowed.


thingName?

Type: string (optional)

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.