ec2_delete_client_vpn_route: Deletes a route from a Client VPN endpoint

View source: R/ec2_operations.R

ec2_delete_client_vpn_routeR Documentation

Deletes a route from a Client VPN endpoint

Description

Deletes a route from a Client VPN endpoint. You can only delete routes that you manually added using the CreateClientVpnRoute action. You cannot delete routes that were automatically added when associating a subnet. To remove routes that have been automatically added, disassociate the target subnet from the Client VPN endpoint.

See https://www.paws-r-sdk.com/docs/ec2_delete_client_vpn_route/ for full documentation.

Usage

ec2_delete_client_vpn_route(
  ClientVpnEndpointId,
  TargetVpcSubnetId = NULL,
  DestinationCidrBlock,
  DryRun = NULL
)

Arguments

ClientVpnEndpointId

[required] The ID of the Client VPN endpoint from which the route is to be deleted.

TargetVpcSubnetId

The ID of the target subnet used by the route.

DestinationCidrBlock

[required] The IPv4 address range, in CIDR notation, of the route to be deleted.

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 is UnauthorizedOperation.


paws.compute documentation built on Sept. 12, 2023, 1:28 a.m.