Provides an expressive, object-oriented interface to Elastic Load Balancing (ELB).
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')
@return [LoadBalancerCollection] Returns a collection that represents
all of your load balancers.
# File lib/aws/elb.rb, line 59 def load_balancers LoadBalancerCollection.new(:config => config) end