Experimental
@aws-cdk/aws-location-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
AllowMapsAction Enum
Actions for Maps 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 |
|---|---|
GET_STATIC_MAP | Allows getting static map images. |
GET_TILE | Allows getting map tiles for rendering. |
ANY | Allows any maps actions. |
Referenced by
ApiKeyProps.allowMapsActionsallow_maps_actionsallowMapsActionsAllowMapsActionsAllowMapsActions