aws-cdk-lib.aws_iot.CfnThingTypeProps

interface CfnThingTypeProps

LanguageType name
.NETAmazon.CDK.AWS.IoT.CfnThingTypeProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnThingTypeProps
Javasoftware.amazon.awscdk.services.iot.CfnThingTypeProps
Pythonaws_cdk.aws_iot.CfnThingTypeProps
TypeScript aws-cdk-lib » 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 { aws_iot as iot } from 'aws-cdk-lib';
const cfnThingTypeProps: iot.CfnThingTypeProps = {
  deprecateThingType: false,
  tags: [{
    key: 'key',
    value: 'value',
  }],
  thingTypeName: 'thingTypeName',
  thingTypeProperties: {
    searchableAttributes: ['searchableAttributes'],
    thingTypeDescription: 'thingTypeDescription',
  },
};

Properties

NameTypeDescription
deprecateThingType?boolean | IResolvableDeprecates a thing type. You can not associate new things with deprecated thing type.
tags?CfnTag[]Metadata which can be used to manage the thing type.
thingTypeName?stringThe name of the thing type.
thingTypeProperties?IResolvable | ThingTypePropertiesPropertyThe 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: CfnTag[] (optional)

Metadata which can be used to manage the thing type.


thingTypeName?

Type: string (optional)

The name of the thing type.


thingTypeProperties?

Type: IResolvable | ThingTypePropertiesProperty (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 .