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)


5984
5985
5986
5987
5988
5989
5990
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 5984

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)


5984
5985
5986
5987
5988
5989
5990
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 5984

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)


5984
5985
5986
5987
5988
5989
5990
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 5984

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