Class AWS::EC2::VPNGateway
In: lib/aws/ec2/vpn_gateway/attachment.rb
lib/aws/ec2/vpn_gateway.rb
Parent: Resource

Methods

attach   attachments   delete   detach   exists?   new   vpc   vpc_id   vpn_connections  

Included Modules

TaggedItem

Classes and Modules

Class AWS::EC2::VPNGateway::Attachment

External Aliases

vpn_gateway_id -> id

Attributes

vpn_gateway_id  [R]  @return [String]

Public Class methods

Public Instance methods

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

Deletes this vpn gateway. @return [nil]

Detaches this vpn 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.

@return [VPNConnectionCollection] Returns a collection

  of VPC connections for this gateway.

Protected Instance methods

[Validate]