EventConfigurations

class EventConfigurations : KotlinCustomResource

Manages IoT event configurations.

NOTE: Deleting this resource does not disable the event configurations, the resource in simply removed from state instead.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.iot.EventConfigurations;
import com.pulumi.aws.iot.EventConfigurationsArgs;
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 EventConfigurations("example", EventConfigurationsArgs.builder()
.eventConfigurations(Map.ofEntries(
Map.entry("CA_CERTIFICATE", false),
Map.entry("CERTIFICATE", true),
Map.entry("JOB", false),
Map.entry("JOB_EXECUTION", false),
Map.entry("POLICY", false),
Map.entry("THING", true),
Map.entry("THING_GROUP", false),
Map.entry("THING_GROUP_HIERARCHY", false),
Map.entry("THING_GROUP_MEMBERSHIP", false),
Map.entry("THING_TYPE", false),
Map.entry("THING_TYPE_ASSOCIATION", false)
))
.build());
}
}

Import

Using pulumi import, import IoT Event Configurations using the AWS Region. For example:

$ pulumi import aws:iot/eventConfigurations:EventConfigurations example us-west-2

Properties

Link copied to clipboard

Map. The new event configuration values. You can use only these strings as keys: THING_GROUP_HIERARCHY, THING_GROUP_MEMBERSHIP, THING_TYPE, THING_TYPE_ASSOCIATION, THING_GROUP, THING, POLICY, CA_CERTIFICATE, JOB_EXECUTION, CERTIFICATE, JOB. Use boolean for values of mapping.

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