AWS::EC2::LocalGatewayRouteTableVPCAssociationResource Type definition for Local Gateway Route Table VPC Association which describes an association between a local gateway route table and a VPC.
3 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
LocalGatewayRouteTableId | string | RequiredCreate-only |
VpcId | string | RequiredCreate-only |
Tags | array |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
LocalGatewayId | string | The ID of the local gateway. |
LocalGatewayRouteTableVpcAssociationId | string | The ID of the association. |
State | string | The state of the association. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::LocalGatewayRouteTableVPCAssociation
Resources:
MyResource:
Type: AWS::EC2::LocalGatewayRouteTableVPCAssociation
Properties:
LocalGatewayRouteTableId: "my-localgatewayroutetableid"
VpcId: "my-vpcid"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
ec2:CreateLocalGatewayRouteTableVpcAssociationec2:DescribeLocalGatewayRouteTableVpcAssociationsec2:CreateTagsec2:DescribeLocalGatewayRouteTableVpcAssociationsec2:DescribeTagsec2:DescribeLocalGatewayRouteTableVpcAssociationsec2:CreateTagsec2:DeleteTagsec2:DescribeTagsec2:DeleteLocalGatewayRouteTableVpcAssociationec2:DescribeLocalGatewayRouteTableVpcAssociationsec2:DeleteTagsec2:DescribeLocalGatewayRouteTableVpcAssociationsEverything you need to know about EC2 on one page. HD quality, print-friendly.
Download Free InfographicLocalGatewayRouteTableVpcAssociationIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
LocalGatewayRouteTableIdVpcId