class Awspec::Type::CustomerGateway
Constants
- STATES
Public Class Methods
Source
# File lib/awspec/type/customer_gateway.rb, line 7 def initialize(name) super @display_name = name end
Calls superclass method
Public Instance Methods
Source
# File lib/awspec/type/customer_gateway.rb, line 34 def bpg_asn resource_via_client.bpg_asn end
Source
# File lib/awspec/type/customer_gateway.rb, line 16 def id @id ||= resource_via_client.customer_gateway_id if resource_via_client end
Source
# File lib/awspec/type/customer_gateway.rb, line 30 def ip_address resource_via_client.ip_address end
Source
# File lib/awspec/type/customer_gateway.rb, line 12 def resource_via_client @resource_via_client ||= find_customer_gateway(@display_name) end
Source
# File lib/awspec/type/customer_gateway.rb, line 38 def type resource_via_client.type end