View a markdown version of this page

RouteTransitOptions - Amazon Location Service

RouteTransitOptions

Options related to transit routing.

Note

Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

Contents

AccessibilityAttributes

Accessibility attributes to consider when calculating the route.

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 1 item.

Valid Values: Wheelchair

Required: No

AllowedModes

Allowed transit transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with ExcludedModes.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 15 items.

Valid Values: AerialTramway | Airplane | All | Bus | BusRapidTransit | CityTrain | Ferry | FunicularRailway | HighSpeedTrain | IntercityTrain | InterregionalTrain | LightRail | Monorail | PrivateBus | RegionalTrain | Subway

Required: No

ExcludedModes

Excluded transit transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with AllowedModes.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 15 items.

Valid Values: AerialTramway | Airplane | All | Bus | BusRapidTransit | CityTrain | Ferry | FunicularRailway | HighSpeedTrain | IntercityTrain | InterregionalTrain | LightRail | Monorail | PrivateBus | RegionalTrain | Subway

Required: No

MaxTransfers

Maximum number of transfers allowed when calculating the route.

Type: Integer

Valid Range: Minimum value of 0. Maximum value of 6.

Required: No

Pedestrian

Options for the pedestrian leg of the transit route.

Type: RouteTransitPedestrianOptions object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: