Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ComputeEnvironmentOrder = ComputeEnvironmentOrder' {
- order :: Int
- computeEnvironment :: Text
- newComputeEnvironmentOrder :: Int -> Text -> ComputeEnvironmentOrder
- computeEnvironmentOrder_order :: Lens' ComputeEnvironmentOrder Int
- computeEnvironmentOrder_computeEnvironment :: Lens' ComputeEnvironmentOrder Text
Documentation
data ComputeEnvironmentOrder Source #
The order in which compute environments are tried 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
); EC2 and Fargate compute environments can't be
mixed.
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.
See: newComputeEnvironmentOrder
smart constructor.
ComputeEnvironmentOrder' | |
|
Instances
newComputeEnvironmentOrder Source #
:: Int | |
-> Text | |
-> ComputeEnvironmentOrder |
Create a value of ComputeEnvironmentOrder
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:order:ComputeEnvironmentOrder'
, computeEnvironmentOrder_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 order
integer
value is tried for job placement first.
$sel:computeEnvironment:ComputeEnvironmentOrder'
, computeEnvironmentOrder_computeEnvironment
- The Amazon Resource Name (ARN) of the compute environment.
computeEnvironmentOrder_order :: Lens' ComputeEnvironmentOrder Int Source #
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.
computeEnvironmentOrder_computeEnvironment :: Lens' ComputeEnvironmentOrder Text Source #
The Amazon Resource Name (ARN) of the compute environment.