class Chef::Resource::AwsCloudsearchDomain
Public Instance Methods
aws_object()
click to toggle source
None of the cloudsearch objects actually have instance-specific objects in the version of the AWS
API we are using. This will return a hash with some relevant information about the domain.
# File lib/chef/resource/aws_cloudsearch_domain.rb, line 42 def aws_object driver.cloudsearch.describe_domains(domain_names: [name])[:domain_status_list].find { |d| !d[:deleted] } end
cloudsearch_api_version(arg = nil)
click to toggle source
# File lib/chef/resource/aws_cloudsearch_domain.rb, line 46 def cloudsearch_api_version(arg = nil) unless arg.nil? Chef::Log.warn("The ':cloudsearch_api_version' has been deprecated since it has been removed in AWS SDK version 2.") end end