The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::Batch::ComputeEnvironmentDetail

USAGE

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(...);
  $result->Att1->ComputeEnvironmentArn

DESCRIPTION

An object representing an AWS Batch compute environment.

ATTRIBUTES

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>
or C<DISABLED>.

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.

SEE ALSO

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

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues