AWS::EC2::LocalGatewayRouteCreates a static route for the specified local gateway route table. You must specify one of the following targets:. - `LocalGatewayVirtualInterfaceGroupId` - `NetworkInterfaceId`
import { CfnLocalGatewayRoute } from 'aws-cdk-lib/aws-ec2';Or use the module namespace:
import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.CfnLocalGatewayRouteConfiguration passed to the constructor as CfnLocalGatewayRouteProps.
destinationCidrBlockRequiredstringThe CIDR block used for destination matches.
localGatewayRouteTableIdRequiredstringThe ID of the local gateway route table.
localGatewayVirtualInterfaceGroupIdOptionalstringThe ID of the virtual interface group.
networkInterfaceIdOptionalstringThe ID of the network interface.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.
Download Free Infographicaws-ec2AWS::EC2::LocalGatewayRoute