vcpus property
This parameter is deprecated and not supported for jobs run on Fargate
resources, see resourceRequirement
. The number of vCPUs
reserved for the container. Jobs running on EC2 resources can specify the
vCPU requirement for the job using resourceRequirements
but the
vCPU requirements can't be specified both here and in the
resourceRequirement
structure. This parameter maps to
CpuShares
in the Create a
container section of the Docker Remote API and
the --cpu-shares
option to docker run. Each
vCPU is equivalent to 1,024 CPU shares. You must specify at least one vCPU.
This is required but can be specified in several places. It must be
specified for each node at least once.
Implementation
final int? vcpus;