AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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
All compute environments that are associated with a job queue must share the same
architecture. Batch doesn't support mixing compute environment architecture types
in a single job queue.
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.
Namespace: Amazon.Batch.Model
Assembly: AWSSDK.Batch.dll
Version: 3.x.y.z
public class ComputeEnvironmentOrder
The ComputeEnvironmentOrder type exposes the following members
Name | Description | |
---|---|---|
![]() |
ComputeEnvironmentOrder() |
Name | Type | Description | |
---|---|---|---|
![]() |
ComputeEnvironment | System.String |
Gets and sets the property ComputeEnvironment. The Amazon Resource Name (ARN) of the compute environment. |
![]() |
Order | System.Int32 |
Gets and sets the property Order.
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 |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5