enum AllocationStrategy
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Batch.AllocationStrategy |
Java | software.amazon.awscdk.services.batch.AllocationStrategy |
Python | aws_cdk.aws_batch.AllocationStrategy |
TypeScript (source) | @aws-cdk/aws-batch » AllocationStrategy |
Properties for how to prepare compute resources that are provisioned for a compute environment.
Members
Name | Description |
---|---|
BEST_FIT | Batch will use the best fitting instance type will be used when assigning a batch job in this compute environment. |
BEST_FIT_PROGRESSIVE | Batch will select additional instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types with a lower cost per unit vCPU. |
SPOT_CAPACITY_OPTIMIZED | This is only available for Spot Instance compute resources and will select additional instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types that are less likely to be interrupted. |
BEST_FIT
Batch will use the best fitting instance type will be used when assigning a batch job in this compute environment.
BEST_FIT_PROGRESSIVE
Batch will select additional instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types with a lower cost per unit vCPU.
SPOT_CAPACITY_OPTIMIZED
This is only available for Spot Instance compute resources and will select additional instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types that are less likely to be interrupted.