You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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 representing the properties of a node that is associated with a multi-node parallel job.

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)


2375
2376
2377
2378
2379
2380
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2375

class NodePropertiesSummary < Struct.new(
  :is_main_node,
  :num_nodes,
  :node_index)
  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)


2375
2376
2377
2378
2379
2380
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2375

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

#num_nodesInteger

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

Returns:

  • (Integer)


2375
2376
2377
2378
2379
2380
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2375

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