Class: Aws::Batch::Types::NodeOverrides
- Inherits:
-
Struct
- Object
- Struct
- Aws::Batch::Types::NodeOverrides
- 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
-
#node_property_overrides ⇒ Array<Types::NodePropertyOverride>
The node property overrides for the job.
-
#num_nodes ⇒ Integer
The number of nodes to use with a multi-node parallel job.
Instance Attribute Details
#node_property_overrides ⇒ Array<Types::NodePropertyOverride>
The node property overrides for the job.
6099 6100 6101 6102 6103 6104 |
# File 'lib/aws-sdk-batch/types.rb', line 6099 class NodeOverrides < Struct.new( :num_nodes, :node_property_overrides) SENSITIVE = [] include Aws::Structure end |
#num_nodes ⇒ Integer
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.
6099 6100 6101 6102 6103 6104 |
# File 'lib/aws-sdk-batch/types.rb', line 6099 class NodeOverrides < Struct.new( :num_nodes, :node_property_overrides) SENSITIVE = [] include Aws::Structure end |