Skip to main content

local_gateway_routes_list_only

Lists local_gateway_routes in a region or regions, for all properties use local_gateway_routes

Overview

Namelocal_gateway_routes_list_only
TypeResource
DescriptionDescribes a route for a local gateway route table.
Idaws.ec2.local_gateway_routes_list_only

Fields

NameDatatypeDescription
destination_cidr_blockstringThe CIDR block used for destination matches.
local_gateway_route_table_idstringThe ID of the local gateway route table.
local_gateway_virtual_interface_group_idstringThe ID of the virtual interface group.
network_interface_idstringThe ID of the network interface.
statestringThe state of the route.
typestringThe route type.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all local_gateway_routes in a region.

SELECT
region,
destination_cidr_block,
local_gateway_route_table_id
FROM aws.ec2.local_gateway_routes_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the local_gateway_routes_list_only resource, see local_gateway_routes