You are viewing documentation for version 1 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: AWS::ElastiCache

Inherits:
Object
  • Object
show all
Includes:
Core::ServiceInterface
Defined in:
lib/aws/elasticache.rb,
lib/aws/elasticache/client.rb,
lib/aws/elasticache/errors.rb

Overview

Provides an expressive, object-oriented interface to Amazon ElastiCache.

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 ElastiCache interface:

ec = AWS::ElastiCache.new(
  :access_key_id => 'YOUR_ACCESS_KEY_ID',
  :secret_access_key => 'YOUR_SECRET_ACCESS_KEY')

Defined Under Namespace

Modules: Errors Classes: Client

Instance Attribute Summary collapse

Method Summary

Methods included from Core::ServiceInterface

included, #initialize, #inspect

Instance Attribute Details

#clientClient (readonly)

Returns the low-level ElastiCache client object

Returns:

  • (Client)

    the low-level ElastiCache client object



38
39
40
41
42
43
44
45
46
47
# File 'lib/aws/elasticache.rb', line 38

class ElastiCache

  autoload :Client, 'aws/elasticache/client'
  autoload :Errors, 'aws/elasticache/errors'

  include Core::ServiceInterface

  endpoint_prefix 'elasticache'

end