Sha256: 1da4422de61673255968b4a64cea76c98b0ea4e549d3cfac78394d47d367fbf8

Contents?: true

Size: 880 Bytes

Versions: 5

Compression:

Stored size: 880 Bytes

Contents

require 'sfn'

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

      attribute(
        :timeout, Integer,
        :coerce => proc{|v| v.to_i},
        :description => 'Seconds to wait for stack to complete'
      )
      attribute(
        :rollback, [TrueClass, FalseClass],
        :description => 'Rollback stack on failure'
      )
      attribute(
        :capabilities, String,
        :multiple => true,
        :description => 'Capabilities to allow the stack'
      )
      attribute(
        :options, Smash,
        :description => 'Extra options to apply to the API call'
      )
      attribute(
        :notifications, String,
        :multiple => true,
        :description => 'Notification endpoints for stack events'
      )
      attribute(
        :plan, FalseClass,
        :default => false
      )

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sfn-1.1.16 lib/sfn/config/create.rb
sfn-1.1.14 lib/sfn/config/create.rb
sfn-1.1.12 lib/sfn/config/create.rb
sfn-1.1.10 lib/sfn/config/create.rb
sfn-1.1.8 lib/sfn/config/create.rb