AllocationStrategy

class aws_cdk.aws_batch.AllocationStrategy(value)

Bases: Enum

(experimental) Properties for how to prepare compute resources that are provisioned for a compute environment.

Stability:

experimental

Attributes

BEST_FIT

(experimental) Batch will use the best fitting instance type will be used when assigning a batch job in this compute environment.

Stability:

experimental

BEST_FIT_PROGRESSIVE

(experimental) 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.

Stability:

experimental

SPOT_CAPACITY_OPTIMIZED

(experimental) 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.

Stability:

experimental