> **Experimental**
>
> `@aws-cdk/aws-location-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# PlaceIndexProps

Properties for a place index.

Used as props by: [PlaceIndex](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-location-alpha.PlaceIndex.html)

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/place-index.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-location-alpha/lib/place-index.ts#L33)

## Example

TypeScript:

```ts
new location.PlaceIndex(this, 'PlaceIndex', {
  placeIndexName: 'MyPlaceIndex', // optional, defaults to a generated name
  dataSource: location.DataSource.HERE, // optional, defaults to Esri
});
```

Python:

```python
location.PlaceIndex(self, "PlaceIndex",
    place_index_name="MyPlaceIndex",  # optional, defaults to a generated name
    data_source=location.DataSource.HERE
)
```

Java:

```java
PlaceIndex.Builder.create(this, "PlaceIndex")
        .placeIndexName("MyPlaceIndex") // optional, defaults to a generated name
        .dataSource(DataSource.HERE)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.Location.Alpha
new PlaceIndex(this, "PlaceIndex", new PlaceIndexProps {
    PlaceIndexName = "MyPlaceIndex",  // optional, defaults to a generated name
    DataSource = DataSource.HERE
});
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdklocationalpha/v2
location.NewPlaceIndex(this, jsii.String("PlaceIndex"), &PlaceIndexProps{
	PlaceIndexName: jsii.String("MyPlaceIndex"),
	 // optional, defaults to a generated name
	DataSource: location.DataSource_HERE,
})
```

## Properties

- `dataSource`: [DataSource](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-location-alpha.DataSource.html) = DataSource.ESRI — Data source for the place index.

- `description`: string — A description for the place index.

  **Default:** no description

- `intendedUse`: [IntendedUse](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-location-alpha.IntendedUse.html) = IntendedUse.SINGLE_USE — Intend use for the results of an operation.

- `placeIndexName`: string — A name for the place index.

  **Default:** A name is automatically generated

  Must be between 1 and 100 characters and contain only alphanumeric characters,
  hyphens, periods and underscores.
