Class: AWS::Flow::ActivityDefaults

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

Overview

Defaults for the ActivityOptions class

Instance Method Summary collapse

Methods inherited from Defaults

#method_missing

Dynamic Method Handling

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

Instance Method Details

#data_converterObject



417
# File 'lib/aws/decider/options.rb', line 417

def data_converter; FlowConstants.default_data_converter; end

#default_task_heartbeat_timeoutObject

The default maximum time in seconds before which a worker processing a task of this type must report progress. If the timeout is exceeded, the activity task is automatically timed out. If the worker subsequently attempts to record a heartbeat or returns a result, it will be ignored.

This default can be overridden when scheduling an activity task. You can set this value to “NONE” to imply no timeout value.



397
# File 'lib/aws/decider/options.rb', line 397

def default_task_heartbeat_timeout; Float::INFINITY; end

#default_task_schedule_to_close_timeoutObject

The default Schedule to Close timeout for activity tasks. This timeout represents the time, in seconds, between when the activity task is first scheduled to when it is closed (whether due to success, failure, or a timeout).

This default can be overridden when scheduling an activity task. You can set this value to “NONE” to imply no timeout value.



388
# File 'lib/aws/decider/options.rb', line 388

def default_task_schedule_to_close_timeout;  Float::INFINITY; end

#heartbeat_timeoutObject

The default maximum time before which a worker processing a task of this type must report progress. If the timeout is exceeded, the activity task is automatically timed out. If the worker subsequently attempts to record a heartbeat or returns a result, it will be ignored. This default can be overridden when scheduling an activity task.

This default can be overridden when scheduling an activity task. You can set this value to “NONE” to imply no timeout value.



415
# File 'lib/aws/decider/options.rb', line 415

def heartbeat_timeout; Float::INFINITY; end

#schedule_to_close_timeoutObject

The default Schedule to Close timeout. This timeout represents the time between when the activity task is first scheduled to when it is closed (whether due to success, failure, or a timeout).

This default can be overridden when scheduling an activity task. You can set this value to “NONE” to imply no timeout value.



405
# File 'lib/aws/decider/options.rb', line 405

def schedule_to_close_timeout; Float::INFINITY; end