diff --git a/packages/aws-cdk-lib/aws-batch/lib/managed-compute-environment.ts b/packages/aws-cdk-lib/aws-batch/lib/managed-compute-environment.ts index de0e17446fdea..d2b05098cdc0d 100644 --- a/packages/aws-cdk-lib/aws-batch/lib/managed-compute-environment.ts +++ b/packages/aws-cdk-lib/aws-batch/lib/managed-compute-environment.ts @@ -260,7 +260,7 @@ export interface IManagedEc2EcsComputeEnvironment extends IManagedComputeEnviron * the best fitting instance type can be allocated. * * @default - `BEST_FIT_PROGRESSIVE` if not using Spot instances, - * `SPOT_CAPACITY_OPTIMIZED` if using Spot instances. + * `SPOT_PRICE_CAPACITY_OPTIMIZED` if using Spot instances. */ readonly allocationStrategy?: AllocationStrategy; @@ -463,8 +463,8 @@ export enum AllocationStrategy { /** * If your workflow tolerates interruptions, you should enable `spot` on your `ComputeEnvironment` - * and use `SPOT_CAPACITY_OPTIMIZED` (this is the default if `spot` is enabled). - * This will tell Batch to choose the instance types from the ones you’ve specified that have + * and use `SPOT_CAPACITY_OPTIMIZED`. + * This will tell Batch to choose the instance types from the ones you've specified that have * the most spot capacity available to minimize the chance of interruption. * To get the most benefit from your spot instances, * you should allow Batch to choose from as many different instance types as possible. @@ -540,7 +540,7 @@ export interface ManagedEc2EcsComputeEnvironmentProps extends ManagedComputeEnvi * the best fitting instance type can be allocated. * * @default - `BEST_FIT_PROGRESSIVE` if not using Spot instances, - * `SPOT_CAPACITY_OPTIMIZED` if using Spot instances. + * `SPOT_PRICE_CAPACITY_OPTIMIZED` if using Spot instances. */ readonly allocationStrategy?: AllocationStrategy; @@ -815,7 +815,7 @@ interface IManagedEc2EksComputeEnvironment extends IManagedComputeEnvironment { * the best fitting instance type can be allocated. * * @default - `BEST_FIT_PROGRESSIVE` if not using Spot instances, - * `SPOT_CAPACITY_OPTIMIZED` if using Spot instances. + * `SPOT_PRICE_CAPACITY_OPTIMIZED` if using Spot instances. */ readonly allocationStrategy?: AllocationStrategy; @@ -957,7 +957,7 @@ export interface ManagedEc2EksComputeEnvironmentProps extends ManagedComputeEnvi * the best fitting instance type can be allocated. * * @default - `BEST_FIT_PROGRESSIVE` if not using Spot instances, - * `SPOT_CAPACITY_OPTIMIZED` if using Spot instances. + * `SPOT_PRICE_CAPACITY_OPTIMIZED` if using Spot instances. */ readonly allocationStrategy?: AllocationStrategy;