desiredvCpus

@JvmName(name = "ngptnvyercotwdsq")
suspend fun desiredvCpus(value: Output<Int>)
@JvmName(name = "srnfkqhqrwoaexab")
suspend fun desiredvCpus(value: Int?)

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 the minvCpus and maxvCpus values.

Additionally, the updated desiredvCpus value must be greater than or equal to the current desiredvCpus value. For more information, see Troubleshooting AWS Batch in the AWS Batch User Guide .