Class: RightScale::CloudApi::AWS::EB::Manager

Inherits:
Manager
  • Object
show all
Defined in:
lib/cloud/aws/eb/manager.rb

Overview

Amazon Elastic Beanstalk (EB) compatible manager (thread safe).

Examples:

require "right_aws_api"

eb = RightScale::CloudApi::AWS::EB::Manager::new(key, secret, 'https://elasticbeanstalk.us-east-1.amazonaws.com')

# Get the descriptions of existing applications
eb.DescribeApplications #=>
  {"DescribeApplicationsResponse"=>
    {"@xmlns"=>"http://elasticbeanstalk.amazonaws.com/docs/2010-12-01/",
     "DescribeApplicationsResult"=>{"Applications"=>nil},
     "ResponseMetadata"=>{"RequestId"=>"b7c61b5a-4f69-11e2-a3d0-a772ddd49d31"}}}
# Create a new application
eb.CreateApplication('ApplicationName' => 'MyApp',
                     'Description' => 'My Description')

See Also: