Skip to main content

route_tables_list_only

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

Overview

Nameroute_tables_list_only
TypeResource
DescriptionSpecifies a route table for the specified VPC. After you create a route table, you can add routes and associate the table with a subnet.
For more information, see [Route tables](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html) in the *Amazon VPC User Guide*.
Idaws.ec2.route_tables_list_only

Fields

NameDatatypeDescription
route_table_idstring
tagsarrayAny tags assigned to the route table.
vpc_idstringThe ID of the VPC.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all route_tables in a region.

SELECT
region,
route_table_id
FROM aws.ec2.route_tables_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the route_tables_list_only resource, see route_tables