ThingTypeArgs

data class ThingTypeArgs(val deprecated: Output<Boolean>? = null, val name: Output<String>? = null, val properties: Output<ThingTypePropertiesArgs>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ThingTypeArgs>

Creates and manages an AWS IoT Thing Type.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const foo = new aws.iot.ThingType("foo", {name: "my_iot_thing"});
import pulumi
import pulumi_aws as aws
foo = aws.iot.ThingType("foo", name="my_iot_thing")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var foo = new Aws.Iot.ThingType("foo", new()
{
Name = "my_iot_thing",
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iot"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iot.NewThingType(ctx, "foo", &iot.ThingTypeArgs{
Name: pulumi.String("my_iot_thing"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.iot.ThingType;
import com.pulumi.aws.iot.ThingTypeArgs;
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 foo = new ThingType("foo", ThingTypeArgs.builder()
.name("my_iot_thing")
.build());
}
}
resources:
foo:
type: aws:iot:ThingType
properties:
name: my_iot_thing

Import

Using pulumi import, import IOT Thing Types using the name. For example:

$ pulumi import aws:iot/thingType:ThingType example example

Constructors

Link copied to clipboard
constructor(deprecated: Output<Boolean>? = null, name: Output<String>? = null, properties: Output<ThingTypePropertiesArgs>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val deprecated: Output<Boolean>? = null

Whether the thing type is deprecated. If true, no new things could be associated with this type.

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

The name of the thing type.

Link copied to clipboard
val properties: Output<ThingTypePropertiesArgs>? = null

, Configuration block that can contain the following properties of the thing type:

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

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level

Functions

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