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.
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.
43 44 45 |
# File 'lib/chef/resource/aws_cloudsearch_domain.rb', line 43 def aws_object driver.cloudsearch.describe_domains(domain_names: [name])[:domain_status_list].find {|d| !d[:deleted] } end |