class Awspec::Type::CustomerGateway

Constants

STATES

Public Class Methods

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

Public Instance Methods

bpg_asn() click to toggle source
# File lib/awspec/type/customer_gateway.rb, line 32
def bpg_asn
  resource_via_client.bpg_asn
end
id() click to toggle source
# File lib/awspec/type/customer_gateway.rb, line 14
def id
  @id ||= resource_via_client.customer_gateway_id if resource_via_client
end
ip_address() click to toggle source
# File lib/awspec/type/customer_gateway.rb, line 28
def ip_address
  resource_via_client.ip_address
end
resource_via_client() click to toggle source
# File lib/awspec/type/customer_gateway.rb, line 10
def resource_via_client
  @resource_via_client ||= find_customer_gateway(@display_name)
end
type() click to toggle source
# File lib/awspec/type/customer_gateway.rb, line 36
def type
  resource_via_client.type
end