Module: JobWorkflow::AutoScaling::ClassMethods

Defined in:
lib/job_workflow/auto_scaling.rb

Instance Method Summary collapse

Instance Method Details

#max_count(max_count) ⇒ Object

: (Integer) -> void



54
55
56
# File 'lib/job_workflow/auto_scaling.rb', line 54

def max_count(max_count)
  _config.max_count = max_count
end

#max_latency(max_latency) ⇒ Object

: (Integer) -> void



64
65
66
# File 'lib/job_workflow/auto_scaling.rb', line 64

def max_latency(max_latency)
  _config.max_latency = max_latency
end

#min_count(min_count) ⇒ Object

: (Integer) -> void



49
50
51
# File 'lib/job_workflow/auto_scaling.rb', line 49

def min_count(min_count)
  _config.min_count = min_count
end

#step_count(step_count) ⇒ Object

: (Integer) -> void



59
60
61
# File 'lib/job_workflow/auto_scaling.rb', line 59

def step_count(step_count)
  _config.step_count = step_count
end

#target_queue_name(queue_name) ⇒ Object

: (String) -> void



44
45
46
# File 'lib/job_workflow/auto_scaling.rb', line 44

def target_queue_name(queue_name)
  _config.queue_name = queue_name
end