Show / Hide Table of Contents

Class Thing

Creates and manages an AWS IoT Thing.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var example = new Aws.Iot.Thing("example", new Aws.Iot.ThingArgs
    {
        Attributes = 
        {
            { "First", "examplevalue" },
        },
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Thing
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Iot
Assembly: Pulumi.Aws.dll
Syntax
public class Thing : CustomResource

Constructors

View Source

Thing(String, ThingArgs, CustomResourceOptions)

Create a Thing resource with the given unique name, arguments, and options.

Declaration
public Thing(string name, ThingArgs args = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ThingArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Arn

The ARN of the thing.

Declaration
public Output<string> Arn { get; }
Property Value
Type Description
Output<System.String>
View Source

Attributes

Map of attributes of the thing.

Declaration
public Output<ImmutableDictionary<string, object>> Attributes { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

DefaultClientId

The default client ID.

Declaration
public Output<string> DefaultClientId { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

The name of the thing.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

ThingTypeName

The thing type name.

Declaration
public Output<string> ThingTypeName { get; }
Property Value
Type Description
Output<System.String>
View Source

Version

The current version of the thing record in the registry.

Declaration
public Output<int> Version { get; }
Property Value
Type Description
Output<System.Int32>

Methods

View Source

Get(String, Input<String>, ThingState, CustomResourceOptions)

Get an existing Thing resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static Thing Get(string name, Input<string> id, ThingState 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.

ThingState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Thing
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.