This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::Batch::ComputeEnvironmentDetail object:

  $service_obj->Method(Att1 => { ComputeEnvironmentArn => $value, ..., Type => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::Batch::ComputeEnvironmentDetail object:

  $result = $service_obj->Method(...);


An object representing an AWS Batch compute environment.


REQUIRED ComputeEnvironmentArn => Str

  The Amazon Resource Name (ARN) of the compute environment.

REQUIRED ComputeEnvironmentName => Str

  The name of the compute environment.

ComputeResources => Paws::Batch::ComputeResource

  The compute resources defined for the compute environment.

REQUIRED EcsClusterArn => Str

  The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster
used by the compute environment.

ServiceRole => Str

  The service role associated with the compute environment that allows
AWS Batch to make calls to AWS API operations on your behalf.

State => Str

  The state of the compute environment. The valid values are C<ENABLED>

If the state is ENABLED, then the AWS Batch scheduler can attempt to place jobs from an associated job queue on the compute resources within the environment. If the compute environment is managed, then it can scale its instances out or in automatically, based on the job queue demand.

If the state is DISABLED, then the AWS Batch scheduler does not attempt to place jobs within the environment. Jobs in a STARTING or RUNNING state continue to progress normally. Managed compute environments in the DISABLED state do not scale out. However, they scale in to minvCpus value after instances become idle.

Status => Str

  The current status of the compute environment (for example, C<CREATING>
or C<VALID>).

StatusReason => Str

  A short, human-readable string to provide additional details about the
current status of the compute environment.

Type => Str

  The type of the compute environment.


This class forms part of Paws, describing an object used in Paws::Batch


The source code is located here:

Please report bugs to: