# RouteReference

A reference to a Route 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_refactorspaces as interfaces_refactorspaces } from 'aws-cdk-lib/interfaces';
const routeReference: interfaces_refactorspaces.RouteReference = {
  applicationIdentifier: 'applicationIdentifier',
  environmentIdentifier: 'environmentIdentifier',
  routeArn: 'routeArn',
  routeIdentifier: 'routeIdentifier',
};
```

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_refactorspaces as interfaces_refactorspaces

route_reference = interfaces_refactorspaces.RouteReference(
    application_identifier="applicationIdentifier",
    environment_identifier="environmentIdentifier",
    route_arn="routeArn",
    route_identifier="routeIdentifier"
)
```

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.refactorspaces.*;

RouteReference routeReference = RouteReference.builder()
        .applicationIdentifier("applicationIdentifier")
        .environmentIdentifier("environmentIdentifier")
        .routeArn("routeArn")
        .routeIdentifier("routeIdentifier")
        .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.RefactorSpaces;

var routeReference = new RouteReference {
    ApplicationIdentifier = "applicationIdentifier",
    EnvironmentIdentifier = "environmentIdentifier",
    RouteArn = "routeArn",
    RouteIdentifier = "routeIdentifier"
};
```

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"

routeReference := &RouteReference{
	ApplicationIdentifier: jsii.String("applicationIdentifier"),
	EnvironmentIdentifier: jsii.String("environmentIdentifier"),
	RouteArn: jsii.String("routeArn"),
	RouteIdentifier: jsii.String("routeIdentifier"),
}
```

## Properties

- `applicationIdentifier`: string (required) — The ApplicationIdentifier of the Route resource.

- `environmentIdentifier`: string (required) — The EnvironmentIdentifier of the Route resource.

- `routeArn`: string (required) — The ARN of the Route resource.

- `routeIdentifier`: string (required) — The RouteIdentifier of the Route resource.
