AWS::IoT::ThingType - AWS CloudFormation

AWS::IoT::ThingType

Creates a new thing type.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::IoT::ThingType", "Properties" : { "DeprecateThingType" : Boolean, "Tags" : [ Tag, ... ], "ThingTypeName" : String, "ThingTypeProperties" : ThingTypeProperties } }

YAML

Type: AWS::IoT::ThingType Properties: DeprecateThingType: Boolean Tags: - Tag ThingTypeName: String ThingTypeProperties: ThingTypeProperties

Properties

DeprecateThingType

Deprecates a thing type. You can not associate new things with deprecated thing type. You cannot update ThingTypeProperties if the thing type is deprecated.

Requires permission to access the DeprecateThingType action.

Required: No

Type: Boolean

Update requires: No interruption

Tags

Metadata which can be used to manage the thing type.

Required: No

Type: Array of Tag

Maximum: 50

Update requires: No interruption

ThingTypeName

The name of the thing type.

Required: No

Type: String

Pattern: [a-zA-Z0-9:_-]+

Minimum: 1

Maximum: 128

Update requires: Replacement

ThingTypeProperties

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.

Required: No

Type: ThingTypeProperties

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the thing type id.

For more information about using the Ref function, see Ref.

Fn::GetAtt

The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.

Arn

The thing type arn.

Id

The thing type id.