AWS::IoT::ThingType - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::IoT::ThingType

Creates a new thing type.

Syntax

To declare this entity in your Amazon 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.

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, and a list of searchable thing attribute names. ThingTypeProperties can't be updated after the initial creation of the ThingType.

Required: No

Type: ThingTypeProperties

Update requires: Replacement

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.