Sha256: 626b1e128cba863387dd3d2593b436736f953e2ca00301655268b9a4b74d73a9
Contents?: true
Size: 468 Bytes
Versions: 3
Compression:
Stored size: 468 Bytes
Contents
# frozen_string_literal: true module Awspec::Type class Eip < ResourceBase def resource_via_client @resource_via_client ||= select_eip_by_public_ip(@display_name) end def id @id ||= resource_via_client.last.public_ip if resource_via_client end def associated_to?(instance_id) return false unless resource_via_client.last.instance_id == instance_id resource_via_client.last.instance_id == instance_id end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
awspec-1.27.0 | lib/awspec/type/eip.rb |
awspec-1.26.0 | lib/awspec/type/eip.rb |
awspec-1.25.2 | lib/awspec/type/eip.rb |