Class: AWS::Flow::ActivityRegistrationDefaults
- Inherits:
-
ActivityDefaults
- Object
- Defaults
- ActivityDefaults
- AWS::Flow::ActivityRegistrationDefaults
- 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
-
#default_task_heartbeat_timeout ⇒ Object
Optional.
-
#default_task_list ⇒ Object
Optional.
-
#default_task_priority ⇒ Object
The optional default task priority, specified when registering the activity type, for tasks of this activity type.
-
#default_task_schedule_to_close_timeout ⇒ Object
Optional.
-
#default_task_schedule_to_start_timeout ⇒ Object
Optional.
-
#default_task_start_to_close_timeout ⇒ Object
Optional.
Methods inherited from ActivityDefaults
Methods inherited from Defaults
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_timeout ⇒ Object
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.
598 |
# File 'lib/aws/decider/options.rb', line 598 def default_task_heartbeat_timeout; Float::INFINITY; end |
#default_task_list ⇒ Object
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.
604 |
# File 'lib/aws/decider/options.rb', line 604 def default_task_list; FlowConstants.use_worker_task_list; end |
#default_task_priority ⇒ Object
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.
613 |
# File 'lib/aws/decider/options.rb', line 613 def default_task_priority; 0; end |
#default_task_schedule_to_close_timeout ⇒ Object
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.
579 |
# File 'lib/aws/decider/options.rb', line 579 def default_task_schedule_to_close_timeout; Float::INFINITY; end |
#default_task_schedule_to_start_timeout ⇒ Object
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.
570 |
# File 'lib/aws/decider/options.rb', line 570 def default_task_schedule_to_start_timeout; Float::INFINITY; end |
#default_task_start_to_close_timeout ⇒ Object
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.
588 |
# File 'lib/aws/decider/options.rb', line 588 def default_task_start_to_close_timeout; Float::INFINITY; end |