IndexArgs

data class IndexArgs(val tags: Output<Map<String, String>>? = null, val timeouts: Output<IndexTimeoutsArgs>? = null, val type: Output<String>? = null) : ConvertibleToJava<IndexArgs>

Provides a resource to manage a Resource Explorer index in the current AWS Region.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.resourceexplorer.Index;
import com.pulumi.aws.resourceexplorer.IndexArgs;
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 Index("example", IndexArgs.builder()
.type("LOCAL")
.build());
}
}

Import

Using pulumi import, import Resource Explorer indexes using the arn. For example:

$ pulumi import aws:resourceexplorer/index:Index example arn:aws:resource-explorer-2:us-east-1:123456789012:index/6047ac4e-207e-4487-9bcf-cb53bb0ff5cc

Constructors

Link copied to clipboard
fun IndexArgs(tags: Output<Map<String, String>>? = null, timeouts: Output<IndexTimeoutsArgs>? = null, type: Output<String>? = null)

Functions

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

Properties

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

Key-value map 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.

Link copied to clipboard
val timeouts: Output<IndexTimeoutsArgs>? = null
Link copied to clipboard
val type: Output<String>? = null

The type of the index. Valid values: AGGREGATOR, LOCAL. To understand the difference between LOCAL and AGGREGATOR, see the AWS Resource Explorer User Guide.