# CfnTransitGatewayRouteTableProps

Properties for defining a `CfnTransitGatewayRouteTable`.

Extends: CfnTransitGatewayRouteTableProps
Used as props by: CfnTransitGatewayRouteTable

- Source: Generated code
- Type last changed: v2.227.0 · 21 Nov 2025

## 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 ec2 } from 'aws-cdk-lib';
const cfnTransitGatewayRouteTableProps: ec2.CfnTransitGatewayRouteTableProps = {
  transitGatewayId: 'transitGatewayId',

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

## Properties

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — Any tags assigned to the route table.

- `transitGatewayId`: string | [ITransitGatewayRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_ec2.ITransitGatewayRef.html) (required) — The ID of the transit gateway.
