Experimental
@aws-cdk/aws-ec2-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
TransitGatewayRouteTableProps Struct
Common properties for creating a Transit Gateway Route Table resource.
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 transitGateway: ec2_alpha.TransitGateway;
const transitGatewayRouteTableProps: ec2_alpha.TransitGatewayRouteTableProps = {
transitGateway: transitGateway,
// the properties below are optional
transitGatewayRouteTableName: 'transitGatewayRouteTableName',
};
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
// 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();
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"
};
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
transitGatewayITransitGatewaytransit_gatewayITransitGatewaytransitGatewayITransitGatewayTransitGatewayITransitGatewayTransitGatewayITransitGatewayrequired#The Transit Gateway that this route table belongs to.
transitGatewayRouteTableNameoptionalstringtransit_gateway_route_table_nameoptionalstrtransitGatewayRouteTableNameoptionalStringTransitGatewayRouteTableNameoptionalstringTransitGatewayRouteTableNameoptional*string#Physical name of this Transit Gateway Route Table.
Default: Assigned by CloudFormation.