CfnLocalGatewayRouteProps

class aws_cdk.aws_ec2.CfnLocalGatewayRouteProps(*, destination_cidr_block, local_gateway_route_table_id, local_gateway_virtual_interface_group_id=None, network_interface_id=None)

Bases: object

Properties for defining a CfnLocalGatewayRoute.

Parameters:
  • destination_cidr_block (str) – The CIDR block used for destination matches.

  • local_gateway_route_table_id (str) – The ID of the local gateway route table.

  • local_gateway_virtual_interface_group_id (Optional[str]) – The ID of the virtual interface group.

  • network_interface_id (Optional[str]) – The ID of the network interface.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-localgatewayroute.html

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

cfn_local_gateway_route_props = ec2.CfnLocalGatewayRouteProps(
    destination_cidr_block="destinationCidrBlock",
    local_gateway_route_table_id="localGatewayRouteTableId",

    # the properties below are optional
    local_gateway_virtual_interface_group_id="localGatewayVirtualInterfaceGroupId",
    network_interface_id="networkInterfaceId"
)

Attributes

destination_cidr_block

The CIDR block used for destination matches.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-localgatewayroute.html#cfn-ec2-localgatewayroute-destinationcidrblock

local_gateway_route_table_id

The ID of the local gateway route table.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-localgatewayroute.html#cfn-ec2-localgatewayroute-localgatewayroutetableid

local_gateway_virtual_interface_group_id

The ID of the virtual interface group.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-localgatewayroute.html#cfn-ec2-localgatewayroute-localgatewayvirtualinterfacegroupid

network_interface_id

The ID of the network interface.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-localgatewayroute.html#cfn-ec2-localgatewayroute-networkinterfaceid