Skip to main content

transit_gateway_routes_list_only

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

Overview

Nametransit_gateway_routes_list_only
TypeResource
DescriptionResource Type definition for AWS::EC2::TransitGatewayRoute
Idaws.ec2.transit_gateway_routes_list_only

Fields

NameDatatypeDescription
transit_gateway_route_table_idstringThe ID of transit gateway route table.
destination_cidr_blockstringThe CIDR range used for destination matches. Routing decisions are based on the most specific match.
blackholebooleanIndicates whether to drop traffic that matches this route.
transit_gateway_attachment_idstringThe ID of transit gateway attachment.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all transit_gateway_routes in a region.

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

Permissions

For permissions required to operate on the transit_gateway_routes_list_only resource, see transit_gateway_routes