class Awspec::Type::Elasticsearch

Public Instance Methods

created?() click to toggle source
# File lib/awspec/type/elasticsearch.rb, line 15
def created?
  resource_via_client.created
end
deleted?() click to toggle source
# File lib/awspec/type/elasticsearch.rb, line 19
def deleted?
  resource_via_client.deleted
end
has_access_policies?(policy) click to toggle source
# File lib/awspec/type/elasticsearch.rb, line 11
def has_access_policies?(policy)
  resource_via_client.access_policies == policy.gsub(/\n/, '').gsub(/ /, '')
end
id() click to toggle source
# File lib/awspec/type/elasticsearch.rb, line 7
def id
  @id ||= resource_via_client.arn if resource_via_client
end
resource_via_client() click to toggle source
# File lib/awspec/type/elasticsearch.rb, line 3
def resource_via_client
  @resource_via_client ||= find_elasticsearch_domain(@display_name)
end