Skip to content
v2.273.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_ec2 as interfaces_ec2 } from 'aws-cdk-lib/interfaces';
const routeReference: interfaces_ec2.RouteReference = {
  cidrBlock: 'cidrBlock',
  routeTableId: 'routeTableId',
};

Properties ​

cidrBlockstringcidr_blockstrcidrBlockStringCidrBlockstringCidrBlock*stringrequired#
The CidrBlock of the Route resource.
routeTableIdstringroute_table_idstrrouteTableIdStringRouteTableIdstringRouteTableId*stringrequired#
The RouteTableId of the Route resource.