Experimental
@aws-cdk/aws-location-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
AllowRoutesAction Enum
Actions for Routes 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 |
|---|---|
CALCULATE_ISOLINES | Allows isoline calculation. |
CALCULATE_ROUTES | Allows point to point routing. |
CALCULATE_ROUTE_MATRIX | Allows matrix routing. |
OPTIMIZE_WAYPOINTS | Allows computing the best sequence of waypoints. |
SNAP_TO_ROADS | Allows snapping GPS points to a likely route. |
ANY | Allows any routes actions. |
Referenced by
ApiKeyProps.allowRoutesActionsallow_routes_actionsallowRoutesActionsAllowRoutesActionsAllowRoutesActions