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

Description

 
Synopsis

Documentation

data NodeRangeProperty Source #

An object representing the properties of the node range for a multi-node parallel job.

See: newNodeRangeProperty smart constructor.

Constructors

NodeRangeProperty' 

Fields

  • container :: Maybe ContainerProperties

    The container details for the node range.

  • targetNodes :: Text

    The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of 0 through 3. If the starting range value is omitted (:n), then 0 is used to start the range. If the ending range value is omitted (n:), then the highest possible node index is used to end the range. Your accumulative node ranges must account for all nodes (0:n). You can nest node ranges, for example 0:10 and 4:5, in which case the 4:5 range properties override the 0:10 properties.

Instances

Instances details
Eq NodeRangeProperty Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeRangeProperty

Read NodeRangeProperty Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeRangeProperty

Show NodeRangeProperty Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeRangeProperty

Generic NodeRangeProperty Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeRangeProperty

Associated Types

type Rep NodeRangeProperty :: Type -> Type #

NFData NodeRangeProperty Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeRangeProperty

Methods

rnf :: NodeRangeProperty -> () #

Hashable NodeRangeProperty Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeRangeProperty

ToJSON NodeRangeProperty Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeRangeProperty

FromJSON NodeRangeProperty Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeRangeProperty

type Rep NodeRangeProperty Source # 
Instance details

Defined in Amazonka.Batch.Types.NodeRangeProperty

type Rep NodeRangeProperty = D1 ('MetaData "NodeRangeProperty" "Amazonka.Batch.Types.NodeRangeProperty" "libZSservicesZSamazonka-batchZSamazonka-batch" 'False) (C1 ('MetaCons "NodeRangeProperty'" 'PrefixI 'True) (S1 ('MetaSel ('Just "container") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContainerProperties)) :*: S1 ('MetaSel ('Just "targetNodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newNodeRangeProperty Source #

Create a value of NodeRangeProperty 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:container:NodeRangeProperty', nodeRangeProperty_container - The container details for the node range.

$sel:targetNodes:NodeRangeProperty', nodeRangeProperty_targetNodes - The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of 0 through 3. If the starting range value is omitted (:n), then 0 is used to start the range. If the ending range value is omitted (n:), then the highest possible node index is used to end the range. Your accumulative node ranges must account for all nodes (0:n). You can nest node ranges, for example 0:10 and 4:5, in which case the 4:5 range properties override the 0:10 properties.

nodeRangeProperty_targetNodes :: Lens' NodeRangeProperty Text Source #

The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of 0 through 3. If the starting range value is omitted (:n), then 0 is used to start the range. If the ending range value is omitted (n:), then the highest possible node index is used to end the range. Your accumulative node ranges must account for all nodes (0:n). You can nest node ranges, for example 0:10 and 4:5, in which case the 4:5 range properties override the 0:10 properties.