TransitGatewayRouteReference

class aws_cdk.aws_ec2.TransitGatewayRouteReference(*, destination_cidr_block, transit_gateway_route_table_id)

Bases: object

A reference to a TransitGatewayRoute resource.

Parameters:
  • destination_cidr_block (str) – The DestinationCidrBlock of the TransitGatewayRoute resource.

  • transit_gateway_route_table_id (str) – The TransitGatewayRouteTableId of the TransitGatewayRoute resource.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

transit_gateway_route_reference = ec2.TransitGatewayRouteReference(
    destination_cidr_block="destinationCidrBlock",
    transit_gateway_route_table_id="transitGatewayRouteTableId"
)

Attributes

destination_cidr_block

The DestinationCidrBlock of the TransitGatewayRoute resource.

transit_gateway_route_table_id

The TransitGatewayRouteTableId of the TransitGatewayRoute resource.