Method: Aws::Batch::Types::ComputeResource#maxv_cpus

Defined in:
lib/aws-sdk-batch/types.rb

#maxv_cpusInteger

The maximum number of vCPUs that a compute environment can support.

<note markdown=“1”> With BEST_FIT_PROGRESSIVE,SPOT_CAPACITY_OPTIMIZED and SPOT_PRICE_CAPACITY_OPTIMIZED (recommended) strategies using On-Demand or Spot Instances, and the BEST_FIT strategy using Spot Instances, Batch might need to exceed maxvCpus to meet your capacity requirements. In this event, Batch never exceeds maxvCpus by more than a single instance.

</note>


920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
# File 'lib/aws-sdk-batch/types.rb', line 920

class ComputeResource < Struct.new(
  :type,
  :allocation_strategy,
  :minv_cpus,
  :maxv_cpus,
  :desiredv_cpus,
  :instance_types,
  :image_id,
  :subnets,
  :security_group_ids,
  :ec2_key_pair,
  :instance_role,
  :tags,
  :placement_group,
  :bid_percentage,
  :spot_iam_fleet_role,
  :launch_template,
  :ec2_configuration)
  SENSITIVE = []
  include Aws::Structure
end