AWS::Batch::JobDefinition NodeRangeProperty
This is an object that represents the properties of the node range for a multi-node parallel job.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Container" :
ContainerProperties
, "EcsProperties" :EcsProperties
, "EksProperties" :EksProperties
, "InstanceTypes" :[ String, ... ]
, "TargetNodes" :String
}
YAML
Container:
ContainerProperties
EcsProperties:EcsProperties
EksProperties:EksProperties
InstanceTypes:- String
TargetNodes:String
Properties
Container
-
The container details for the node range.
Required: No
Type: ContainerProperties
Update requires: No interruption
EcsProperties
-
This is an object that represents the properties of the node range for a multi-node parallel job.
Required: No
Type: EcsProperties
Update requires: No interruption
EksProperties
-
This is an object that represents the properties of the node range for a multi-node parallel job.
Required: No
Type: EksProperties
Update requires: No interruption
InstanceTypes
-
The instance types of the underlying host infrastructure of a multi-node parallel job.
Note
This parameter isn't applicable to jobs that are running on Fargate resources.
In addition, this list object is currently limited to one element.
Required: No
Type: Array of String
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 Amazon Batch User Guide .