AWS::EC2::LocalGatewayRouteTableVPCAssociation - AWS CloudFormation

AWS::EC2::LocalGatewayRouteTableVPCAssociation

Associates the specified VPC with the specified local gateway route table.

Syntax

To declare this entity in your AWS 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: String Tags: - Tag VpcId: 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: Array 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 Ref function, Ref returns the ID of the local gateway route table VPC association. For example:

{ "Ref": "lgw-vpc-assoc-0ee765bcc8EXAMPLE" }

For more information about using the Ref function, see Ref.

Fn::GetAtt

The Fn::GetAtt intrinsic 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::GetAtt intrinsic function, see Fn::GetAtt.

LocalGatewayId

The ID of the local gateway.

LocalGatewayRouteTableVpcAssociationId

The ID of the association.

State

The state of the association.

See also