class Aws::Batch::Types::NodeProperties

An object representing the node properties of a multi-node parallel job.

@note When making an API call, you may pass NodeProperties

data as a hash:

    {
      num_nodes: 1, # required
      main_node: 1, # required
      node_range_properties: [ # required
        {
          target_nodes: "String", # required
          container: {
            image: "String",
            vcpus: 1,
            memory: 1,
            command: ["String"],
            job_role_arn: "String",
            execution_role_arn: "String",
            volumes: [
              {
                host: {
                  source_path: "String",
                },
                name: "String",
                efs_volume_configuration: {
                  file_system_id: "String", # required
                  root_directory: "String",
                  transit_encryption: "ENABLED", # accepts ENABLED, DISABLED
                  transit_encryption_port: 1,
                  authorization_config: {
                    access_point_id: "String",
                    iam: "ENABLED", # accepts ENABLED, DISABLED
                  },
                },
              },
            ],
            environment: [
              {
                name: "String",
                value: "String",
              },
            ],
            mount_points: [
              {
                container_path: "String",
                read_only: false,
                source_volume: "String",
              },
            ],
            readonly_root_filesystem: false,
            privileged: false,
            ulimits: [
              {
                hard_limit: 1, # required
                name: "String", # required
                soft_limit: 1, # required
              },
            ],
            user: "String",
            instance_type: "String",
            resource_requirements: [
              {
                value: "String", # required
                type: "GPU", # required, accepts GPU, VCPU, MEMORY
              },
            ],
            linux_parameters: {
              devices: [
                {
                  host_path: "String", # required
                  container_path: "String",
                  permissions: ["READ"], # accepts READ, WRITE, MKNOD
                },
              ],
              init_process_enabled: false,
              shared_memory_size: 1,
              tmpfs: [
                {
                  container_path: "String", # required
                  size: 1, # required
                  mount_options: ["String"],
                },
              ],
              max_swap: 1,
              swappiness: 1,
            },
            log_configuration: {
              log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
              options: {
                "String" => "String",
              },
              secret_options: [
                {
                  name: "String", # required
                  value_from: "String", # required
                },
              ],
            },
            secrets: [
              {
                name: "String", # required
                value_from: "String", # required
              },
            ],
            network_configuration: {
              assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
            },
            fargate_platform_configuration: {
              platform_version: "String",
            },
          },
        },
      ],
    }

@!attribute [rw] num_nodes

The number of nodes associated with a multi-node parallel job.
@return [Integer]

@!attribute [rw] main_node

Specifies the node index for the main node of a multi-node parallel
job. This node index value must be fewer than the number of nodes.
@return [Integer]

@!attribute [rw] node_range_properties

A list of node ranges and their properties associated with a
multi-node parallel job.
@return [Array<Types::NodeRangeProperty>]

@see docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/NodeProperties AWS API Documentation

Constants

SENSITIVE