AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::IoT::ThingType

CfnThingType

Creates a new thing type.

Import

import { CfnThingType } from 'aws-cdk-lib/aws-iot';

Or use the module namespace:

import * as iot from 'aws-cdk-lib/aws-iot';
// iot.CfnThingType

Properties

Configuration passed to the constructor as CfnThingTypeProps.

deprecateThingTypeOptional
boolean | IResolvable

Deprecates a thing type. You can not associate new things with deprecated thing type. Requires permission to access the [DeprecateThingType](https://docs.aws.amazon.com//service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) action.

tagsOptional
CfnTag[]

Metadata which can be used to manage the thing type.

thingTypeNameOptional
string

The name of the thing type.

thingTypePropertiesOptional
IResolvable | ThingTypePropertiesProperty

The thing type properties for the thing type to create. It contains information about the new thing type including a description, a list of searchable thing attribute names, and a list of propagating attributes. After a thing type is created, you can only update `Mqtt5Configuration` .

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter