We recommend new projects start with resources from the AWS provider.
aws-native.iot.ThingType
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::IoT::ThingType
Create ThingType Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ThingType(name: string, args?: ThingTypeArgs, opts?: CustomResourceOptions);@overload
def ThingType(resource_name: str,
              args: Optional[ThingTypeArgs] = None,
              opts: Optional[ResourceOptions] = None)
@overload
def ThingType(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              deprecate_thing_type: Optional[bool] = None,
              tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
              thing_type_name: Optional[str] = None,
              thing_type_properties: Optional[ThingTypePropertiesPropertiesArgs] = None)func NewThingType(ctx *Context, name string, args *ThingTypeArgs, opts ...ResourceOption) (*ThingType, error)public ThingType(string name, ThingTypeArgs? args = null, CustomResourceOptions? opts = null)
public ThingType(String name, ThingTypeArgs args)
public ThingType(String name, ThingTypeArgs args, CustomResourceOptions options)
type: aws-native:iot:ThingType
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ThingTypeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ThingTypeArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ThingTypeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ThingTypeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ThingTypeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ThingType Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ThingType resource accepts the following input properties:
- DeprecateThing boolType 
- Deprecates a thing type. You can not associate new things with deprecated thing type. - Requires permission to access the DeprecateThingType action. 
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- An array of key-value pairs to apply to this resource.
- ThingType stringName 
- The name of the thing type.
- ThingType Pulumi.Properties Aws Native. Io T. Inputs. Thing Type Properties Properties 
- 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.
- DeprecateThing boolType 
- Deprecates a thing type. You can not associate new things with deprecated thing type. - Requires permission to access the DeprecateThingType action. 
- 
TagArgs 
- An array of key-value pairs to apply to this resource.
- ThingType stringName 
- The name of the thing type.
- ThingType ThingProperties Type Properties Properties Args 
- 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.
- deprecateThing BooleanType 
- Deprecates a thing type. You can not associate new things with deprecated thing type. - Requires permission to access the DeprecateThingType action. 
- List<Tag>
- An array of key-value pairs to apply to this resource.
- thingType StringName 
- The name of the thing type.
- thingType ThingProperties Type Properties Properties 
- 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.
- deprecateThing booleanType 
- Deprecates a thing type. You can not associate new things with deprecated thing type. - Requires permission to access the DeprecateThingType action. 
- Tag[]
- An array of key-value pairs to apply to this resource.
- thingType stringName 
- The name of the thing type.
- thingType ThingProperties Type Properties Properties 
- 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.
- deprecate_thing_ booltype 
- Deprecates a thing type. You can not associate new things with deprecated thing type. - Requires permission to access the DeprecateThingType action. 
- 
Sequence[TagArgs] 
- An array of key-value pairs to apply to this resource.
- thing_type_ strname 
- The name of the thing type.
- thing_type_ Thingproperties Type Properties Properties Args 
- 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.
- deprecateThing BooleanType 
- Deprecates a thing type. You can not associate new things with deprecated thing type. - Requires permission to access the DeprecateThingType action. 
- List<Property Map>
- An array of key-value pairs to apply to this resource.
- thingType StringName 
- The name of the thing type.
- thingType Property MapProperties 
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the ThingType resource produces the following output properties:
Supporting Types
Tag, TagArgs  
ThingTypePropagatingAttribute, ThingTypePropagatingAttributeArgs        
- UserProperty stringKey 
- The key of the MQTT 5 user property, which is a key-value pair.
- ConnectionAttribute Pulumi.Aws Native. Io T. Thing Type Propagating Attribute Connection Attribute 
- The attribute associated with the connection details.
- ThingAttribute string
- The thing attribute that is propagating for MQTT 5 message enrichment.
- UserProperty stringKey 
- The key of the MQTT 5 user property, which is a key-value pair.
- ConnectionAttribute ThingType Propagating Attribute Connection Attribute 
- The attribute associated with the connection details.
- ThingAttribute string
- The thing attribute that is propagating for MQTT 5 message enrichment.
- userProperty StringKey 
- The key of the MQTT 5 user property, which is a key-value pair.
- connectionAttribute ThingType Propagating Attribute Connection Attribute 
- The attribute associated with the connection details.
- thingAttribute String
- The thing attribute that is propagating for MQTT 5 message enrichment.
- userProperty stringKey 
- The key of the MQTT 5 user property, which is a key-value pair.
- connectionAttribute ThingType Propagating Attribute Connection Attribute 
- The attribute associated with the connection details.
- thingAttribute string
- The thing attribute that is propagating for MQTT 5 message enrichment.
- user_property_ strkey 
- The key of the MQTT 5 user property, which is a key-value pair.
- connection_attribute ThingType Propagating Attribute Connection Attribute 
- The attribute associated with the connection details.
- thing_attribute str
- The thing attribute that is propagating for MQTT 5 message enrichment.
- userProperty StringKey 
- The key of the MQTT 5 user property, which is a key-value pair.
- connectionAttribute ":ClientId" | ":Thing. Thing Name" 
- The attribute associated with the connection details.
- thingAttribute String
- The thing attribute that is propagating for MQTT 5 message enrichment.
ThingTypePropagatingAttributeConnectionAttribute, ThingTypePropagatingAttributeConnectionAttributeArgs            
- IotClient Id 
- iot:ClientId
- IotThing Thing Name 
- iot:Thing.ThingName
- ThingType Propagating Attribute Connection Attribute Iot Client Id 
- iot:ClientId
- ThingType Propagating Attribute Connection Attribute Iot Thing Thing Name 
- iot:Thing.ThingName
- IotClient Id 
- iot:ClientId
- IotThing Thing Name 
- iot:Thing.ThingName
- IotClient Id 
- iot:ClientId
- IotThing Thing Name 
- iot:Thing.ThingName
- IOT_CLIENT_ID
- iot:ClientId
- IOT_THING_THING_NAME
- iot:Thing.ThingName
- "iot:ClientId" 
- iot:ClientId
- "iot:Thing.Thing Name" 
- iot:Thing.ThingName
ThingTypePropertiesProperties, ThingTypePropertiesPropertiesArgs        
- Mqtt5Configuration
Pulumi.Aws Native. Io T. Inputs. Thing Type Properties Properties Mqtt5Configuration Properties 
- The configuration to add user-defined properties to enrich MQTT 5 messages.
- SearchableAttributes List<string>
- A list of searchable thing attribute names.
- ThingType stringDescription 
- The description of the thing type.
- Mqtt5Configuration
ThingType Properties Properties Mqtt5Configuration Properties 
- The configuration to add user-defined properties to enrich MQTT 5 messages.
- SearchableAttributes []string
- A list of searchable thing attribute names.
- ThingType stringDescription 
- The description of the thing type.
- mqtt5Configuration
ThingType Properties Properties Mqtt5Configuration Properties 
- The configuration to add user-defined properties to enrich MQTT 5 messages.
- searchableAttributes List<String>
- A list of searchable thing attribute names.
- thingType StringDescription 
- The description of the thing type.
- mqtt5Configuration
ThingType Properties Properties Mqtt5Configuration Properties 
- The configuration to add user-defined properties to enrich MQTT 5 messages.
- searchableAttributes string[]
- A list of searchable thing attribute names.
- thingType stringDescription 
- The description of the thing type.
- mqtt5_configuration ThingType Properties Properties Mqtt5Configuration Properties 
- The configuration to add user-defined properties to enrich MQTT 5 messages.
- searchable_attributes Sequence[str]
- A list of searchable thing attribute names.
- thing_type_ strdescription 
- The description of the thing type.
- mqtt5Configuration Property Map
- The configuration to add user-defined properties to enrich MQTT 5 messages.
- searchableAttributes List<String>
- A list of searchable thing attribute names.
- thingType StringDescription 
- The description of the thing type.
ThingTypePropertiesPropertiesMqtt5ConfigurationProperties, ThingTypePropertiesPropertiesMqtt5ConfigurationPropertiesArgs            
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.