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

Description

 
Synopsis

Documentation

data NodePropertiesSummary Source #

An object that represents the properties of a node that's associated with a multi-node parallel job.

See: newNodePropertiesSummary smart constructor.

Constructors

NodePropertiesSummary' 

Fields

  • isMainNode :: Maybe Bool

    Specifies whether the current node is the main node for a multi-node parallel job.

  • nodeIndex :: Maybe Int

    The node index for the node. Node index numbering begins at zero. This index is also available on the node with the AWS_BATCH_JOB_NODE_INDEX environment variable.

  • numNodes :: Maybe Int

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

Instances

Instances details
FromJSON NodePropertiesSummary Source # 
Instance details

Defined in Amazonka.Batch.Types.NodePropertiesSummary

Generic NodePropertiesSummary Source # 
Instance details

Defined in Amazonka.Batch.Types.NodePropertiesSummary

Associated Types

type Rep NodePropertiesSummary :: Type -> Type #

Read NodePropertiesSummary Source # 
Instance details

Defined in Amazonka.Batch.Types.NodePropertiesSummary

Show NodePropertiesSummary Source # 
Instance details

Defined in Amazonka.Batch.Types.NodePropertiesSummary

NFData NodePropertiesSummary Source # 
Instance details

Defined in Amazonka.Batch.Types.NodePropertiesSummary

Methods

rnf :: NodePropertiesSummary -> () #

Eq NodePropertiesSummary Source # 
Instance details

Defined in Amazonka.Batch.Types.NodePropertiesSummary

Hashable NodePropertiesSummary Source # 
Instance details

Defined in Amazonka.Batch.Types.NodePropertiesSummary

type Rep NodePropertiesSummary Source # 
Instance details

Defined in Amazonka.Batch.Types.NodePropertiesSummary

type Rep NodePropertiesSummary = D1 ('MetaData "NodePropertiesSummary" "Amazonka.Batch.Types.NodePropertiesSummary" "amazonka-batch-2.0-Ey2VZ5obnq65VwmlrJ2r2K" 'False) (C1 ('MetaCons "NodePropertiesSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "isMainNode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "nodeIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "numNodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newNodePropertiesSummary :: NodePropertiesSummary Source #

Create a value of NodePropertiesSummary 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:isMainNode:NodePropertiesSummary', nodePropertiesSummary_isMainNode - Specifies whether the current node is the main node for a multi-node parallel job.

$sel:nodeIndex:NodePropertiesSummary', nodePropertiesSummary_nodeIndex - The node index for the node. Node index numbering begins at zero. This index is also available on the node with the AWS_BATCH_JOB_NODE_INDEX environment variable.

$sel:numNodes:NodePropertiesSummary', nodePropertiesSummary_numNodes - The number of nodes that are associated with a multi-node parallel job.

nodePropertiesSummary_isMainNode :: Lens' NodePropertiesSummary (Maybe Bool) Source #

Specifies whether the current node is the main node for a multi-node parallel job.

nodePropertiesSummary_nodeIndex :: Lens' NodePropertiesSummary (Maybe Int) Source #

The node index for the node. Node index numbering begins at zero. This index is also available on the node with the AWS_BATCH_JOB_NODE_INDEX environment variable.

nodePropertiesSummary_numNodes :: Lens' NodePropertiesSummary (Maybe Int) Source #

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