You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Batch::Types::ComputeEnvironmentDetail
- Inherits:
-
Struct
- Object
- Struct
- Aws::Batch::Types::ComputeEnvironmentDetail
- Defined in:
- (unknown)
Overview
An object representing an AWS Batch compute environment.
Instance Attribute Summary collapse
-
#compute_environment_arn ⇒ String
The Amazon Resource Name (ARN) of the compute environment.
-
#compute_environment_name ⇒ String
The name of the compute environment.
-
#compute_resources ⇒ Types::ComputeResource
The compute resources defined for the compute environment.
-
#ecs_cluster_arn ⇒ String
The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.
-
#service_role ⇒ String
The service role associated with the compute environment that allows AWS Batch to make calls to AWS API operations on your behalf.
-
#state ⇒ String
The state of the compute environment.
-
#status ⇒ String
The current status of the compute environment (for example,
CREATING
orVALID
). -
#status_reason ⇒ String
A short, human-readable string to provide additional details about the current status of the compute environment.
-
#tags ⇒ Hash<String,String>
The tags applied to the compute environment.
-
#type ⇒ String
The type of the compute environment.
Instance Attribute Details
#compute_environment_arn ⇒ String
The Amazon Resource Name (ARN) of the compute environment.
#compute_environment_name ⇒ String
The name of the compute environment.
#compute_resources ⇒ Types::ComputeResource
The compute resources defined for the compute environment.
#ecs_cluster_arn ⇒ String
The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.
#service_role ⇒ String
The service role associated with the compute environment that allows AWS Batch to make calls to AWS API operations on your behalf.
#state ⇒ String
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 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.
Possible values:
- ENABLED
- DISABLED
#status ⇒ String
The current status of the compute environment (for example, CREATING
or VALID
).
Possible values:
- CREATING
- UPDATING
- DELETING
- DELETED
- VALID
- INVALID
#status_reason ⇒ String
A short, human-readable string to provide additional details about the current status of the compute environment.
#tags ⇒ Hash<String,String>
The tags applied to the compute environment.
#type ⇒ String
The type of the compute environment.
Possible values:
- MANAGED
- UNMANAGED