Experimental
@aws-cdk/aws-location-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
DataSource Enum
Data source for a place index.
Example
ts
new location.PlaceIndex(this, 'PlaceIndex', {
placeIndexName: 'MyPlaceIndex', // optional, defaults to a generated name
dataSource: location.DataSource.HERE, // optional, defaults to Esri
});
python
location.PlaceIndex(self, "PlaceIndex",
place_index_name="MyPlaceIndex", # optional, defaults to a generated name
data_source=location.DataSource.HERE
)
java
PlaceIndex.Builder.create(this, "PlaceIndex")
.placeIndexName("MyPlaceIndex") // optional, defaults to a generated name
.dataSource(DataSource.HERE)
.build();
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
});
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,
})
Members
| Member | Description |
|---|---|
ESRI | Esri. |
GRAB | Grab provides routing functionality for Southeast Asia. |
HERE | HERE. |
Referenced by
PlaceIndexProps.dataSourcedata_sourcedataSourceDataSourceDataSourceRouteCalculatorProps.dataSourcedata_sourcedataSourceDataSourceDataSource