Class ThingType
Creates and manages an AWS IoT Thing Type.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var foo = new Aws.Iot.ThingType("foo", new Aws.Iot.ThingTypeArgs
{
});
}
}
Inherited Members
Namespace: Pulumi.Aws.Iot
Assembly: Pulumi.Aws.dll
Syntax
public class ThingType : CustomResource
Constructors
View SourceThingType(String, ThingTypeArgs, CustomResourceOptions)
Create a ThingType resource with the given unique name, arguments, and options.
Declaration
public ThingType(string name, ThingTypeArgs args = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ThingTypeArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceArn
The ARN of the created AWS IoT Thing Type.
Declaration
public Output<string> Arn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Deprecated
Whether the thing type is deprecated. If true, no new things could be associated with this type.
Declaration
public Output<bool?> Deprecated { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Name
The name of the thing type.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Properties
, Configuration block that can contain the following properties of the thing type:
Declaration
public Output<ThingTypeProperties> Properties { get; }
Property Value
| Type | Description |
|---|---|
| Output<ThingTypeProperties> |
Methods
View SourceGet(String, Input<String>, ThingTypeState, CustomResourceOptions)
Get an existing ThingType resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ThingType Get(string name, Input<string> id, ThingTypeState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ThingTypeState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ThingType |