AWS::EC2::LocalGatewayRouteTableVPCAssociation
Associates the specified VPC with the specified local gateway route table.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::EC2::LocalGatewayRouteTableVPCAssociation", "Properties" : { "LocalGatewayRouteTableId" :String, "Tags" :[ Tag, ... ], "VpcId" :String} }
YAML
Type: AWS::EC2::LocalGatewayRouteTableVPCAssociation Properties: LocalGatewayRouteTableId:StringTags:- TagVpcId:String
Properties
LocalGatewayRouteTableId-
The ID of the local gateway route table.
Required: Yes
Type: String
Update requires: Replacement
Tags-
The tags assigned to the association.
Required: No
Type: List of Tag
Update requires: No interruption
VpcId-
The ID of the VPC.
Required: Yes
Type: String
Update requires: Replacement
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Reffunction, Refreturns the ID of the local gateway route table VPC association. For example:
{ "Ref": "lgw-vpc-assoc-0ee765bcc8EXAMPLE" }
For more information about using the Reffunction, see Ref.
Fn::GetAtt
The Fn::GetAttintrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAttintrinsic function, see Fn::GetAtt.
See also
-
Local gateway in Amazon Outposts User Guide
-
CreateLocalGatewayRouteTableVpcAssociation in the Amazon EC2 API Reference