Class AWS::EC2::InternetGateway
In: lib/aws/ec2/internet_gateway/attachment.rb
lib/aws/ec2/internet_gateway.rb
Parent: Resource

Methods

attach   attachments   delete   detach   exists?   new   vpc   vpc=   vpc_id_option  

Included Modules

TaggedItem

Classes and Modules

Class AWS::EC2::InternetGateway::Attachment

External Aliases

internet_gateway_id -> id

Attributes

internet_gateway_id  [R]  @return [String]

Public Class methods

Public Instance methods

Attaches this internet gateway to the given VPC. @param [VPC,String] vpc A {VPC} object or a vpc id string. @return [nil]

Deletes this internet gateway. @return [nil]

Detaches this internet gateway from the given VPC. @param [VPC,String] vpc A {VPC} object or a vpc id string. @return [nil]

@return [Boolean] Returns true if the gateway exists.

@return [VPC,nil] Returns the currently attached VPC, or nil

  if this gateway has not been attached.

Attaches this internet gateway to the given VPC. If this gateway is already attached to a different VPC, it will be detached from that one first. If you pass nil, then this internet gateway will

    internet_gateway.vpc = 'vpc-123'

@param [VPC,String] vpc A {VPC} object or a vpc id string.

Protected Instance methods

[Validate]