ThingGroupMembership

class ThingGroupMembership : KotlinCustomResource

Adds an IoT Thing to an IoT Thing Group.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.iot.ThingGroupMembership;
import com.pulumi.aws.iot.ThingGroupMembershipArgs;
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 ThingGroupMembership("example", ThingGroupMembershipArgs.builder()
.overrideDynamicGroup(true)
.thingGroupName("example-group")
.thingName("example-thing")
.build());
}
}

Import

IoT Thing Group Membership can be imported using the thing group name and thing name.

$ pulumi import aws:iot/thingGroupMembership:ThingGroupMembership example thing_group_name/thing_name

Properties

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

Override dynamic thing groups with static thing groups when 10-group limit is reached. If a thing belongs to 10 thing groups, and one or more of those groups are dynamic thing groups, adding a thing to a static group removes the thing from the last dynamic group.

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

The name of the group to which you are adding a thing.

Link copied to clipboard
val thingName: Output<String>

The name of the thing to add to a group.

Link copied to clipboard
val urn: Output<String>