Sha256: 1d7a8ad980949bff20280cb8d36c005dab6e90bc4a03160479d8b03becfc718f

Contents?: true

Size: 1.17 KB

Versions: 2

Compression:

Stored size: 1.17 KB

Contents

module Fog
  module AWS
    class CloudFormation
      class Real

        require 'fog/aws/parsers/cloud_formation/describe_stacks'

        # Describe stacks.
        #
        # @param options [Hash]
        # @option options StackName [String] Name of the stack to describe.
        #
        # @return [Excon::Response]
        #   * body [Hash]:
        #     * Stacks [Array] - Matching stacks
        #       * stack [Hash]:
        #         * StackName [String] -
        #         * StackId [String] -
        #         * CreationTime [String] -
        #         * StackStatus [String] -
        #         * DisableRollback [String] -
        #         * Outputs [Array] -
        #           * output [Hash]:
        #             * OutputKey [String] -
        #             * OutputValue [String] -
        #
        # @see http://docs.amazonwebservices.com/AWSCloudFormation/latest/APIReference/API_DescribeStacks.html

        def describe_stacks(options = {})
          request({
            'Action'    => 'DescribeStacks',
            :parser     => Fog::Parsers::AWS::CloudFormation::DescribeStacks.new
          }.merge!(options))
        end

      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-1.22.0 lib/fog/aws/requests/cloud_formation/describe_stacks.rb
fog-1.21.0 lib/fog/aws/requests/cloud_formation/describe_stacks.rb