Sha256: dc0ed5ee10af59966389097ef56e7da32bb89d5cc1fbbef42ccc79dba5b33449

Contents?: true

Size: 779 Bytes

Versions: 26

Compression:

Stored size: 779 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',
        :short_flag => 'M'
      )
      attribute(
        :rollback, [TrueClass, FalseClass],
        :description => 'Rollback stack on failure',
        :short_flag => 'O'
      )
      attribute(
        :options, Smash,
        :description => 'Extra options to apply to the API call',
        :short_flag => 'S'
      )
      attribute(
        :notification_topics, String,
        :multiple => true,
        :description => 'Notification endpoints for stack events',
        :short_flag => 'z'
      )

    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
sfn-2.1.4 lib/sfn/config/create.rb
sfn-2.1.2 lib/sfn/config/create.rb
sfn-2.1.0 lib/sfn/config/create.rb
sfn-2.0.6 lib/sfn/config/create.rb
sfn-2.0.4 lib/sfn/config/create.rb
sfn-2.0.2 lib/sfn/config/create.rb