Sha256: 05b1ac26796ada4cda41137f5451615f3ddb99131b2173d3b2f92007599bfdc0

Contents?: true

Size: 1.16 KB

Versions: 53

Compression:

Stored size: 1.16 KB

Contents

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

        # Sends a signal to the specified resource.
        #
        # @param options Hash]:
        #   * LogicalResourceId [String] The logical ID of the resource that you want to signal.
        #   * StackName [String] The stack name or unique stack ID that includes the resource that you want to signal.
        #   * Status [String] The status of the signal, which is either success or failure.
        #   * UniqueId [String] A unique ID of the signal.
        #
        # @return [Excon::Response]
        #
        # @see http://docs.amazonwebservices.com/AWSCloudFormation/latest/APIReference/API_SignalResource.html

        def signal_resource(logical_resource_id, stack_name, status, unique_id )
          request(
            'Action'    => 'SignalResource',
            'LogicalResourceId' => logical_resource_id,
            'StackName' => stack_name,
            'Status' => status,
            'UniqueId' => unique_id,
            :parser     => Fog::Parsers::AWS::CloudFormation::Basic.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/signal_resource.rb
fog-aws-3.29.0 lib/fog/aws/requests/cloud_formation/signal_resource.rb
fog-aws-3.28.0 lib/fog/aws/requests/cloud_formation/signal_resource.rb
fog-aws-3.27.0 lib/fog/aws/requests/cloud_formation/signal_resource.rb
fog-aws-3.26.0 lib/fog/aws/requests/cloud_formation/signal_resource.rb
fog-aws-3.25.0 lib/fog/aws/requests/cloud_formation/signal_resource.rb
fog-aws-3.24.0 lib/fog/aws/requests/cloud_formation/signal_resource.rb
fog-aws-3.23.0 lib/fog/aws/requests/cloud_formation/signal_resource.rb
fog-aws-3.22.0 lib/fog/aws/requests/cloud_formation/signal_resource.rb
fog-aws-3.21.1 lib/fog/aws/requests/cloud_formation/signal_resource.rb
fog-aws-3.21.0 lib/fog/aws/requests/cloud_formation/signal_resource.rb
fog-aws-3.20.0 lib/fog/aws/requests/cloud_formation/signal_resource.rb
fog-aws-3.19.0 lib/fog/aws/requests/cloud_formation/signal_resource.rb
fog-aws-3.18.0 lib/fog/aws/requests/cloud_formation/signal_resource.rb
fog-aws-3.17.0 lib/fog/aws/requests/cloud_formation/signal_resource.rb
fog-aws-3.16.0 lib/fog/aws/requests/cloud_formation/signal_resource.rb
fog-aws-3.15.0 lib/fog/aws/requests/cloud_formation/signal_resource.rb
fog-aws-3.14.0 lib/fog/aws/requests/cloud_formation/signal_resource.rb
fog-aws-3.13.0 lib/fog/aws/requests/cloud_formation/signal_resource.rb
fog-aws-3.12.0 lib/fog/aws/requests/cloud_formation/signal_resource.rb