Experimental
@aws-cdk/aws-location-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
AllowPlacesAction Enum
Actions for Places that an API key resource grants permissions to perform.
Example
ts
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
| Member | 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. |
Referenced by
ApiKeyProps.allowPlacesActionsallow_places_actionsallowPlacesActionsAllowPlacesActionsAllowPlacesActions