Skip to main content

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

Namelocal_gateway_route_table
TypeResource
DescriptionDescribes a route table for a local gateway.
Idaws.ec2.local_gateway_route_table

Fields

NameDatatypeDescription
local_gateway_route_table_idstringThe ID of the local gateway route table.
local_gateway_route_table_arnstringThe ARN of the local gateway route table.
local_gateway_idstringThe ID of the local gateway.
outpost_arnstringThe ARN of the outpost.
owner_idstringThe owner of the local gateway route table.
statestringThe state of the local gateway route table.
modestringThe mode of the local gateway route table.
tagsarrayThe tags for the local gateway route table.
regionstringAWS region.

Methods

NameAccessible byRequired Params
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
get_resourceSELECTdata__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