class Awspec::Type::VpnGateway
Constants
- STATES
Public Class Methods
new(name)
click to toggle source
Calls superclass method
Awspec::Type::ResourceBase::new
# File lib/awspec/type/vpn_gateway.rb, line 5 def initialize(name) super @display_name = name end
Public Instance Methods
availability_zone()
click to toggle source
# File lib/awspec/type/vpn_gateway.rb, line 28 def availability_zone resource_via_client.availability_zone end
id()
click to toggle source
# File lib/awspec/type/vpn_gateway.rb, line 14 def id @id ||= resource_via_client.vpn_gateway_id if resource_via_client end
resource_via_client()
click to toggle source
# File lib/awspec/type/vpn_gateway.rb, line 10 def resource_via_client @resource_via_client ||= find_vpn_gateway(@display_name) end
type()
click to toggle source
# File lib/awspec/type/vpn_gateway.rb, line 36 def type resource_via_client.type end
vpc_attachments()
click to toggle source
# File lib/awspec/type/vpn_gateway.rb, line 32 def vpc_attachments resource_via_client.vpc_attachments end