Class: Aws::Batch::Types::NodeOverrides

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-batch/types.rb

Overview

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

<note markdown=“1”> This parameter isn’t applicable to jobs that are running on Fargate resources. Don’t provide it for these jobs. Rather, use ‘containerOverrides` instead.

</note>

[1]: docs.aws.amazon.com/batch/latest/APIReference/API_SubmitJob.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#node_property_overridesArray<Types::NodePropertyOverride>

The node property overrides for the job.

Returns:



6001
6002
6003
6004
6005
6006
# File 'lib/aws-sdk-batch/types.rb', line 6001

class NodeOverrides < Struct.new(
  :num_nodes,
  :node_property_overrides)
  SENSITIVE = []
  include Aws::Structure
end

#num_nodesInteger

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.

Returns:

  • (Integer)


6001
6002
6003
6004
6005
6006
# File 'lib/aws-sdk-batch/types.rb', line 6001

class NodeOverrides < Struct.new(
  :num_nodes,
  :node_property_overrides)
  SENSITIVE = []
  include Aws::Structure
end