get Place Index
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());
}
}
Content copied to clipboard
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
index Name
Name of the place index resource.
tags
Key-value map of resource tags for the place index.
See also
suspend fun getPlaceIndex(argument: suspend GetPlaceIndexPlainArgsBuilder.() -> Unit): GetPlaceIndexResult
Return
A collection of values returned by getPlaceIndex.
Parameters
argument
Builder for com.pulumi.aws.location.kotlin.inputs.GetPlaceIndexPlainArgs.