Sha256: 7b9cf82549efada4e327c159c37fcb3f03bc8c8004532de02ec85f477d94f427

Contents?: true

Size: 1.45 KB

Versions: 53

Compression:

Stored size: 1.45 KB

Contents

module Fog
  module AWS
    class CloudFormation
      class Real
        require 'fog/aws/parsers/cloud_formation/describe_stack_resource'

        # Describe stack resource.
        #
        # @param options Hash]:
        #   * LogicalResourceId [String] Logical name of the resource as specified in the template
        #   * StackName [String] The name or the unique stack ID
        #
        # @return [Excon::Response]
        #   * body [Hash]:
        #     * StackResourceDetail [Hash] - Matching resources
        #         *Description [String] -
        #         * LastUpdatedTimestamp [Timestamp] -
        #         * LogicalResourceId [String] -
        #         * Metadata [String] -
        #         * PhysicalResourceId [String] -
        #         * ResourceStatus [String] -
        #         * ResourceStatusReason [String] -
        #         * ResourceType [String] -
        #         * StackId [String] -
        #         * StackName [String] -
        #
        # @see http://docs.amazonwebservices.com/AWSCloudFormation/latest/APIReference/API_DescribeStackResource.html

        def describe_stack_resource(logical_resource_id, stack_name )
          request(
            'Action'    => 'DescribeStackResource',
            'LogicalResourceId' => logical_resource_id,
            'StackName' => stack_name,
            :parser     => Fog::Parsers::AWS::CloudFormation::DescribeStackResource.new
          )
        end
      end
    end
  end
end

Version data entries

53 entries across 51 versions & 2 rubygems

Version Path
fog-aws-3.30.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.29.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.28.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.27.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.26.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.25.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.24.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.23.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.22.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.21.1 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.21.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.20.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.19.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.18.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.17.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.16.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.15.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.14.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.13.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.12.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb