Sha256: a9bc7bed4e85d5607bf8d2a0a477ab6aa199bc616c4dcf870cdb8f49d948beab
Contents?: true
Size: 455 Bytes
Versions: 3
Compression:
Stored size: 455 Bytes
Contents
# frozen_string_literal: true module Awspec::Type class Eip < ResourceBase def resource_via_client @resource_via_client ||= select_eip(@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.28.1 | lib/awspec/type/eip.rb |
awspec-1.28.0 | lib/awspec/type/eip.rb |
awspec-1.27.1 | lib/awspec/type/eip.rb |