Class: Aws::Deadline::Types::SchedulingConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::Deadline::Types::SchedulingConfiguration
- Defined in:
- gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb
Overview
SchedulingConfiguration is a union - when making an API calls you must set exactly one of the members.
SchedulingConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of SchedulingConfiguration corresponding to the set member.
The scheduling configuration for a queue. Defines the strategy used to assign workers to jobs.
Direct Known Subclasses
Defined Under Namespace
Classes: PriorityBalanced, PriorityFifo, Unknown, WeightedBalanced
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#priority_balanced ⇒ Types::PriorityBalancedSchedulingConfiguration
Workers are distributed evenly across all jobs at the highest priority level.
-
#priority_fifo ⇒ Types::PriorityFifoSchedulingConfiguration
Workers are assigned to the highest-priority job first.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
-
#weighted_balanced ⇒ Types::WeightedBalancedSchedulingConfiguration
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.
Instance Attribute Details
#priority_balanced ⇒ Types::PriorityBalancedSchedulingConfiguration
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.
8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 8128 class SchedulingConfiguration < Struct.new( :priority_fifo, :priority_balanced, :weighted_balanced, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class PriorityFifo < SchedulingConfiguration; end class PriorityBalanced < SchedulingConfiguration; end class WeightedBalanced < SchedulingConfiguration; end class Unknown < SchedulingConfiguration; end end |
#priority_fifo ⇒ Types::PriorityFifoSchedulingConfiguration
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.
8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 8128 class SchedulingConfiguration < Struct.new( :priority_fifo, :priority_balanced, :weighted_balanced, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class PriorityFifo < SchedulingConfiguration; end class PriorityBalanced < SchedulingConfiguration; end class WeightedBalanced < SchedulingConfiguration; end class Unknown < SchedulingConfiguration; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
8128 8129 8130 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 8128 def unknown @unknown end |
#weighted_balanced ⇒ Types::WeightedBalancedSchedulingConfiguration
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.
8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 8128 class SchedulingConfiguration < Struct.new( :priority_fifo, :priority_balanced, :weighted_balanced, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class PriorityFifo < SchedulingConfiguration; end class PriorityBalanced < SchedulingConfiguration; end class WeightedBalanced < SchedulingConfiguration; end class Unknown < SchedulingConfiguration; end end |