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 AWS::EC2::LocalGatewayRoute.

Parameters
  • destination_cidr_block (str) – AWS::EC2::LocalGatewayRoute.DestinationCidrBlock.

  • local_gateway_route_table_id (str) – AWS::EC2::LocalGatewayRoute.LocalGatewayRouteTableId.

  • local_gateway_virtual_interface_group_id (str) – AWS::EC2::LocalGatewayRoute.LocalGatewayVirtualInterfaceGroupId.

Link

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

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

AWS::EC2::LocalGatewayRoute.DestinationCidrBlock.

Link

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

Return type

str

local_gateway_route_table_id

AWS::EC2::LocalGatewayRoute.LocalGatewayRouteTableId.

Link

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

Return type

str

local_gateway_virtual_interface_group_id

AWS::EC2::LocalGatewayRoute.LocalGatewayVirtualInterfaceGroupId.

Link

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

Return type

str