CfnLocalGatewayRouteProps¶
-
class
aws_cdk.aws_ec2.
CfnLocalGatewayRouteProps
(*, destination_cidr_block, local_gateway_route_table_id, local_gateway_virtual_interface_group_id)¶ 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 (
str
) – The ID of the virtual interface group.
- Link
- ExampleMetadata
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_ec2 as ec2 cfn_local_gateway_route_props = ec2.CfnLocalGatewayRouteProps( destination_cidr_block="destinationCidrBlock", local_gateway_route_table_id="localGatewayRouteTableId", local_gateway_virtual_interface_group_id="localGatewayVirtualInterfaceGroupId" )
Attributes
-
destination_cidr_block
¶ The CIDR block used for destination matches.
-
local_gateway_route_table_id
¶ The ID of the local gateway route table.
-
local_gateway_virtual_interface_group_id
¶ The ID of the virtual interface group.