AWS::Batch::JobDefinition NodeProperties
An object that represents the node properties of a multi-node parallel job.
Note
Node properties can't be specified for Amazon EKS based job definitions.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "MainNode" :
Integer
, "NodeRangeProperties" :[ NodeRangeProperty, ... ]
, "NumNodes" :Integer
}
YAML
MainNode:
Integer
NodeRangeProperties:- NodeRangeProperty
NumNodes:Integer
Properties
MainNode
-
Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes.
Required: Yes
Type: Integer
Update requires: No interruption
NodeRangeProperties
-
A list of node ranges and their properties that are associated with a multi-node parallel job.
Required: Yes
Type: Array of NodeRangeProperty
Update requires: No interruption
NumNodes
-
The number of nodes that are associated with a multi-node parallel job.
Required: Yes
Type: Integer
Update requires: No interruption
See also
-
Multi-node Parallel Jobs in the Amazon Batch User Guide .