> **Experimental**
>
> `@aws-cdk/aws-ec2-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# TransitGatewayRouteProps

Common properties for a Transit Gateway Route.

Extends: TransitGatewayRouteProps
Extends: BaseTransitGatewayRouteProps
Used as props by: TransitGatewayRoute

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/transit-gateway-route.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-ec2-alpha/lib/transit-gateway-route.ts#L56)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ec2_alpha from '@aws-cdk/aws-ec2-alpha';

declare const transitGatewayAttachment: ec2_alpha.ITransitGatewayAttachment;
declare const transitGatewayRouteTable: ec2_alpha.TransitGatewayRouteTable;
const transitGatewayRouteProps: ec2_alpha.TransitGatewayRouteProps = {
  destinationCidrBlock: 'destinationCidrBlock',
  transitGatewayAttachment: transitGatewayAttachment,
  transitGatewayRouteTable: transitGatewayRouteTable,

  // the properties below are optional
  transitGatewayRouteName: 'transitGatewayRouteName',
};
```

## Properties

- `destinationCidrBlock`: string (required) — The destination CIDR block for this route.

  Destination Cidr cannot overlap for static routes but is allowed for propagated routes.
  When overlapping occurs, static routes take precedence over propagated routes.

- `transitGatewayAttachment`: [ITransitGatewayAttachment](/cdk/api/v2/docs/@aws-cdk_aws-ec2-alpha.ITransitGatewayAttachment.html) (required) — The transit gateway attachment to route the traffic to.

- `transitGatewayRouteName`: string — Physical name of this Transit Gateway Route.

  **Default:** Assigned by CloudFormation.

- `transitGatewayRouteTable`: [ITransitGatewayRouteTable](/cdk/api/v2/docs/@aws-cdk_aws-ec2-alpha.ITransitGatewayRouteTable.html) (required) — The transit gateway route table you want to install this route into.
