interface CfnThingProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoT.CfnThingProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnThingProps |
![]() | software.amazon.awscdk.services.iot.CfnThingProps |
![]() | aws_cdk.aws_iot.CfnThingProps |
![]() | aws-cdk-lib » aws_iot » CfnThingProps |
Properties for defining a CfnThing
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thing.html
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
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.