Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ComputeEnvironmentDetail = ComputeEnvironmentDetail' {}
- newComputeEnvironmentDetail :: Text -> Text -> Text -> ComputeEnvironmentDetail
- computeEnvironmentDetail_status :: Lens' ComputeEnvironmentDetail (Maybe CEStatus)
- computeEnvironmentDetail_state :: Lens' ComputeEnvironmentDetail (Maybe CEState)
- computeEnvironmentDetail_computeResources :: Lens' ComputeEnvironmentDetail (Maybe ComputeResource)
- computeEnvironmentDetail_statusReason :: Lens' ComputeEnvironmentDetail (Maybe Text)
- computeEnvironmentDetail_type :: Lens' ComputeEnvironmentDetail (Maybe CEType)
- computeEnvironmentDetail_serviceRole :: Lens' ComputeEnvironmentDetail (Maybe Text)
- computeEnvironmentDetail_tags :: Lens' ComputeEnvironmentDetail (Maybe (HashMap Text Text))
- computeEnvironmentDetail_computeEnvironmentName :: Lens' ComputeEnvironmentDetail Text
- computeEnvironmentDetail_computeEnvironmentArn :: Lens' ComputeEnvironmentDetail Text
- computeEnvironmentDetail_ecsClusterArn :: Lens' ComputeEnvironmentDetail Text
Documentation
data ComputeEnvironmentDetail Source #
An object representing an Batch compute environment.
See: newComputeEnvironmentDetail
smart constructor.
ComputeEnvironmentDetail' | |
|
Instances
newComputeEnvironmentDetail Source #
:: Text | |
-> Text | |
-> Text | |
-> ComputeEnvironmentDetail |
Create a value of ComputeEnvironmentDetail
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:ComputeEnvironmentDetail'
, computeEnvironmentDetail_status
- The current status of the compute environment (for example, CREATING
or VALID
).
$sel:state:ComputeEnvironmentDetail'
, computeEnvironmentDetail_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.
$sel:computeResources:ComputeEnvironmentDetail'
, computeEnvironmentDetail_computeResources
- The compute resources defined for the compute environment. For more
information, see
Compute Environments
in the Batch User Guide.
$sel:statusReason:ComputeEnvironmentDetail'
, computeEnvironmentDetail_statusReason
- A short, human-readable string to provide additional details about the
current status of the compute environment.
$sel:type':ComputeEnvironmentDetail'
, computeEnvironmentDetail_type
- The type of the compute environment: MANAGED
or UNMANAGED
. For more
information, see
Compute Environments
in the Batch User Guide.
$sel:serviceRole:ComputeEnvironmentDetail'
, computeEnvironmentDetail_serviceRole
- 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
in the Batch User Guide.
$sel:tags:ComputeEnvironmentDetail'
, computeEnvironmentDetail_tags
- The tags applied to the compute environment.
$sel:computeEnvironmentName:ComputeEnvironmentDetail'
, computeEnvironmentDetail_computeEnvironmentName
- The name of the compute environment. Up to 128 letters (uppercase and
lowercase), numbers, hyphens, and underscores are allowed.
$sel:computeEnvironmentArn:ComputeEnvironmentDetail'
, computeEnvironmentDetail_computeEnvironmentArn
- The Amazon Resource Name (ARN) of the compute environment.
$sel:ecsClusterArn:ComputeEnvironmentDetail'
, computeEnvironmentDetail_ecsClusterArn
- The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used
by the compute environment.
computeEnvironmentDetail_status :: Lens' ComputeEnvironmentDetail (Maybe CEStatus) Source #
The current status of the compute environment (for example, CREATING
or VALID
).
computeEnvironmentDetail_state :: Lens' ComputeEnvironmentDetail (Maybe CEState) Source #
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.
computeEnvironmentDetail_computeResources :: Lens' ComputeEnvironmentDetail (Maybe ComputeResource) Source #
The compute resources defined for the compute environment. For more information, see Compute Environments in the Batch User Guide.
computeEnvironmentDetail_statusReason :: Lens' ComputeEnvironmentDetail (Maybe Text) Source #
A short, human-readable string to provide additional details about the current status of the compute environment.
computeEnvironmentDetail_type :: Lens' ComputeEnvironmentDetail (Maybe CEType) Source #
The type of the compute environment: MANAGED
or UNMANAGED
. For more
information, see
Compute Environments
in the Batch User Guide.
computeEnvironmentDetail_serviceRole :: Lens' ComputeEnvironmentDetail (Maybe Text) Source #
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 in the Batch User Guide.
computeEnvironmentDetail_tags :: Lens' ComputeEnvironmentDetail (Maybe (HashMap Text Text)) Source #
The tags applied to the compute environment.
computeEnvironmentDetail_computeEnvironmentName :: Lens' ComputeEnvironmentDetail Text Source #
The name of the compute environment. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
computeEnvironmentDetail_computeEnvironmentArn :: Lens' ComputeEnvironmentDetail Text Source #
The Amazon Resource Name (ARN) of the compute environment.
computeEnvironmentDetail_ecsClusterArn :: Lens' ComputeEnvironmentDetail Text Source #
The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.