local_gateway_route_table
Gets or updates an individual local_gateway_route_table
resource, use local_gateway_route_tables
to retrieve a list of resources or to create or delete a resource.
Overview
Name | local_gateway_route_table |
Type | Resource |
Description | Describes a route table for a local gateway. |
Id | aws.ec2.local_gateway_route_table |
Fields
Name | Datatype | Description |
---|---|---|
local_gateway_route_table_id | string | The ID of the local gateway route table. |
local_gateway_route_table_arn | string | The ARN of the local gateway route table. |
local_gateway_id | string | The ID of the local gateway. |
outpost_arn | string | The ARN of the outpost. |
owner_id | string | The owner of the local gateway route table. |
state | string | The state of the local gateway route table. |
mode | string | The mode of the local gateway route table. |
tags | array | The tags for the local gateway route table. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
update_resource | UPDATE | data__Identifier, data__PatchDocument, region |
get_resource | SELECT | data__Identifier, region |
SELECT
Example
SELECT
region,
local_gateway_route_table_id,
local_gateway_route_table_arn,
local_gateway_id,
outpost_arn,
owner_id,
state,
mode,
tags
FROM aws.ec2.local_gateway_route_table
WHERE region = 'us-east-1' AND data__Identifier = '<LocalGatewayRouteTableId>';
Permissions
To operate on the local_gateway_route_table
resource, the following permissions are required:
Read
ec2:DescribeLocalGatewayRouteTables
Update
ec2:DescribeLocalGatewayRouteTables,
ec2:CreateTags,
ec2:DeleteTags