class AWS::EC2::VPNConnection


the connection state is :pending or :available.
attribute is always present after creating a vpn connection while
Configuration XML for the VPN connection’s customer gateway This
@attr_reader [String] customer_gateway_configuration
@attr_reader [String] customer_gateway_id
@attr_reader [String] vpn_gateway_id
@attr_reader [String] vpn_type
@attr_reader [Symbol] state

def customer_gateway

Returns:
  • (CustomerGateway) -
def customer_gateway
  CustomerGateway.new(customer_gateway_id, :config => config)
end

def delete

Returns:
  • (nil) -
def delete
  client_opts = {}
  client_opts[:vpn_connection_id] = vpn_connection_id
  client.delete_vpn_connection(client_opts)
  nil
end

def initialize vpn_connection_id, options = {}

Other tags:
    Private: -
def initialize vpn_connection_id, options = {}
  @vpn_connection_id = vpn_connection_id
  super
end

def vgw_telemetry

Returns:
  • (Array) -
def vgw_telemetry
  vgw_telemetry_details.collect do |details|
    Telemetry.new(self, details)
  end
end

def vpn_gateway

Returns:
  • (VPNGateway) -
def vpn_gateway
  VPNGateway.new(vpn_gateway_id, :config => config)
end