NAME
Paws::Batch::ComputeEnvironmentOrder
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::Batch::ComputeEnvironmentOrder object:
$service_obj->Method(Att1 => { ComputeEnvironment => $value, ..., Order => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::Batch::ComputeEnvironmentOrder object:
$result = $service_obj->Method(...);
$result->Att1->ComputeEnvironment
DESCRIPTION
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. AWS Batch doesn't support mixing compute environment architecture types in a single job queue.
ATTRIBUTES
REQUIRED ComputeEnvironment => Str
The Amazon Resource Name (ARN) of the compute environment.
REQUIRED Order => Int
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.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::Batch
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues