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¶
DestinationCidrBlock
The CIDR range for the route. This must match the CIDR for the route exactly.
LocalGatewayRouteTableId
[required] The ID of the local gateway route table.
DryRun
Checks 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
.DestinationPrefixListId
Use a prefix list in place of
DestinationCidrBlock
. You cannot useDestinationPrefixListId
andDestinationCidrBlock
in 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"
)
)