Interface CfnRouteCalculatorProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRouteCalculatorProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-08-23T05:56:19.281Z")
@Stability(Stable)
public interface CfnRouteCalculatorProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnRouteCalculator
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.location.*; CfnRouteCalculatorProps cfnRouteCalculatorProps = CfnRouteCalculatorProps.builder() .calculatorName("calculatorName") .dataSource("dataSource") // the properties below are optional .description("description") .pricingPlan("pricingPlan") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnRouteCalculatorProps
static final class
An implementation forCfnRouteCalculatorProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The name of the route calculator resource.Specifies the data provider of traffic and road network data.default String
The optional description for the route calculator resource.default String
No longer used.getTags()
An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCalculatorName
The name of the route calculator resource.Requirements:
- Can use alphanumeric characters (A–Z, a–z, 0–9) , hyphens (-), periods (.), and underscores (_).
- Must be a unique Route calculator resource name.
- No spaces allowed. For example,
ExampleRouteCalculator
.
- See Also:
-
getDataSource
Specifies the data provider of traffic and road network data.This field is case-sensitive. Enter the valid values as shown. For example, entering
HERE
returns an error.Valid values include:
Esri
– For additional information about Esri 's coverage in your region of interest, see Esri details on street networks and traffic coverage .
Route calculators that use Esri as a data source only calculate routes that are shorter than 400 km.
Grab
– Grab provides routing functionality for Southeast Asia. For additional information about GrabMaps ' coverage, see GrabMaps countries and areas covered .Here
– For additional information about HERE Technologies ' coverage in your region of interest, see HERE car routing coverage and HERE truck routing coverage .
For additional information , see Data providers on the Amazon Location Service Developer Guide .
- See Also:
-
getDescription
The optional description for the route calculator resource.- See Also:
-
getPricingPlan
No longer used. If included, the only allowed value isRequestBasedUsage
.Allowed Values :
RequestBasedUsage
- See Also:
-
getTags
An array of key-value pairs to apply to this resource.- See Also:
-
builder
- Returns:
- a
CfnRouteCalculatorProps.Builder
ofCfnRouteCalculatorProps
-