class Chef::Resource::AwsRdsInstance

Public Instance Methods

aws_object() click to toggle source
# File lib/chef/resource/aws_rds_instance.rb, line 34
def aws_object
  result = driver.rds_resource.db_instance(name)
  return nil unless result && result.db_instance_status != "deleting"
  result
rescue ::Aws::RDS::Errors::DBInstanceNotFound
  nil
end
db_instance_status() click to toggle source
# File lib/chef/resource/aws_rds_instance.rb, line 42
def db_instance_status
  aws_object.db_instance_status if aws_object
rescue ::Aws::RDS::Errors::DBInstanceNotFound
  nil
end
rds_tagging_type() click to toggle source
# File lib/chef/resource/aws_rds_instance.rb, line 48
def rds_tagging_type
  "db"
end