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.11.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.10.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.9.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.8.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.7.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.6.7 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.6.6 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.6.5 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.6.4 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.6.3 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.6.2 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.5.2 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.5.1 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.5.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.4.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.3.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.2.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
fog-aws-3.1.0 lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-aws-2.0.1/lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-aws-2.0.1/lib/fog/aws/requests/cloud_formation/describe_stack_resource.rb