Sha256: 733552aded745dc80ad814383935361d5e23c04eee9e8bf7e45f26b604c202a8

Contents?: true

Size: 784 Bytes

Versions: 6

Compression:

Stored size: 784 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

6 entries across 6 versions & 1 rubygems

Version Path
sfn-3.1.8 lib/sfn/config/create.rb
sfn-3.1.6 lib/sfn/config/create.rb
sfn-3.1.4 lib/sfn/config/create.rb
sfn-3.1.2 lib/sfn/config/create.rb
sfn-3.1.0 lib/sfn/config/create.rb
sfn-3.0.32 lib/sfn/config/create.rb