class Awspec::Type::VpnConnection

Constants

STATES

Public Class Methods

new(name) click to toggle source
Calls superclass method Awspec::Type::ResourceBase::new
# File lib/awspec/type/vpn_connection.rb, line 5
def initialize(name)
  super
  @display_name = name
end

Public Instance Methods

customer_gateway_id() click to toggle source
# File lib/awspec/type/vpn_connection.rb, line 28
def customer_gateway_id
  resource_via_client.customer_gateway_id
end
id() click to toggle source
# File lib/awspec/type/vpn_connection.rb, line 14
def id
  @id ||= resource_via_client.vpn_connection_id if resource_via_client
end
resource_via_client() click to toggle source
# File lib/awspec/type/vpn_connection.rb, line 10
def resource_via_client
  @resource_via_client ||= find_vpn_connection(@display_name)
end
type() click to toggle source
# File lib/awspec/type/vpn_connection.rb, line 36
def type
  resource_via_client.type
end
vpn_gateway_id() click to toggle source
# File lib/awspec/type/vpn_connection.rb, line 32
def vpn_gateway_id
  resource_via_client.vpn_gateway_id
end