Skip to content
v2.278.0

RouteReference Struct ​

A reference to a Route resource.

Example ​

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
# 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
// 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();
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"
};
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 ​

applicationIdentifierstringapplication_identifierstrapplicationIdentifierStringApplicationIdentifierstringApplicationIdentifier*string required #
The ApplicationIdentifier of the Route resource.
environmentIdentifierstringenvironment_identifierstrenvironmentIdentifierStringEnvironmentIdentifierstringEnvironmentIdentifier*string required #
The EnvironmentIdentifier of the Route resource.
routeArnstringroute_arnstrrouteArnStringRouteArnstringRouteArn*string required #
The ARN of the Route resource.
routeIdentifierstringroute_identifierstrrouteIdentifierStringRouteIdentifierstringRouteIdentifier*string required #
The RouteIdentifier of the Route resource.