interface CfnThingTypeProps
This page is available in another version. Click here for the v2 documentation.
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoT.CfnThingTypeProps |
Java | software.amazon.awscdk.services.iot.CfnThingTypeProps |
Python | aws_cdk.aws_iot.CfnThingTypeProps |
TypeScript | @aws-cdk/aws-iot » CfnThingTypeProps |
Properties for defining a CfnThingType
.
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 cfnThingTypeProps: iot.CfnThingTypeProps = {
deprecateThingType: false,
tags: [{
key: 'key',
value: 'value',
}],
thingTypeName: 'thingTypeName',
thingTypeProperties: {
searchableAttributes: ['searchableAttributes'],
thingTypeDescription: 'thingTypeDescription',
},
};
Properties
Name | Type | Description |
---|---|---|
deprecate | boolean | IResolvable | Deprecates a thing type. You can not associate new things with deprecated thing type. |
tags? | Cfn [] | Metadata which can be used to manage the thing type. |
thing | string | The name of the thing type. |
thing | IResolvable | Thing | The thing type properties for the thing type to create. |
deprecateThingType?
Type:
boolean |
IResolvable
(optional)
Deprecates a thing type. You can not associate new things with deprecated thing type.
Requires permission to access the DeprecateThingType action.
tags?
Type:
Cfn
[]
(optional)
Metadata which can be used to manage the thing type.
thingTypeName?
Type:
string
(optional)
The name of the thing type.
thingTypeProperties?
Type:
IResolvable
|
Thing
(optional)
The thing type properties for the thing type to create.
It contains information about the new thing type including a description, and a list of searchable thing attribute names. ThingTypeProperties
can't be updated after the initial creation of the ThingType
.