SchedulingConfiguration
The scheduling configuration for a queue. Defines the strategy used to assign workers to jobs.
Contents
Important
This data type is a UNION, so only one of the following members can be specified when used or returned.
- priorityBalanced
-
Workers are distributed evenly across all jobs at the highest priority level. When workers cannot be evenly divided, the extra workers are assigned to the jobs submitted earliest. If a job has fewer remaining tasks than its share of workers, the surplus workers are redistributed to other jobs at the same priority level.
Type: PriorityBalancedSchedulingConfiguration object
Required: No
- priorityFifo
-
Workers are assigned to the highest-priority job first. When multiple jobs share the same priority, the job submitted earliest receives workers first. This is the default scheduling configuration for new queues.
Type: PriorityFifoSchedulingConfiguration object
Required: No
- weightedBalanced
-
Workers are assigned to jobs based on a weighted formula that considers job priority, error count, submission time, and the number of tasks currently rendering. Each factor has a configurable weight that determines its influence on scheduling decisions.
Type: WeightedBalancedSchedulingConfiguration object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: