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



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

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.



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

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.



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

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.



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

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.



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

def schedule_to_close_timeout; Float::INFINITY; end