NodeOverrides - Amazon Batch
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

NodeOverrides

Object representing any node overrides to a job definition that's used in a SubmitJob API operation.

Note

This isn't applicable to jobs that are running on Fargate resources and shouldn't be provided; use containerOverrides instead.

Contents

nodePropertyOverrides

The node property overrides for the job.

Type: Array of NodePropertyOverride objects

Required: No

numNodes

The number of nodes to use with a multi-node parallel job. This value overrides the number of nodes that are specified in the job definition. To use this override:

  • There must be at least one node range in your job definition that has an open upper boundary (such as : or n:).

  • The lower boundary of the node range specified in the job definition must be fewer than the number of nodes specified in the override.

  • The main node index specified in the job definition must be fewer than the number of nodes specified in the override.

Type: Integer

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: