class AWS::EC2::InternetGateway

def vpc= vpc

Parameters:
  • vpc (VPC, String) -- A {VPC} object or a vpc id string.
def vpc= vpc
  if attachment = attachments.first
    attachment.delete
  end
  attach(vpc) if vpc
end