Skip to content

/AWS1/CL_EC2=>DELETEVPNGATEWAY()

About DeleteVpnGateway

Deletes the specified virtual private gateway. You must first detach the virtual private gateway from the VPC. Note that you don't need to delete the virtual private gateway if you plan to delete and recreate the VPN connection between your VPC and your network.

Method Signature

IMPORTING

Required arguments:

IV_VPNGATEWAYID TYPE /AWS1/EC2VPNGATEWAYID /AWS1/EC2VPNGATEWAYID

The ID of the virtual private gateway.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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.