aws-cdk-lib.aws_ec2.CfnTransitGatewayRouteTableProps

interface CfnTransitGatewayRouteTableProps

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnTransitGatewayRouteTableProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnTransitGatewayRouteTableProps
Javasoftware.amazon.awscdk.services.ec2.CfnTransitGatewayRouteTableProps
Pythonaws_cdk.aws_ec2.CfnTransitGatewayRouteTableProps
TypeScript aws-cdk-lib » aws_ec2 » CfnTransitGatewayRouteTableProps

Properties for defining a CfnTransitGatewayRouteTable.

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 cfnTransitGatewayRouteTableProps: ec2.CfnTransitGatewayRouteTableProps = {
  transitGatewayId: 'transitGatewayId',

  // the properties below are optional
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
transitGatewayIdstringThe ID of the transit gateway.
tags?CfnTag[]Any tags assigned to the route table.

transitGatewayId

Type: string

The ID of the transit gateway.


tags?

Type: CfnTag[] (optional)

Any tags assigned to the route table.