class AWS::Flow::ActivityRegistrationDefaults
Default values for a registered activity type. These values are set by default for all activities that use the activity type.
Public Instance Methods
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.
# File lib/aws/decider/options.rb, line 598 def default_task_heartbeat_timeout; Float::INFINITY; end
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.
# File lib/aws/decider/options.rb, line 604 def default_task_list; FlowConstants.use_worker_task_list; end
The optional default task priority, specified when registering the activity type, for tasks of this activity type. This default can be overridden when scheduling a task through - the ScheduleActivityTask Decision. The valid values are Integer number(Integer.MAX_VALUE to Integer.MIN_VALUE), (2147483647 to -2147483648) for 32-bit integer. An integer value can be used to specify the priority with which an activity must be executed.
# File lib/aws/decider/options.rb, line 613 def default_task_priority; 0; end
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.
# File lib/aws/decider/options.rb, line 579 def default_task_schedule_to_close_timeout; Float::INFINITY; end
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.
# File lib/aws/decider/options.rb, line 570 def default_task_schedule_to_start_timeout; Float::INFINITY; end
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.
# File lib/aws/decider/options.rb, line 588 def default_task_start_to_close_timeout; Float::INFINITY; end