interface CfnRouteTableProps
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.EC2.CfnRouteTableProps | 
  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnRouteTableProps | 
  Java | software.amazon.awscdk.services.ec2.CfnRouteTableProps | 
  Python | aws_cdk.aws_ec2.CfnRouteTableProps | 
  TypeScript  | aws-cdk-lib » aws_ec2 » CfnRouteTableProps | 
Properties for defining a CfnRouteTable.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-routetable.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnRouteTableProps: ec2.CfnRouteTableProps = {
  vpcId: 'vpcId',
  // the properties below are optional
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
Properties
| Name | Type | Description | 
|---|---|---|
| vpc | string | The ID of the VPC. | 
| tags? | Cfn[] | Any tags assigned to the route table. | 
vpcId
Type:
string
The ID of the VPC.
tags?
Type:
Cfn[]
(optional)
Any tags assigned to the route table.

 .NET
 Go
 Java
 Python
 TypeScript