AWS::Batch::JobDefinition NodeRangeProperty
An object that represents the properties of the node range for a multi-node parallel job.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Container" :
ContainerProperties
, "TargetNodes" :String
}
YAML
Container:
ContainerProperties
TargetNodes:String
Properties
Container
-
The container details for the node range.
Required: No
Type: ContainerProperties
Update requires: No interruption
TargetNodes
-
The range of nodes, using node index values. A range of
0:3
indicates nodes with index values of0
through3
. If the starting range value is omitted (:n
), then0
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
and4:5
). In this case, the4:5
range properties override the0:10
properties.Required: Yes
Type: String
Update requires: No interruption
See also
-
Multi-node Parallel Jobs in the AWS Batch User Guide.