class Aws::Batch::Types::ComputeEnvironmentDetail

An object representing an Batch compute environment.

@!attribute [rw] compute_environment_name

The name of the compute environment. Up to 128 letters (uppercase
and lowercase), numbers, hyphens, and underscores are allowed.
@return [String]

@!attribute [rw] compute_environment_arn

The Amazon Resource Name (ARN) of the compute environment.
@return [String]

@!attribute [rw] ecs_cluster_arn

The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster
used by the compute environment.
@return [String]

@!attribute [rw] tags

The tags applied to the compute environment.
@return [Hash<String,String>]

@!attribute [rw] type

The type of the compute environment: `MANAGED` or `UNMANAGED`. For
more information, see [Compute Environments][1] in the *Batch User
Guide*.

[1]: https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html
@return [String]

@!attribute [rw] state

The state of the compute environment. The valid values are `ENABLED`
or `DISABLED`.

If the state is `ENABLED`, then the 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 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.
@return [String]

@!attribute [rw] status

The current status of the compute environment (for example,
`CREATING` or `VALID`).
@return [String]

@!attribute [rw] status_reason

A short, human-readable string to provide additional details about
the current status of the compute environment.
@return [String]

@!attribute [rw] compute_resources

The compute resources defined for the compute environment. For more
information, see [Compute Environments][1] in the *Batch User
Guide*.

[1]: https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html
@return [Types::ComputeResource]

@!attribute [rw] service_role

The service role associated with the compute environment that allows
Batch to make calls to Amazon Web Services API operations on your
behalf. For more information, see [Batch service IAM role][1] in the
*Batch User Guide*.

[1]: https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ComputeEnvironmentDetail AWS API Documentation

Constants

SENSITIVE