interface RouteCalculatorProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Location.Alpha.RouteCalculatorProps |
Go | github.com/aws/aws-cdk-go/awscdklocationalpha/v2#RouteCalculatorProps |
Java | software.amazon.awscdk.services.location.alpha.RouteCalculatorProps |
Python | aws_cdk.aws_location_alpha.RouteCalculatorProps |
TypeScript (source) | @aws-cdk/aws-location-alpha » RouteCalculatorProps |
Properties for a route calculator.
Example
new location.RouteCalculator(this, 'RouteCalculator', {
routeCalculatorName: 'MyRouteCalculator', // optional, defaults to a generated name
dataSource: location.DataSource.ESRI,
});
Properties
Name | Type | Description |
---|---|---|
data | Data | Data source for the route calculator. |
description? | string | A description for the route calculator. |
route | string | A name for the route calculator. |
dataSource
Type:
Data
Data source for the route calculator.
description?
Type:
string
(optional, default: no description)
A description for the route calculator.
routeCalculatorName?
Type:
string
(optional, default: A name is automatically generated)
A name for the route calculator.
Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, periods and underscores.