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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ComputeResourceUpdate as input to an Aws::Client method, you can use a vanilla Hash:

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

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#desiredv_cpusInteger

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

Returns:

  • (Integer)

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

#maxv_cpusInteger

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

Returns:

  • (Integer)

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

#minv_cpusInteger

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

Returns:

  • (Integer)

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