Class: Chef::Resource::AwsRdsInstance

Constant Summary

Constants inherited from Provisioning::AWSDriver::AWSResource

Provisioning::AWSDriver::AWSResource::NOT_PASSED

Instance Method Summary collapse

Methods included from Provisioning::AWSDriver::AWSTaggable

included

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

#_pv_is, attribute, lazy

Constructor Details

This class inherits a constructor from Chef::Provisioning::AWSDriver::AWSResource

Instance Method Details

#aws_objectObject



30
31
32
33
34
35
36
37
# File 'lib/chef/resource/aws_rds_instance.rb', line 30

def aws_object
  res = driver.rds.instances[name]
  if res.exists? && ! ['deleted', 'deleting'].include?(res.status)
    res
  else
    nil
  end
end

#rds_tagging_typeObject



39
40
41
# File 'lib/chef/resource/aws_rds_instance.rb', line 39

def rds_tagging_type
  "db"
end