local_gateway_routes
Retrieves a list of local_gateway_routes
in a region
Overview
Name | local_gateway_routes |
Type | Resource |
Description | local_gateway_routes |
Id | awscc.ec2.local_gateway_routes |
Fields
Name | Datatype | Description |
---|---|---|
destination_cidr_block | string | The CIDR block used for destination matches. |
local_gateway_route_table_id | string | The ID of the local gateway route table. |
region | string | AWS 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