class Aws::Batch::Types::NodeOverrides
Object representing any node overrides to a job definition that's used in a SubmitJob API operation.
<note markdown=“1”> This isn't applicable to jobs that are running on Fargate resources and shouldn't be provided; use `containerOverrides` instead.
</note>
@note When making an API call, you may pass NodeOverrides
data as a hash: { num_nodes: 1, node_property_overrides: [ { target_nodes: "String", # required container_overrides: { vcpus: 1, memory: 1, command: ["String"], instance_type: "String", environment: [ { name: "String", value: "String", }, ], resource_requirements: [ { value: "String", # required type: "GPU", # required, accepts GPU, VCPU, MEMORY }, ], }, }, ], }
@!attribute [rw] num_nodes
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. @return [Integer]
@!attribute [rw] node_property_overrides
The node property overrides for the job. @return [Array<Types::NodePropertyOverride>]
@see docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/NodeOverrides AWS API Documentation
Constants
- SENSITIVE