Class: AWS::Flow::ActivityRegistrationDefaults

Inherits:
ActivityDefaults show all
Defined in:
lib/aws/decider/options.rb

Overview

Default values for a registered activity type. These values are set by default for all activities that use the activity type.

Instance Method Summary collapse

Methods inherited from ActivityDefaults

#data_converter

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

#default_task_heartbeat_timeoutObject

Optional. 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.



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

def default_task_heartbeat_timeout; Float::INFINITY; end

#default_task_listObject

Optional. The default task list to use for all activities that use this activity type. If not specified, the value FlowConstants.use_worker_task_list will be used, which causes the activities to use the task list specified for the activity worker.



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

def default_task_list; FlowConstants.use_worker_task_list; end

#default_task_schedule_to_close_timeoutObject

Optional. 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.



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

def default_task_schedule_to_close_timeout; Float::INFINITY; end

#default_task_schedule_to_start_timeoutObject

Optional. The default schedule-to-start timeout for activity tasks. This timeout represents the time, in seconds, between when the activity task is first scheduled to when it is started.

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



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

def default_task_schedule_to_start_timeout; Float::INFINITY; end

#default_task_start_to_close_timeoutObject

Optional. The default start-to-close timeout for activity tasks. This timeout represents the time, in seconds, between when the activity task is first started 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.



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

def default_task_start_to_close_timeout; Float::INFINITY; end