interface RouteReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.EC2.RouteReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awsec2#RouteReference |
Java | software.amazon.awscdk.interfaces.ec2.RouteReference |
Python | aws_cdk.interfaces.aws_ec2.RouteReference |
TypeScript | aws-cdk-lib » interfaces » aws_ec2 » RouteReference |
A reference to a Route resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as interfaces_aws_ec2 } from 'aws-cdk-lib/interfaces';
const routeReference: interfaces_aws_ec2.RouteReference = {
cidrBlock: 'cidrBlock',
routeTableId: 'routeTableId',
};
Properties
| Name | Type | Description |
|---|---|---|
| cidr | string | The CidrBlock of the Route resource. |
| route | string | The RouteTableId of the Route resource. |
cidrBlock
Type:
string
The CidrBlock of the Route resource.
routeTableId
Type:
string
The RouteTableId of the Route resource.

.NET
Go
Java
Python
TypeScript