View a markdown version of this page

RouteIntermodalTransitOptions - Amazon Location Service

RouteIntermodalTransitOptions

Options for the transit leg of the intermodal route.

Contents

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

EnabledFor

Specifies the portion of the route for which this leg type is enabled. By default, the leg type is enabled for all legs. Valid values:

  • FirstLeg - Enable this leg type for the first non-pedestrian leg of the route.

  • LastLeg - Enable this leg type for the last non-pedestrian leg of the route.

  • EntireRoute - Enable this leg type for the entire route.

  • None - Disable this leg type entirely.

Type: Array of strings

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

Valid Values: FirstLeg | LastLeg | EntireRoute | None

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

See Also

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