amazonka-batch-2.0: Amazon Batch SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Batch.Types.ComputeEnvironmentDetail

Description

 
Synopsis

Documentation

data ComputeEnvironmentDetail Source #

An object that represents an Batch compute environment.

See: newComputeEnvironmentDetail smart constructor.

Constructors

ComputeEnvironmentDetail' 

Fields

  • computeResources :: Maybe ComputeResource

    The compute resources defined for the compute environment. For more information, see Compute environments in the Batch User Guide.

  • containerOrchestrationType :: Maybe OrchestrationType

    The orchestration type of the compute environment. The valid values are ECS (default) or EKS.

  • ecsClusterArn :: Maybe Text

    The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster that the compute environment uses.

  • eksConfiguration :: Maybe EksConfiguration

    The configuration for the Amazon EKS cluster that supports the Batch compute environment. Only specify this parameter if the containerOrchestrationType is EKS.

  • serviceRole :: Maybe Text

    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.

  • state :: Maybe CEState

    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.

  • status :: Maybe CEStatus

    The current status of the compute environment (for example, CREATING or VALID).

  • statusReason :: Maybe Text

    A short, human-readable string to provide additional details for the current status of the compute environment.

  • tags :: Maybe (HashMap Text Text)

    The tags applied to the compute environment.

  • type' :: Maybe CEType

    The type of the compute environment: MANAGED or UNMANAGED. For more information, see Compute environments in the Batch User Guide.

  • unmanagedvCpus :: Maybe Int

    The maximum number of VCPUs expected to be used for an unmanaged compute environment.

  • updatePolicy :: Maybe 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.

  • uuid :: Maybe Text

    Unique identifier for the compute environment.

  • computeEnvironmentName :: Text

    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 (_).

  • computeEnvironmentArn :: Text

    The Amazon Resource Name (ARN) of the compute environment.

Instances

Instances details
FromJSON ComputeEnvironmentDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.ComputeEnvironmentDetail

Generic ComputeEnvironmentDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.ComputeEnvironmentDetail

Associated Types

type Rep ComputeEnvironmentDetail :: Type -> Type #

Read ComputeEnvironmentDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.ComputeEnvironmentDetail

Show ComputeEnvironmentDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.ComputeEnvironmentDetail

NFData ComputeEnvironmentDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.ComputeEnvironmentDetail

Eq ComputeEnvironmentDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.ComputeEnvironmentDetail

Hashable ComputeEnvironmentDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.ComputeEnvironmentDetail

type Rep ComputeEnvironmentDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.ComputeEnvironmentDetail

type Rep ComputeEnvironmentDetail = D1 ('MetaData "ComputeEnvironmentDetail" "Amazonka.Batch.Types.ComputeEnvironmentDetail" "amazonka-batch-2.0-Ey2VZ5obnq65VwmlrJ2r2K" 'False) (C1 ('MetaCons "ComputeEnvironmentDetail'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "computeResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ComputeResource)) :*: (S1 ('MetaSel ('Just "containerOrchestrationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OrchestrationType)) :*: S1 ('MetaSel ('Just "ecsClusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "eksConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EksConfiguration)) :*: S1 ('MetaSel ('Just "serviceRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CEState)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CEStatus))))) :*: (((S1 ('MetaSel ('Just "statusReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CEType)) :*: S1 ('MetaSel ('Just "unmanagedvCpus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "updatePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UpdatePolicy)) :*: S1 ('MetaSel ('Just "uuid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "computeEnvironmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "computeEnvironmentArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newComputeEnvironmentDetail Source #

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.