NodeOverrides - AWS Batch

NodeOverrides

An object that represents any node overrides to a job definition that's used in a SubmitJob API operation.

Note

This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs. Rather, 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, you must meet the following conditions:

  • 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 that's specified in the job definition must be fewer than the number of nodes specified in the override.

  • The main node index that's 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 AWS SDKs, see the following: