Class: Aws::Batch::Types::ComputeEnvironmentOrder
- Inherits:
-
Struct
- Object
- Struct
- Aws::Batch::Types::ComputeEnvironmentOrder
- Defined in:
- gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb
Overview
The order that compute environments are tried in for job placement
within a queue. Compute environments are tried in ascending order. For
example, if two compute environments are associated with a job queue,
the compute environment with a lower order integer value is tried for
job placement first. Compute environments must be in the VALID
state
before you can associate them with a job queue. All of the compute
environments must be either EC2 (EC2
or SPOT
) or Fargate
(FARGATE
or FARGATE_SPOT
); Amazon EC2 and Fargate compute
environments can't be mixed.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#compute_environment ⇒ String
The Amazon Resource Name (ARN) of the compute environment.
-
#order ⇒ Integer
The order of the compute environment.
Instance Attribute Details
#compute_environment ⇒ String
The Amazon Resource Name (ARN) of the compute environment.
451 452 453 454 455 456 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 451 class ComputeEnvironmentOrder < Struct.new( :order, :compute_environment) SENSITIVE = [] include Aws::Structure end |
#order ⇒ Integer
The order of the compute environment. Compute environments are tried
in ascending order. For example, if two compute environments are
associated with a job queue, the compute environment with a lower
order
integer value is tried for job placement first.
451 452 453 454 455 456 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 451 class ComputeEnvironmentOrder < Struct.new( :order, :compute_environment) SENSITIVE = [] include Aws::Structure end |