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. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
ComputeResources => Paws::Batch::ComputeResource
The compute resources defined for the compute environment. For more information, see Compute Environments (https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) in the AWS Batch User Guide.
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. For more information, see AWS Batch service IAM role (https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html) in the AWS Batch User Guide.
State => Str
The state of the compute environment. The valid values are ENABLED
or 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 doesn't 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 don't scale out. However, they scale in to minvCpus
value after instances become idle.
Status => Str
The current status of the compute environment (for example, CREATING
or VALID
).
StatusReason => Str
A short, human-readable string to provide additional details about the current status of the compute environment.
Tags => Paws::Batch::TagrisTagsMap
The tags applied to the compute environment.
Type => Str
The type of the compute environment: MANAGED
or UNMANAGED
. For more information, see Compute Environments (https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) in the AWS Batch User Guide.
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