Thing

class Thing : KotlinCustomResource

Creates and manages an AWS IoT Thing.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.iot.Thing;
import com.pulumi.aws.iot.ThingArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Thing("example", ThingArgs.builder()
.attributes(Map.of("First", "examplevalue"))
.build());
}
}

Import

IOT Things can be imported using the name, e.g.,

$ pulumi import aws:iot/thing:Thing example example

Properties

Link copied to clipboard
val arn: Output<String>

The ARN of the thing.

Link copied to clipboard
val attributes: Output<Map<String, String>>?

Map of attributes of the thing.

Link copied to clipboard
val defaultClientId: Output<String>

The default client ID.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The name of the thing.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val thingTypeName: Output<String>?

The thing type name.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val version: Output<Int>

The current version of the thing record in the registry.