Sha256: 9e223e986e8f8aa61d288ac2b409a08cd23bfd2f361191466598c9b850f3d977
Contents?: true
Size: 534 Bytes
Versions: 13
Compression:
Stored size: 534 Bytes
Contents
# frozen_string_literal: true module Awspec::Type class Elasticsearch < ResourceBase def resource_via_client @resource_via_client ||= find_elasticsearch_domain(@display_name) end def id @id ||= resource_via_client.arn if resource_via_client end def has_access_policies?(policy) resource_via_client.access_policies == policy.gsub(/\n/, '').gsub(/ /, '') end def created? resource_via_client.created end def deleted? resource_via_client.deleted end end end
Version data entries
13 entries across 13 versions & 1 rubygems