interface TransitGatewayRouteReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.EC2.TransitGatewayRouteReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awsec2#TransitGatewayRouteReference |
Java | software.amazon.awscdk.interfaces.ec2.TransitGatewayRouteReference |
Python | aws_cdk.interfaces.aws_ec2.TransitGatewayRouteReference |
TypeScript | aws-cdk-lib » interfaces » aws_ec2 » TransitGatewayRouteReference |
A reference to a TransitGatewayRoute resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as interfaces_aws_ec2 } from 'aws-cdk-lib/interfaces';
const transitGatewayRouteReference: interfaces_aws_ec2.TransitGatewayRouteReference = {
destinationCidrBlock: 'destinationCidrBlock',
transitGatewayRouteTableId: 'transitGatewayRouteTableId',
};
Properties
| Name | Type | Description |
|---|---|---|
| destination | string | The DestinationCidrBlock of the TransitGatewayRoute resource. |
| transit | string | The TransitGatewayRouteTableId of the TransitGatewayRoute resource. |
destinationCidrBlock
Type:
string
The DestinationCidrBlock of the TransitGatewayRoute resource.
transitGatewayRouteTableId
Type:
string
The TransitGatewayRouteTableId of the TransitGatewayRoute resource.

.NET
Go
Java
Python
TypeScript