Class: AWS::RDS

Inherits:
Object
  • Object
show all
Includes:
Core::ServiceInterface
Defined in:
lib/aws/rds.rb,
lib/aws/rds/client.rb,
lib/aws/rds/errors.rb,
lib/aws/rds/request.rb,
lib/aws/rds/db_instance.rb,
lib/aws/rds/db_snapshot.rb,
lib/aws/rds/db_instance_collection.rb,
lib/aws/rds/db_snapshot_collection.rb

Overview

This class is the starting point for working with Amazon Relational Database Service (RDS).

For more information about RDS:

Credentials

You can setup default credentials for all AWS services via AWS.config:

AWS.config(
  :access_key_id => 'YOUR_ACCESS_KEY_ID',
  :secret_access_key => 'YOUR_SECRET_ACCESS_KEY')

Or you can set them directly on the AWS::RDS interface:

rds = AWS::RDS.new(
  :access_key_id => 'YOUR_ACCESS_KEY_ID',
  :secret_access_key => 'YOUR_SECRET_ACCESS_KEY')

Defined Under Namespace

Modules: Errors Classes: Client, DBInstance, DBInstanceCollection, DBSnapshot, DBSnapshotCollection

Instance Method Summary collapse

Methods included from Core::ServiceInterface

#initialize, #inspect

Instance Method Details

#db_instancesDBInstanceCollection Also known as: instances



57
58
59
# File 'lib/aws/rds.rb', line 57

def db_instances
  DBInstanceCollection.new(:config => config)
end

#db_snapshotsDBSnapshotCollection Also known as: snapshots

Returns ].

Returns:



63
64
65
# File 'lib/aws/rds.rb', line 63

def db_snapshots
  DBSnapshotCollection.new(:config => config)
end