enum AllowPlacesAction
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Location.Alpha.AllowPlacesAction |
Go | github.com/aws/aws-cdk-go/awscdklocationalpha/v2#AllowPlacesAction |
Java | software.amazon.awscdk.services.location.alpha.AllowPlacesAction |
Python | aws_cdk.aws_location_alpha.AllowPlacesAction |
TypeScript (source) | @aws-cdk/aws-location-alpha ยป AllowPlacesAction |
Actions for Places that an API key resource grants permissions to perform.
Example
new location.ApiKey(this, 'APIKeyAny', {
// specify allowed actions
allowMapsActions: [
location.AllowMapsAction.GET_STATIC_MAP,
],
allowPlacesActions: [
location.AllowPlacesAction.GET_PLACE,
],
allowRoutesActions: [
location.AllowRoutesAction.CALCULATE_ISOLINES,
],
});
Members
| Name | Description |
|---|---|
| AUTOCOMPLETE | Allows auto-completion of search text. |
| GEOCODE | Allows finding geo coordinates of a known place. |
| GET_PLACE | Allows getting details of a place. |
| REVERSE_GEOCODE | Allows getting nearest address to geo coordinates. |
| SEARCH_NEARBY | Allows category based places search around geo coordinates. |
| SEARCH_TEXT | Allows place or address search based on free-form text. |
| SUGGEST | Allows suggestions based on an incomplete or misspelled query. |
| ANY | Allows any places actions. |
AUTOCOMPLETE
Allows auto-completion of search text.
GEOCODE
Allows finding geo coordinates of a known place.
GET_PLACE
Allows getting details of a place.
REVERSE_GEOCODE
Allows getting nearest address to geo coordinates.
SEARCH_NEARBY
Allows category based places search around geo coordinates.
SEARCH_TEXT
Allows place or address search based on free-form text.
SUGGEST
Allows suggestions based on an incomplete or misspelled query.
ANY
Allows any places actions.

.NET
Go
Java
Python
TypeScript (