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.NodeProperties

Description

 
Synopsis

Documentation

data NodeProperties Source #

An object that represents the node properties of a multi-node parallel job.

Node properties can't be specified for Amazon EKS based job definitions.

See: newNodeProperties smart constructor.

Constructors

NodeProperties' 

Fields

  • numNodes :: Int

    The number of nodes that are associated with a multi-node parallel job.

  • mainNode :: Int

    Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes.

  • nodeRangeProperties :: [NodeRangeProperty]

    A list of node ranges and their properties that are associated with a multi-node parallel job.

Instances

Instances details
FromJSON NodeProperties Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeProperties

ToJSON NodeProperties Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeProperties

Generic NodeProperties Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeProperties

Associated Types

type Rep NodeProperties :: Type -> Type #

Read NodeProperties Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeProperties

Show NodeProperties Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeProperties

NFData NodeProperties Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeProperties

Methods

rnf :: NodeProperties -> () #

Eq NodeProperties Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeProperties

Hashable NodeProperties Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeProperties

type Rep NodeProperties Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeProperties

type Rep NodeProperties = D1 ('MetaData "NodeProperties" "Amazonka.Batch.Types.NodeProperties" "amazonka-batch-2.0-Ey2VZ5obnq65VwmlrJ2r2K" 'False) (C1 ('MetaCons "NodeProperties'" 'PrefixI 'True) (S1 ('MetaSel ('Just "numNodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "mainNode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "nodeRangeProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [NodeRangeProperty]))))

newNodeProperties Source #

Create a value of NodeProperties 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:NodeProperties', nodeProperties_numNodes - The number of nodes that are associated with a multi-node parallel job.

$sel:mainNode:NodeProperties', nodeProperties_mainNode - Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes.

$sel:nodeRangeProperties:NodeProperties', nodeProperties_nodeRangeProperties - A list of node ranges and their properties that are associated with a multi-node parallel job.

nodeProperties_numNodes :: Lens' NodeProperties Int Source #

The number of nodes that are associated with a multi-node parallel job.

nodeProperties_mainNode :: Lens' NodeProperties Int Source #

Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes.

nodeProperties_nodeRangeProperties :: Lens' NodeProperties [NodeRangeProperty] Source #

A list of node ranges and their properties that are associated with a multi-node parallel job.