Skip to main content

local_gateway_routes

Retrieves a list of local_gateway_routes in a region

Overview

Namelocal_gateway_routes
TypeResource
Descriptionlocal_gateway_routes
Idawscc.ec2.local_gateway_routes

Fields

NameDatatypeDescription
destination_cidr_blockstringThe CIDR block used for destination matches.
local_gateway_route_table_idstringThe ID of the local gateway route table.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
destination_cidr_block,
local_gateway_route_table_id
FROM awscc.ec2.local_gateway_routes
WHERE region = 'us-east-1'

Permissions

To operate on the local_gateway_routes resource, the following permissions are required:

Create

ec2:CreateLocalGatewayRoute,
ec2:SearchLocalGatewayRoutes

List

ec2:DescribeLocalGatewayRouteTables,
ec2:SearchLocalGatewayRoutes