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
When making an API call, you may pass ComputeEnvironmentOrder data as a hash:
{
order: 1, # required
compute_environment: "String", # required
}
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.
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.
364 365 366 367 368 369 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 364 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.
364 365 366 367 368 369 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 364 class ComputeEnvironmentOrder < Struct.new( :order, :compute_environment) SENSITIVE = [] include Aws::Structure end |