CfnThingTypeProps Struct
Properties for defining a CfnThingType.
Example
ts
// 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: {
mqtt5Configuration: {
propagatingAttributes: [{
userPropertyKey: 'userPropertyKey',
// the properties below are optional
connectionAttribute: 'connectionAttribute',
thingAttribute: 'thingAttribute',
}],
},
searchableAttributes: ['searchableAttributes'],
thingTypeDescription: 'thingTypeDescription',
},
};
Properties
deprecateThingTypeoptionalboolean | IResolvabledeprecate_thing_typeoptionaltyping.Union[bool, IResolvable]deprecateThingTypeoptionalBooleanDeprecateThingTypeoptionalboolDeprecateThingTypeoptionalinterface{}#Deprecates a thing type. You can not associate new things with deprecated thing type.
Requires permission to access the DeprecateThingType action.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#Metadata which can be used to manage the thing type.
thingTypeNameoptionalstringthing_type_nameoptionalstrthingTypeNameoptionalStringThingTypeNameoptionalstringThingTypeNameoptional*string#The name of the thing type.
thingTypePropertiesoptionalIResolvable | CfnThingType.ThingTypePropertiesPropertything_type_propertiesoptionaltyping.Union[IResolvable, ThingTypePropertiesProperty]thingTypePropertiesoptionalIResolvableThingTypePropertiesoptionalIResolvableThingTypePropertiesoptionalinterface{}#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 .