class Awspec::Type::Elasticsearch
Public Instance Methods
created?()
click to toggle source
# File lib/awspec/type/elasticsearch.rb, line 17 def created? resource_via_client.created end
deleted?()
click to toggle source
# File lib/awspec/type/elasticsearch.rb, line 21 def deleted? resource_via_client.deleted end
has_access_policies?(policy)
click to toggle source
# File lib/awspec/type/elasticsearch.rb, line 13 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 9 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 5 def resource_via_client @resource_via_client ||= find_elasticsearch_domain(@display_name) end