Skip to main content

local_gateway_route

Gets an individual local_gateway_route resource

Overview

Namelocal_gateway_route
TypeResource
Descriptionlocal_gateway_route
Idawscc.ec2.local_gateway_route

Fields

NameDatatypeDescription
destination_cidr_blockstringThe CIDR block used for destination matches.
local_gateway_route_table_idstringThe ID of the local gateway route table.
local_gateway_virtual_interface_group_idstringThe ID of the virtual interface group.
network_interface_idstringThe ID of the network interface.
statestringThe state of the route.
typestringThe route type.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
destination_cidr_block,
local_gateway_route_table_id,
local_gateway_virtual_interface_group_id,
network_interface_id,
state,
type
FROM awscc.ec2.local_gateway_route
WHERE data__Identifier = '<DestinationCidrBlock>|<LocalGatewayRouteTableId>';

Permissions

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

Read

ec2:SearchLocalGatewayRoutes

Delete

ec2:DeleteLocalGatewayRoute,
ec2:SearchLocalGatewayRoutes

Update

ec2:ModifyLocalGatewayRoute,
ec2:SearchLocalGatewayRoutes