AWS::EC2::LocalGatewayRouteResource Type definition for Local Gateway Route which describes a route for a local gateway route table.
4 configurable properties. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
DestinationCidrBlock | string | Create-only |
LocalGatewayRouteTableId | string | Create-only |
LocalGatewayVirtualInterfaceGroupId | string | |
NetworkInterfaceId | string |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
State | string | The state of the route. |
Type | string | The route type. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::LocalGatewayRoute
Resources:
MyResource:
Type: AWS::EC2::LocalGatewayRoute
Properties:Permissions CloudFormation needs in your IAM role to manage this resource.
ec2:CreateLocalGatewayRouteec2:SearchLocalGatewayRoutesec2:SearchLocalGatewayRoutesec2:DeleteLocalGatewayRouteec2:SearchLocalGatewayRoutesec2:DescribeLocalGatewayRouteTablesec2:SearchLocalGatewayRoutesec2:ModifyLocalGatewayRouteec2:SearchLocalGatewayRoutesEverything you need to know about EC2 on one page. HD quality, print-friendly.
Download Free InfographicDestinationCidrBlockThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
DestinationCidrBlockLocalGatewayRouteTableId