Sha256: 1bc7b1e04b1a7d8b4d984abfe785e18e4e39291843221b48842991bdf24fb323

Contents?: true

Size: 470 Bytes

Versions: 7

Compression:

Stored size: 470 Bytes

Contents

module Awspec::Type
  class Efs < Base
    def initialize(file_system_id)
      super
      @display_name = file_system_id
    end

    def resource_via_client
      @resource_via_client ||= find_efs(@display_name)
    end

    def id
      @id ||= resource_via_client.file_system_id if resource_via_client
    end

    def has_tag?(tag_key, tag_value)
      tag = find_tags(@display_name, tag_key)
      return nil if tag.value != tag_value
      tag
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
awspec-0.66.2 lib/awspec/type/efs.rb
awspec-0.66.1 lib/awspec/type/efs.rb
awspec-0.66.0 lib/awspec/type/efs.rb
awspec-0.65.2 lib/awspec/type/efs.rb
awspec-0.65.1 lib/awspec/type/efs.rb
awspec-0.65.0 lib/awspec/type/efs.rb
awspec-0.64.0 lib/awspec/type/efs.rb