Class: Chef::Resource::AwsCloudsearchDomain
- Inherits:
-
Provisioning::AWSDriver::AWSResource
- Object
- LWRPBase
- Provisioning::AWSDriver::SuperLWRP
- Provisioning::AWSDriver::AWSResource
- Chef::Resource::AwsCloudsearchDomain
- Defined in:
- lib/chef/resource/aws_cloudsearch_domain.rb
Constant Summary
Constants inherited from Provisioning::AWSDriver::AWSResource
Provisioning::AWSDriver::AWSResource::NOT_PASSED
Instance Method Summary collapse
-
#aws_object ⇒ Object
None of the cloudsearch objects actually have instance-specific objects in the version of the AWS API we are using.
- #cloudsearch_api_version(arg = nil) ⇒ Object
Methods inherited from Provisioning::AWSDriver::AWSResource
#action, #action=, #aws_object_id, get_aws_object, get_aws_object_id, #initialize, lookup_options
Methods inherited from Provisioning::AWSDriver::SuperLWRP
Constructor Details
This class inherits a constructor from Chef::Provisioning::AWSDriver::AWSResource
Instance Method Details
#aws_object ⇒ Object
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.
42 43 44 |
# 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) ⇒ Object
46 47 48 49 50 |
# 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 |