# RouteCalculatorReference

A reference to a RouteCalculator resource.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_location as interfaces_location } from 'aws-cdk-lib/interfaces';
const routeCalculatorReference: interfaces_location.RouteCalculatorReference = {
  calculatorName: 'calculatorName',
  routeCalculatorArn: 'routeCalculatorArn',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_location as interfaces_location

route_calculator_reference = interfaces_location.RouteCalculatorReference(
    calculator_name="calculatorName",
    route_calculator_arn="routeCalculatorArn"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.location.*;

RouteCalculatorReference routeCalculatorReference = RouteCalculatorReference.builder()
        .calculatorName("calculatorName")
        .routeCalculatorArn("routeCalculatorArn")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.Location;

var routeCalculatorReference = new RouteCalculatorReference {
    CalculatorName = "calculatorName",
    RouteCalculatorArn = "routeCalculatorArn"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

routeCalculatorReference := &RouteCalculatorReference{
	CalculatorName: jsii.String("calculatorName"),
	RouteCalculatorArn: jsii.String("routeCalculatorArn"),
}
```

## Properties

- `calculatorName`: string (required) — The CalculatorName of the RouteCalculator resource.

- `routeCalculatorArn`: string (required) — The ARN of the RouteCalculator resource.
