AWS::Batch::JobDefinition NodeRangeProperty - AWS CloudFormation

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

{ "Container" : ContainerProperties, "EcsProperties" : EcsProperties, "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

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 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 this case, the 4:5 range properties override the 0:10 properties.

Required: Yes

Type: String

Update requires: No interruption

See also