Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ComputeEnvironmentDetail = ComputeEnvironmentDetail' {
- computeResources :: Maybe ComputeResource
- containerOrchestrationType :: Maybe OrchestrationType
- ecsClusterArn :: Maybe Text
- eksConfiguration :: Maybe EksConfiguration
- serviceRole :: Maybe Text
- state :: Maybe CEState
- status :: Maybe CEStatus
- statusReason :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- type' :: Maybe CEType
- unmanagedvCpus :: Maybe Int
- updatePolicy :: Maybe UpdatePolicy
- uuid :: Maybe Text
- computeEnvironmentName :: Text
- computeEnvironmentArn :: Text
- newComputeEnvironmentDetail :: Text -> Text -> ComputeEnvironmentDetail
- computeEnvironmentDetail_computeResources :: Lens' ComputeEnvironmentDetail (Maybe ComputeResource)
- computeEnvironmentDetail_containerOrchestrationType :: Lens' ComputeEnvironmentDetail (Maybe OrchestrationType)
- computeEnvironmentDetail_ecsClusterArn :: Lens' ComputeEnvironmentDetail (Maybe Text)
- computeEnvironmentDetail_eksConfiguration :: Lens' ComputeEnvironmentDetail (Maybe EksConfiguration)
- computeEnvironmentDetail_serviceRole :: Lens' ComputeEnvironmentDetail (Maybe Text)
- computeEnvironmentDetail_state :: Lens' ComputeEnvironmentDetail (Maybe CEState)
- computeEnvironmentDetail_status :: Lens' ComputeEnvironmentDetail (Maybe CEStatus)
- computeEnvironmentDetail_statusReason :: Lens' ComputeEnvironmentDetail (Maybe Text)
- computeEnvironmentDetail_tags :: Lens' ComputeEnvironmentDetail (Maybe (HashMap Text Text))
- computeEnvironmentDetail_type :: Lens' ComputeEnvironmentDetail (Maybe CEType)
- computeEnvironmentDetail_unmanagedvCpus :: Lens' ComputeEnvironmentDetail (Maybe Int)
- computeEnvironmentDetail_updatePolicy :: Lens' ComputeEnvironmentDetail (Maybe UpdatePolicy)
- computeEnvironmentDetail_uuid :: Lens' ComputeEnvironmentDetail (Maybe Text)
- computeEnvironmentDetail_computeEnvironmentName :: Lens' ComputeEnvironmentDetail Text
- computeEnvironmentDetail_computeEnvironmentArn :: Lens' ComputeEnvironmentDetail Text
Documentation
data ComputeEnvironmentDetail Source #
An object that represents an Batch compute environment.
See: newComputeEnvironmentDetail
smart constructor.
ComputeEnvironmentDetail' | |
|
Instances
newComputeEnvironmentDetail Source #
:: 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:computeResources:ComputeEnvironmentDetail'
, computeEnvironmentDetail_computeResources
- The compute resources defined for the compute environment. For more
information, see
Compute environments
in the Batch User Guide.
$sel:containerOrchestrationType:ComputeEnvironmentDetail'
, computeEnvironmentDetail_containerOrchestrationType
- The orchestration type of the compute environment. The valid values are
ECS
(default) or EKS
.
$sel:ecsClusterArn:ComputeEnvironmentDetail'
, computeEnvironmentDetail_ecsClusterArn
- The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster that
the compute environment uses.
$sel:eksConfiguration:ComputeEnvironmentDetail'
, computeEnvironmentDetail_eksConfiguration
- The configuration for the Amazon EKS cluster that supports the Batch
compute environment. Only specify this parameter if the
containerOrchestrationType
is EKS
.
$sel:serviceRole:ComputeEnvironmentDetail'
, computeEnvironmentDetail_serviceRole
- The service role that's 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: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:status:ComputeEnvironmentDetail'
, computeEnvironmentDetail_status
- The current status of the compute environment (for example, CREATING
or VALID
).
$sel:statusReason:ComputeEnvironmentDetail'
, computeEnvironmentDetail_statusReason
- A short, human-readable string to provide additional details for the
current status of the compute environment.
ComputeEnvironmentDetail
, computeEnvironmentDetail_tags
- The tags applied to the compute environment.
ComputeEnvironmentDetail
, computeEnvironmentDetail_type
- The type of the compute environment: MANAGED
or UNMANAGED
. For more
information, see
Compute environments
in the Batch User Guide.
$sel:unmanagedvCpus:ComputeEnvironmentDetail'
, computeEnvironmentDetail_unmanagedvCpus
- The maximum number of VCPUs expected to be used for an unmanaged compute
environment.
$sel:updatePolicy:ComputeEnvironmentDetail'
, computeEnvironmentDetail_updatePolicy
- Specifies the infrastructure update policy for the compute environment.
For more information about infrastructure updates, see
Updating compute environments
in the Batch User Guide.
$sel:uuid:ComputeEnvironmentDetail'
, computeEnvironmentDetail_uuid
- Unique identifier for the compute environment.
$sel:computeEnvironmentName:ComputeEnvironmentDetail'
, computeEnvironmentDetail_computeEnvironmentName
- The name of the compute environment. It can be up to 128 characters
long. It can contain uppercase and lowercase letters, numbers, hyphens
(-), and underscores (_).
$sel:computeEnvironmentArn:ComputeEnvironmentDetail'
, computeEnvironmentDetail_computeEnvironmentArn
- The Amazon Resource Name (ARN) of the compute environment.
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_containerOrchestrationType :: Lens' ComputeEnvironmentDetail (Maybe OrchestrationType) Source #
The orchestration type of the compute environment. The valid values are
ECS
(default) or EKS
.
computeEnvironmentDetail_ecsClusterArn :: Lens' ComputeEnvironmentDetail (Maybe Text) Source #
The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster that the compute environment uses.
computeEnvironmentDetail_eksConfiguration :: Lens' ComputeEnvironmentDetail (Maybe EksConfiguration) Source #
The configuration for the Amazon EKS cluster that supports the Batch
compute environment. Only specify this parameter if the
containerOrchestrationType
is EKS
.
computeEnvironmentDetail_serviceRole :: Lens' ComputeEnvironmentDetail (Maybe Text) Source #
The service role that's 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_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_status :: Lens' ComputeEnvironmentDetail (Maybe CEStatus) Source #
The current status of the compute environment (for example, CREATING
or VALID
).
computeEnvironmentDetail_statusReason :: Lens' ComputeEnvironmentDetail (Maybe Text) Source #
A short, human-readable string to provide additional details for the current status of the compute environment.
computeEnvironmentDetail_tags :: Lens' ComputeEnvironmentDetail (Maybe (HashMap Text Text)) Source #
The tags applied to 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_unmanagedvCpus :: Lens' ComputeEnvironmentDetail (Maybe Int) Source #
The maximum number of VCPUs expected to be used for an unmanaged compute environment.
computeEnvironmentDetail_updatePolicy :: Lens' ComputeEnvironmentDetail (Maybe UpdatePolicy) Source #
Specifies the infrastructure update policy for the compute environment. For more information about infrastructure updates, see Updating compute environments in the Batch User Guide.
computeEnvironmentDetail_uuid :: Lens' ComputeEnvironmentDetail (Maybe Text) Source #
Unique identifier for the compute environment.
computeEnvironmentDetail_computeEnvironmentName :: Lens' ComputeEnvironmentDetail Text Source #
The name of the compute environment. It can be up to 128 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
computeEnvironmentDetail_computeEnvironmentArn :: Lens' ComputeEnvironmentDetail Text Source #
The Amazon Resource Name (ARN) of the compute environment.