Class: RightScale::CloudApi::AWS::CFM::Manager

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

Overview

Amazon CloudFormation (CFM) compatible manager (thread safe).

Examples:

require "right_aws_api"

cfm = RightScale::CloudApi::AWS::CFM::Manager::new(key, secret, 'https://cloudformation.us-east-1.amazonaws.com')

# Describe the description for the specified stack
cfm.DescribeStacks #=>
  {"DescribeStacksResponse"=>
    {"@xmlns"=>"http://cloudformation.amazonaws.com/doc/2010-05-15/",
     "DescribeStacksResult"=>{"Stacks"=>nil},
     "ResponseMetadata"=>{"RequestId"=>"363a6f90-4f60-11e2-a5b9-17ce5ae131c1"}}}
# Describe a custom stack:
cfm.DescribeStacks('StackName' => 'MyStack')
# Estimate template cost:
cfm.EstimateTemplateCost('TemplateURL' =>  'https://s3.amazonaws.com/cloudformation-samples-us-east-1/Drupal_Simple.template')

See Also: