class AWS::ELB
Provides an expressive, object-oriented interface to Elastic Load Balancing (ELB).
## 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 ELB
interface:
elb = AWS::ELB.new( :access_key_id => 'YOUR_ACCESS_KEY_ID', :secret_access_key => 'YOUR_SECRET_ACCESS_KEY')
@!attribute [r] client
@return [Client] the low-level ELB client object
Public Instance Methods
load_balancers()
click to toggle source
@return [LoadBalancerCollection] Returns a collection that represents
all of your load balancers.
# File lib/aws/elb.rb, line 60 def load_balancers LoadBalancerCollection.new(:config => config) end