class Awspec::Type::Efs
Public Class Methods
Source
# File lib/awspec/type/efs.rb, line 5 def initialize(file_system_id) super @display_name = file_system_id end
Calls superclass method
Public Instance Methods
Source
# File lib/awspec/type/efs.rb, line 18 def has_tag?(tag_key, tag_value) tag = find_efs_tags(@display_name, tag_key) return nil if tag.value != tag_value tag end
Source
# File lib/awspec/type/efs.rb, line 14 def id @id ||= resource_via_client.file_system_id if resource_via_client end
Source
# File lib/awspec/type/efs.rb, line 10 def resource_via_client @resource_via_client ||= find_efs(@display_name) end