
com.pulumi.aws.iot.EventConfigurations Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.iot;
import com.pulumi.aws.Utilities;
import com.pulumi.aws.iot.EventConfigurationsArgs;
import com.pulumi.aws.iot.inputs.EventConfigurationsState;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.Boolean;
import java.lang.String;
import java.util.Map;
import javax.annotation.Nullable;
/**
* Manages IoT event configurations.
*
* > **NOTE:** Deleting this resource does not disable the event configurations, the resource in simply removed from state instead.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* 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("THING", true),
* Map.entry("THING_GROUP", false),
* Map.entry("THING_TYPE", false),
* Map.entry("THING_GROUP_MEMBERSHIP", false),
* Map.entry("THING_GROUP_HIERARCHY", false),
* Map.entry("THING_TYPE_ASSOCIATION", false),
* Map.entry("JOB", false),
* Map.entry("JOB_EXECUTION", false),
* Map.entry("POLICY", false),
* Map.entry("CERTIFICATE", true),
* Map.entry("CA_CERTIFICATE", false)
* ))
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
* ## Import
*
* Using `pulumi import`, import IoT Event Configurations using the AWS Region. For example:
*
* ```sh
* $ pulumi import aws:iot/eventConfigurations:EventConfigurations example us-west-2
* ```
*
*/
@ResourceType(type="aws:iot/eventConfigurations:EventConfigurations")
public class EventConfigurations extends com.pulumi.resources.CustomResource {
/**
* 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.
*
*/
@Export(name="eventConfigurations", refs={Map.class,String.class,Boolean.class}, tree="[0,1,2]")
private Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy