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

Common properties for creating a Transit Gateway Route Table resource.

Used as props by: [TransitGatewayRouteTable](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-ec2-alpha.TransitGatewayRouteTable.html)

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

## Example

TypeScript:

```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 transitGateway: ec2_alpha.TransitGateway;
const transitGatewayRouteTableProps: ec2_alpha.TransitGatewayRouteTableProps = {
  transitGateway: transitGateway,

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

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ec2_alpha as ec2_alpha

# transit_gateway: ec2_alpha.TransitGateway

transit_gateway_route_table_props = ec2_alpha.TransitGatewayRouteTableProps(
    transit_gateway=transit_gateway,

    # the properties below are optional
    transit_gateway_route_table_name="transitGatewayRouteTableName"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.alpha.*;

TransitGateway transitGateway;

TransitGatewayRouteTableProps transitGatewayRouteTableProps = TransitGatewayRouteTableProps.builder()
        .transitGateway(transitGateway)

        // the properties below are optional
        .transitGatewayRouteTableName("transitGatewayRouteTableName")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.ec2.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ec2.Alpha;

TransitGateway transitGateway;

var transitGatewayRouteTableProps = new TransitGatewayRouteTableProps {
    TransitGateway = transitGateway,

    // the properties below are optional
    TransitGatewayRouteTableName = "transitGatewayRouteTableName"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awsec2alpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import ec2_alpha "github.com/aws/aws-cdk-go/awsec2alpha"

var transitGateway TransitGateway

transitGatewayRouteTableProps := &TransitGatewayRouteTableProps{
	TransitGateway: transitGateway,

	// the properties below are optional
	TransitGatewayRouteTableName: jsii.String("transitGatewayRouteTableName"),
}
```

## Properties

- `transitGateway`: [ITransitGateway](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-ec2-alpha.ITransitGateway.html) (required) — The Transit Gateway that this route table belongs to.

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

  **Default:** Assigned by CloudFormation.
