local_gateway_routes_list_only
Lists local_gateway_routes
in a region or regions, for all properties use local_gateway_routes
Overview
Name | local_gateway_routes_list_only |
Type | Resource |
Description | Describes a route for a local gateway route table. |
Id | aws.ec2.local_gateway_routes_list_only |
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. |
local_gateway_virtual_interface_group_id | string | The ID of the virtual interface group. |
network_interface_id | string | The ID of the network interface. |
state | string | The state of the route. |
type | string | The route type. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
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