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 AWS CloudFormation template, use the following syntax:
JSON
{ "ConsumableResourceProperties" :
ConsumableResourceProperties
, "Container" :MultiNodeContainerProperties
, "EcsProperties" :MultiNodeEcsProperties
, "EksProperties" :EksProperties
, "InstanceTypes" :[ String, ... ]
, "TargetNodes" :String
}
YAML
ConsumableResourceProperties:
ConsumableResourceProperties
Container:MultiNodeContainerProperties
EcsProperties:MultiNodeEcsProperties
EksProperties:EksProperties
InstanceTypes:- String
TargetNodes:String
Properties
ConsumableResourceProperties
-
Contains a list of consumable resources required by a job.
Required: No
Type: ConsumableResourceProperties
Update requires: No interruption
Container
-
The container details for the node range.
Required: No
Type: MultiNodeContainerProperties
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: MultiNodeEcsProperties
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 AWS Batch User Guide .