Class: Aws::Batch::Types::NodePropertiesSummary

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

Overview

An object that represents the properties of a node that's associated with a multi-node parallel job.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#is_main_nodeBoolean

Specifies whether the current node is the main node for a multi-node parallel job.

Returns:

  • (Boolean)


6160
6161
6162
6163
6164
6165
6166
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 6160

class NodePropertiesSummary < Struct.new(
  :is_main_node,
  :num_nodes,
  :node_index)
  SENSITIVE = []
  include Aws::Structure
end

#node_indexInteger

The node index for the node. Node index numbering begins at zero. This index is also available on the node with the AWS_BATCH_JOB_NODE_INDEX environment variable.

Returns:

  • (Integer)


6160
6161
6162
6163
6164
6165
6166
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 6160

class NodePropertiesSummary < Struct.new(
  :is_main_node,
  :num_nodes,
  :node_index)
  SENSITIVE = []
  include Aws::Structure
end

#num_nodesInteger

The number of nodes that are associated with a multi-node parallel job.

Returns:

  • (Integer)


6160
6161
6162
6163
6164
6165
6166
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 6160

class NodePropertiesSummary < Struct.new(
  :is_main_node,
  :num_nodes,
  :node_index)
  SENSITIVE = []
  include Aws::Structure
end