Class: Aws::Batch::Types::ComputeResourceUpdate

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb

Overview

Note:

When making an API call, you may pass ComputeResourceUpdate data as a hash:

{
  minv_cpus: 1,
  maxv_cpus: 1,
  desiredv_cpus: 1,
}

An object representing the attributes of a compute environment that can be updated.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#desiredv_cpusInteger

The desired number of Amazon EC2 vCPUS in the compute environment.

Returns:

  • (Integer)


551
552
553
554
555
556
557
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 551

class ComputeResourceUpdate < Struct.new(
  :minv_cpus,
  :maxv_cpus,
  :desiredv_cpus)
  SENSITIVE = []
  include Aws::Structure
end

#maxv_cpusInteger

The maximum number of Amazon EC2 vCPUs that an environment can reach.

Returns:

  • (Integer)


551
552
553
554
555
556
557
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 551

class ComputeResourceUpdate < Struct.new(
  :minv_cpus,
  :maxv_cpus,
  :desiredv_cpus)
  SENSITIVE = []
  include Aws::Structure
end

#minv_cpusInteger

The minimum number of Amazon EC2 vCPUs that an environment should maintain.

Returns:

  • (Integer)


551
552
553
554
555
556
557
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 551

class ComputeResourceUpdate < Struct.new(
  :minv_cpus,
  :maxv_cpus,
  :desiredv_cpus)
  SENSITIVE = []
  include Aws::Structure
end