interface CfnThingProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoT.CfnThingProps |
Java | software.amazon.awscdk.services.iot.CfnThingProps |
Python | aws_cdk.aws_iot.CfnThingProps |
TypeScript | @aws-cdk/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 * as iot from '@aws-cdk/aws-iot';
const cfnThingProps: iot.CfnThingProps = {
attributePayload: {
attributes: {
attributesKey: 'attributes',
},
},
thingName: 'thingName',
};
Properties
Name | Type | Description |
---|---|---|
attribute | IResolvable | Attribute | A string that contains up to three key value pairs. |
thing | string | The name of the thing to update. |
attributePayload?
Type:
IResolvable
|
Attribute
(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.