class Awspec::Type::Efs

Public Class Methods

new(file_system_id) click to toggle source
Calls superclass method
# File lib/awspec/type/efs.rb, line 3
def initialize(file_system_id)
  super
  @display_name = file_system_id
end

Public Instance Methods

has_tag?(tag_key, tag_value) click to toggle source
# File lib/awspec/type/efs.rb, line 16
def has_tag?(tag_key, tag_value)
  tag = find_efs_tags(@display_name, tag_key)
  return nil if tag.value != tag_value
  tag
end
id() click to toggle source
# File lib/awspec/type/efs.rb, line 12
def id
  @id ||= resource_via_client.file_system_id if resource_via_client
end
resource_via_client() click to toggle source
# File lib/awspec/type/efs.rb, line 8
def resource_via_client
  @resource_via_client ||= find_efs(@display_name)
end