Sha256: c7395ed9b55c3a5781140340e04347e73819a5f27a2fff6e8675ea34efbf04a4

Contents?: true

Size: 539 Bytes

Versions: 7

Compression:

Stored size: 539 Bytes

Contents

require 'sfn'

module Sfn
  class Config
    # Update command configuration
    class Update < Validate

      attribute(
        :apply_stack, String,
        :multiple => true,
        :description => 'Apply outputs from stack to input parameters'
      )
      attribute(
        :parameter, Smash,
        :multiple => true,
        :description => 'Pass template parameters directly (ParamName:ParamValue)',
        :coerce => lambda{|v|
          v.is_a?(String) ? Smash[*v.split(/[=:]/, 2)] : v
        }
      )

    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sfn-1.1.6 lib/sfn/config/update.rb
sfn-1.1.4 lib/sfn/config/update.rb
sfn-1.1.2 lib/sfn/config/update.rb
sfn-1.1.0 lib/sfn/config/update.rb
sfn-1.0.4 lib/sfn/config/update.rb
sfn-1.0.2 lib/sfn/config/update.rb
sfn-1.0.0 lib/sfn/config/update.rb