You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Batch::Types::NodePropertyOverride
- Inherits:
-
Struct
- Object
- Struct
- Aws::Batch::Types::NodePropertyOverride
- Defined in:
- (unknown)
Overview
When passing NodePropertyOverride as input to an Aws::Client method, you can use a vanilla Hash:
{
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
},
],
},
}
Object representing any node overrides to a job definition that is used in a SubmitJob API operation.
Instance Attribute Summary collapse
-
#container_overrides ⇒ Types::ContainerOverrides
The overrides that should be sent to a node range.
-
#target_nodes ⇒ String
The range of nodes, using node index values, with which to override.
Instance Attribute Details
#container_overrides ⇒ Types::ContainerOverrides
The overrides that should be sent to a node range.
#target_nodes ⇒ String
The range of nodes, using node index values, with which to override. A
range of 0:3
indicates nodes with index values of 0
through 3
. If
the starting range value is omitted (:n
), then 0
is used to start
the range. If the ending range value is omitted (n:
), then the highest
possible node index is used to end the range.