Skip to content
v2.276.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_apigatewayv2 as interfaces_apigatewayv2 } from 'aws-cdk-lib/interfaces';
const routeReference: interfaces_apigatewayv2.RouteReference = {
  apiId: 'apiId',
  routeId: 'routeId',
};

Properties ​

apiIdstringapi_idstrapiIdStringApiIdstringApiId*stringrequired#
The ApiId of the Route resource.
routeIdstringroute_idstrrouteIdStringRouteIdstringRouteId*stringrequired#
The RouteId of the Route resource.