Class: AWS::Flow::WorkerOptions

Inherits:
Options
  • Object
show all
Defined in:
lib/aws/decider/options.rb

Overview

Options for Activity and Workflow workers.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Options

#get_options, inherited, #initialize, #method_missing

Constructor Details

This class inherits a constructor from AWS::Flow::Options

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class AWS::Flow::Options

Instance Attribute Details

#execution_workersObject

The logger to use for the worker.



109
110
111
112
113
114
115
116
# File 'lib/aws/decider/options.rb', line 109

class WorkerOptions < Options
  property(:logger, [])
  # At current, we only support one poller per worker
  # property(:poller_workers, [lambda(&:to_i)])
  property(:execution_workers, [lambda(&:to_i)])
  property(:use_forking, [lambda {|x| x == true}] )
  default_classes << WorkerDefaults.new
end

#loggerObject

The logger to use for the worker.



109
110
111
112
113
114
115
116
# File 'lib/aws/decider/options.rb', line 109

class WorkerOptions < Options
  property(:logger, [])
  # At current, we only support one poller per worker
  # property(:poller_workers, [lambda(&:to_i)])
  property(:execution_workers, [lambda(&:to_i)])
  property(:use_forking, [lambda {|x| x == true}] )
  default_classes << WorkerDefaults.new
end

#poller_workersObject

The logger to use for the worker.



109
110
111
112
113
114
115
116
# File 'lib/aws/decider/options.rb', line 109

class WorkerOptions < Options
  property(:logger, [])
  # At current, we only support one poller per worker
  # property(:poller_workers, [lambda(&:to_i)])
  property(:execution_workers, [lambda(&:to_i)])
  property(:use_forking, [lambda {|x| x == true}] )
  default_classes << WorkerDefaults.new
end