WaypointOptimizationAvoidanceOptions
Specifies options for areas to avoid. This is a best-effort avoidance setting, meaning the router will try to honor the avoidance preferences but may still include restricted areas if no feasible alternative route exists. If avoidance options are not followed, the response will indicate that the avoidance criteria were violated.
Contents
- Areas
-
Areas to be avoided.
Type: Array of WaypointOptimizationAvoidanceArea objects
Array Members: Minimum number of 0 items. Maximum number of 20 items.
Required: No
- CarShuttleTrains
-
Avoidance options for cars-shuttles-trains.
Type: Boolean
Required: No
- ControlledAccessHighways
-
Avoid controlled access highways while calculating the route.
Type: Boolean
Required: No
- DirtRoads
-
Avoid dirt roads while calculating the route.
Type: Boolean
Required: No
- Ferries
-
Avoidance options for ferries.
Type: Boolean
Required: No
- TollRoads
-
Avoids roads where the specified toll transponders are the only mode of payment.
Type: Boolean
Required: No
- Tunnels
-
Avoid tunnels while calculating the route.
Type: Boolean
Required: No
- UTurns
-
Avoid U-turns for calculation on highways and motorways.
Type: Boolean
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: