You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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.

Instance Attribute Summary collapse

Instance Attribute Details

#desiredv_cpusInteger

The desired number of EC2 vCPUS in the compute environment.

Returns:

  • (Integer)


330
331
332
333
334
335
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 330

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

#maxv_cpusInteger

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

Returns:

  • (Integer)


330
331
332
333
334
335
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 330

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

#minv_cpusInteger

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

Returns:

  • (Integer)


330
331
332
333
334
335
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 330

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