LocalGatewayRouteReference

class aws_cdk.aws_ec2.LocalGatewayRouteReference(*, destination_cidr_block, local_gateway_route_table_id)

Bases: object

A reference to a LocalGatewayRoute resource.

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

  • local_gateway_route_table_id (str) – The LocalGatewayRouteTableId of the LocalGatewayRoute 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

local_gateway_route_reference = ec2.LocalGatewayRouteReference(
    destination_cidr_block="destinationCidrBlock",
    local_gateway_route_table_id="localGatewayRouteTableId"
)

Attributes

destination_cidr_block

The DestinationCidrBlock of the LocalGatewayRoute resource.

local_gateway_route_table_id

The LocalGatewayRouteTableId of the LocalGatewayRoute resource.