AWS::EC2::LocalGatewayRouteTable
Describes a local gateway route table.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::EC2::LocalGatewayRouteTable", "Properties" : { "LocalGatewayId" :
String
, "Mode" :String
, "Tags" :[ Tag, ... ]
} }
YAML
Type: AWS::EC2::LocalGatewayRouteTable Properties: LocalGatewayId:
String
Mode:String
Tags:- Tag
Properties
LocalGatewayId
-
The ID of the local gateway.
Required: Yes
Type: String
Update requires: Replacement
Mode
-
The mode of the local gateway route table.
Required: No
Type: String
Allowed values:
direct-vpc-routing | coip
Update requires: Replacement
-
The tags assigned to the local gateway route table.
Required: No
Type: Array of Tag
Update requires: No interruption
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. For example:
{ "Ref": "lgw-rtb-059615ef7deEXAMPLE" }
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
.
LocalGatewayRouteTableArn
-
The Amazon Resource Name (ARN) of the local gateway route table.
LocalGatewayRouteTableId
-
The ID of the local gateway route table.
OutpostArn
-
The Amazon Resource Name (ARN) of the Outpost.
OwnerId
-
The ID of the AWS account that owns the local gateway route table.
State
-
The state of the local gateway route table.
See also
-
Local gateway in AWS Outposts User Guide
-
CreateLocalGatewayRouteTable in the Amazon EC2 API Reference