class Aws::CloudFormation::Client

Public Instance Methods

wait_forever(state, stack_name) { |attempts, response| ... } click to toggle source
# File lib/aws/extensions/cloudformation.rb, line 5
def wait_forever(state, stack_name)
  wait_until(state, stack_name) do |w|
    # disable max attempts
    w.max_attempts = nil
    w.before_wait do |attempts, response|
      yield attempts, response if block_given?
    end
  end
end