desiredv Cpus
Parameters
value
The desired number of vCPUS in the compute environment. AWS Batch modifies this value between the minimum and maximum values based on job queue demand.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. AWS Batch doesn't support changing the desired number of vCPUs of an existing compute environment. Don't specify this parameter for compute environments using Amazon EKS clusters. When you update the
desiredvCpus
setting, the value must be between theminvCpus
andmaxvCpus
values.Additionally, the updated
desiredvCpus
value must be greater than or equal to the currentdesiredvCpus
value. For more information, see Troubleshooting AWS Batch in the AWS Batch User Guide .