ThingArgs

data class ThingArgs(val attributes: Output<Map<String, String>>? = null, val name: Output<String>? = null, val thingTypeName: Output<String>? = null) : ConvertibleToJava<ThingArgs>

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

Constructors

Link copied to clipboard
constructor(attributes: Output<Map<String, String>>? = null, name: Output<String>? = null, thingTypeName: Output<String>? = null)

Properties

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

Map of attributes of the thing.

Link copied to clipboard
val name: Output<String>? = null

The name of the thing.

Link copied to clipboard
val thingTypeName: Output<String>? = null

The thing type name.

Functions

Link copied to clipboard
open override fun toJava(): ThingArgs