PlaceIndexArgs

data class PlaceIndexArgs(val dataSource: Output<String>? = null, val dataSourceConfiguration: Output<PlaceIndexDataSourceConfigurationArgs>? = null, val description: Output<String>? = null, val indexName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<PlaceIndexArgs>

Provides a Location Service Place Index.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.location.PlaceIndex;
import com.pulumi.aws.location.PlaceIndexArgs;
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 PlaceIndex("example", PlaceIndexArgs.builder()
.dataSource("Here")
.indexName("example")
.build());
}
}

Import

aws_location_place_index resources can be imported using the place index name, e.g.

$ pulumi import aws:location/placeIndex:PlaceIndex example example

Constructors

Link copied to clipboard
constructor(dataSource: Output<String>? = null, dataSourceConfiguration: Output<PlaceIndexDataSourceConfigurationArgs>? = null, description: Output<String>? = null, indexName: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

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

Specifies the geospatial data provider for the new place index.

Link copied to clipboard

Configuration block with the data storage option chosen for requesting Places. Detailed below.

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

The optional description for the place index resource.

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

The name of the place index resource. The following arguments are optional:

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

Key-value tags for the place index. 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(): PlaceIndexArgs