getPlaceIndex

Retrieve information about 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.LocationFunctions;
import com.pulumi.aws.location.inputs.GetPlaceIndexArgs;
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) {
final var example = LocationFunctions.getPlaceIndex(GetPlaceIndexArgs.builder()
.indexName("example")
.build());
}
}

Return

A collection of values returned by getPlaceIndex.

Parameters

argument

A collection of arguments for invoking getPlaceIndex.


suspend fun getPlaceIndex(indexName: String, tags: Map<String, String>? = null): GetPlaceIndexResult

Return

A collection of values returned by getPlaceIndex.

Parameters

indexName

Name of the place index resource.

tags

Key-value map of resource tags for the place index.

See also


Return

A collection of values returned by getPlaceIndex.

Parameters

argument

Builder for com.pulumi.aws.location.kotlin.inputs.GetPlaceIndexPlainArgs.

See also