Class CfnRouteCalculator
Specifies a route calculator resource in your AWS account.
Inherited Members
Namespace: Amazon.CDK.AWS.Location
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRouteCalculator : CfnResource, IInspectable, ITaggableV2
Syntax (vb)
Public Class CfnRouteCalculator
Inherits CfnResource
Implements IInspectable, ITaggableV2
Remarks
You can send requests to a route calculator resource to estimate travel time, distance, and get directions. A route calculator sources traffic and road network data from your chosen data provider.
If your application is tracking or routing assets you use in your business, such as delivery vehicles or employees, you must not use Esri as your geolocation provider. See section 82 of the AWS service terms for more details.
CloudformationResource: AWS::Location::RouteCalculator
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Location;
var cfnRouteCalculator = new CfnRouteCalculator(this, "MyCfnRouteCalculator", new CfnRouteCalculatorProps {
CalculatorName = "calculatorName",
DataSource = "dataSource",
// the properties below are optional
Description = "description",
PricingPlan = "pricingPlan",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnRouteCalculator(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnRouteCalculator(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnRouteCalculator(Construct, String, ICfnRouteCalculatorProps) |
Properties
AttrArn | The Amazon Resource Name (ARN) for the route calculator resource. |
AttrCalculatorArn | Synonym for |
AttrCreateTime | The timestamp for when the route calculator resource was created in ISO 8601 format: |
AttrUpdateTime | The timestamp for when the route calculator resource was last updated in ISO 8601 format: |
CalculatorName | The name of the route calculator resource. |
CdkTagManager | Tag Manager which manages the tags for this resource. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
DataSource | Specifies the data provider of traffic and road network data. |
Description | The optional description for the route calculator resource. |
PricingPlan | No longer used. |
Tags | An array of key-value pairs to apply to this resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnRouteCalculator(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnRouteCalculator(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnRouteCalculator(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnRouteCalculator(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnRouteCalculator(Construct, String, ICfnRouteCalculatorProps)
public CfnRouteCalculator(Construct scope, string id, ICfnRouteCalculatorProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnRouteCalculatorProps
Resource properties.
Properties
AttrArn
The Amazon Resource Name (ARN) for the route calculator resource.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
Use the ARN when you specify a resource across all AWS .
CloudformationAttribute: Arn
AttrCalculatorArn
Synonym for Arn
.
public virtual string AttrCalculatorArn { get; }
Property Value
System.String
Remarks
The Amazon Resource Name (ARN) for the route calculator resource. Use the ARN when you specify a resource across all AWS .
CloudformationAttribute: CalculatorArn
AttrCreateTime
The timestamp for when the route calculator resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ
.
public virtual string AttrCreateTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreateTime
AttrUpdateTime
The timestamp for when the route calculator resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ
.
public virtual string AttrUpdateTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: UpdateTime
CalculatorName
The name of the route calculator resource.
public virtual string CalculatorName { get; set; }
Property Value
System.String
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
DataSource
Specifies the data provider of traffic and road network data.
public virtual string DataSource { get; set; }
Property Value
System.String
Description
The optional description for the route calculator resource.
public virtual string Description { get; set; }
Property Value
System.String
PricingPlan
No longer used.
public virtual string PricingPlan { get; set; }
Property Value
System.String
Remarks
If included, the only allowed value is RequestBasedUsage
.
Tags
An array of key-value pairs to apply to this resource.
public virtual ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>