Struct aws_sdk_batch::model::NodeOverrides
source · [−]#[non_exhaustive]pub struct NodeOverrides {
pub num_nodes: i32,
pub node_property_overrides: Option<Vec<NodePropertyOverride>>,
}
Expand description
Object representing any node overrides to a job definition that's used in a SubmitJob
API operation.
This isn't applicable to jobs that are running on Fargate resources and shouldn't be provided; use containerOverrides
instead.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.num_nodes: i32
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
:
orn:
). -
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.
node_property_overrides: Option<Vec<NodePropertyOverride>>
The node property overrides for the job.
Implementations
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
:
orn:
). -
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.
The node property overrides for the job.
Creates a new builder-style object to manufacture NodeOverrides
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for NodeOverrides
impl Send for NodeOverrides
impl Sync for NodeOverrides
impl Unpin for NodeOverrides
impl UnwindSafe for NodeOverrides
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more