libZSservicesZSamazonka-batchZSamazonka-batch
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Batch.Types.NodeOverrides

Description

 
Synopsis

Documentation

data NodeOverrides Source #

Object representing any node overrides to a job definition that's used in a SubmitJob API operation.

This isn't applicable to jobs that are running on Fargate resources and shouldn't be provided; use containerOverrides instead.

See: newNodeOverrides smart constructor.

Constructors

NodeOverrides' 

Fields

  • numNodes :: Maybe Int

    The number of nodes to use with a multi-node parallel job. This value overrides the number of nodes that are specified in the job definition. To use this override:

    • There must be at least one node range in your job definition that has an open upper boundary (such as : or n:).
    • The lower boundary of the node range specified in the job definition must be fewer than the number of nodes specified in the override.
    • The main node index specified in the job definition must be fewer than the number of nodes specified in the override.
  • nodePropertyOverrides :: Maybe [NodePropertyOverride]

    The node property overrides for the job.

Instances

Instances details
Eq NodeOverrides Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeOverrides

Read NodeOverrides Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeOverrides

Show NodeOverrides Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeOverrides

Generic NodeOverrides Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeOverrides

Associated Types

type Rep NodeOverrides :: Type -> Type #

NFData NodeOverrides Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeOverrides

Methods

rnf :: NodeOverrides -> () #

Hashable NodeOverrides Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeOverrides

ToJSON NodeOverrides Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeOverrides

type Rep NodeOverrides Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeOverrides

type Rep NodeOverrides = D1 ('MetaData "NodeOverrides" "Amazonka.Batch.Types.NodeOverrides" "libZSservicesZSamazonka-batchZSamazonka-batch" 'False) (C1 ('MetaCons "NodeOverrides'" 'PrefixI 'True) (S1 ('MetaSel ('Just "numNodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "nodePropertyOverrides") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NodePropertyOverride]))))

newNodeOverrides :: NodeOverrides Source #

Create a value of NodeOverrides 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:numNodes:NodeOverrides', nodeOverrides_numNodes - The number of nodes to use with a multi-node parallel job. This value overrides the number of nodes that are specified in the job definition. To use this override:

  • There must be at least one node range in your job definition that has an open upper boundary (such as : or n:).
  • The lower boundary of the node range specified in the job definition must be fewer than the number of nodes specified in the override.
  • The main node index specified in the job definition must be fewer than the number of nodes specified in the override.

$sel:nodePropertyOverrides:NodeOverrides', nodeOverrides_nodePropertyOverrides - The node property overrides for the job.

nodeOverrides_numNodes :: Lens' NodeOverrides (Maybe Int) Source #

The number of nodes to use with a multi-node parallel job. This value overrides the number of nodes that are specified in the job definition. To use this override:

  • There must be at least one node range in your job definition that has an open upper boundary (such as : or n:).
  • The lower boundary of the node range specified in the job definition must be fewer than the number of nodes specified in the override.
  • The main node index specified in the job definition must be fewer than the number of nodes specified in the override.