local_gateway_route
Gets an individual local_gateway_route
resource
Overview
Name | local_gateway_route |
Type | Resource |
Description | local_gateway_route |
Id | awscc.ec2.local_gateway_route |
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
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