Delete Local Gateway Route
| ec2_delete_local_gateway_route | R Documentation |
Deletes the specified route from the specified local gateway route table¶
Description¶
Deletes the specified route from the specified local gateway route table.
Usage¶
ec2_delete_local_gateway_route(DestinationCidrBlock,
LocalGatewayRouteTableId, DryRun, DestinationPrefixListId)
Arguments¶
DestinationCidrBlockThe CIDR range for the route. This must match the CIDR for the route exactly.
LocalGatewayRouteTableId[required] The ID of the local gateway route table.
DryRunChecks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.DestinationPrefixListIdUse a prefix list in place of
DestinationCidrBlock. You cannot useDestinationPrefixListIdandDestinationCidrBlockin the same request.
Value¶
A list with the following syntax:
list(
Route = list(
DestinationCidrBlock = "string",
LocalGatewayVirtualInterfaceGroupId = "string",
Type = "static"|"propagated",
State = "pending"|"active"|"blackhole"|"deleting"|"deleted",
LocalGatewayRouteTableId = "string",
LocalGatewayRouteTableArn = "string",
OwnerId = "string",
SubnetId = "string",
CoipPoolId = "string",
NetworkInterfaceId = "string",
DestinationPrefixListId = "string"
)
)