PlaceIndex

class PlaceIndex : KotlinCustomResource

Provides a Location Service Place Index.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.location.PlaceIndex("example", {
dataSource: "Here",
indexName: "example",
});
import pulumi
import pulumi_aws as aws
example = aws.location.PlaceIndex("example",
data_source="Here",
index_name="example")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Location.PlaceIndex("example", new()
{
DataSource = "Here",
IndexName = "example",
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/location"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := location.NewPlaceIndex(ctx, "example", &location.PlaceIndexArgs{
DataSource: pulumi.String("Here"),
IndexName: pulumi.String("example"),
})
if err != nil {
return err
}
return nil
})
}
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());
}
}
resources:
example:
type: aws:location:PlaceIndex
properties:
dataSource: Here
indexName: example

Import

Using pulumi import, import aws_location_place_index resources using the place index name. For example:

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

Properties

Link copied to clipboard
val createTime: Output<String>

The timestamp for when the place index resource was created in ISO 8601 format.

Link copied to clipboard
val dataSource: Output<String>

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>?

The optional description for the place index resource.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val indexArn: Output<String>

The Amazon Resource Name (ARN) for the place index resource. Used to specify a resource across AWS.

Link copied to clipboard
val indexName: Output<String>

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

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

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.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val updateTime: Output<String>

The timestamp for when the place index resource was last update in ISO 8601.

Link copied to clipboard
val urn: Output<String>