class AWS::EC2::VPNGateway

def detach vpc

Returns:
  • (nil) -

Parameters:
  • vpc (VPC, String) -- A {VPC} object or a vpc id string.
def detach vpc
  client_opts = {}
  client_opts[:vpn_gateway_id] = vpn_gateway_id
  client_opts[:vpc_id] = vpc_id(vpc)
  client.detach_vpn_gateway(client_opts)
  nil
end