Class: Lono::Sets::Opts

Inherits:
Cfn::Opts show all
Defined in:
lib/lono/sets/opts.rb

Direct Known Subclasses

Instances::Opts

Instance Method Summary collapse

Methods inherited from Cfn::Opts

#base_options, #cancel, #create, #delete, #download, #notification_arns_option, #preview, #update, #update_options, #wait_options

Methods inherited from Opts

#clean, #initialize, #source, #stack, #template

Constructor Details

This class inherits a constructor from Lono::Opts

Instance Method Details

#deployObject



3
4
5
6
# File 'lib/lono/sets/opts.rb', line 3

def deploy
  super
  operation_preferences_options
end

#operation_preferences_optionsObject



8
9
10
11
12
13
14
15
16
# File 'lib/lono/sets/opts.rb', line 8

def operation_preferences_options
  with_cli_scope do
    option :region_order, type: :array, desc: "region_order"
    option :failure_tolerance_count, type: :numeric, desc: "failure_tolerance_count"
    option :failure_tolerance_percentage, type: :numeric, desc: "failure_tolerance_percentage"
    option :max_concurrent_count, type: :numeric, desc: "max_concurrent_count"
    option :max_concurrent_percentage, type: :numeric, desc: "max_concurrent_percentage"
  end
end