ec2_detach_vpn_gateway: Detaches a virtual private gateway from a VPC

View source: R/ec2_operations.R

ec2_detach_vpn_gatewayR Documentation

Detaches a virtual private gateway from a VPC

Description

Detaches a virtual private gateway from a VPC. You do this if you're planning to turn off the VPC and not use it anymore. You can confirm a virtual private gateway has been completely detached from a VPC by describing the virtual private gateway (any attachments to the virtual private gateway are also described).

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

Usage

ec2_detach_vpn_gateway(VpcId, VpnGatewayId, DryRun = NULL)

Arguments

VpcId

[required] The ID of the VPC.

VpnGatewayId

[required] The ID of the virtual private gateway.

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, 2024, 6:12 a.m.