Detaches a VPN gateway from a VPC.
public class DetachVpnGatewayRequest : EC2Request
Initializes a new instance of theclass
Serves as a hash function for a particular type.(Inherited from Object.)
Gets the type of the current instance.(Inherited from Object.)
Checks if VpcId property is set
Checks if VpnGatewayId property is set
Returns a string that represents the current object.(Inherited from Object.)
The ID of the VPC you want to detach the VPN gateway from.
The ID of the VPN gateway you want to detach from the VPC
Sets the ID of the VPC you want to detach the VPN gateway from.
Sets the ID of the VPN gateway you want to detach from the VPC
AWSSDK (Module: AWSSDK) Version: 184.108.40.206 (220.127.116.11)
You do this if you're planning to turn off the VPC and not use it anymore. You can confirm a VPN gateway has been completely detached from a VPC by describing the VPN gateway (any attachments to the VPN gateway are also described). You must wait for the attachment's state to switch to detached before you can delete the VPC or attach a different VPC to the VPN gateway.