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 7 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 34 def bpg_asn resource_via_client.bpg_asn end
id()
click to toggle source
# File lib/awspec/type/customer_gateway.rb, line 16 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 30 def ip_address resource_via_client.ip_address end
resource_via_client()
click to toggle source
# File lib/awspec/type/customer_gateway.rb, line 12 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 38 def type resource_via_client.type end