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

Class: Aws::Batch::Types::LinuxParameters

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

Overview

Note:

When making an API call, you may pass LinuxParameters data as a hash:

{
  devices: [
    {
      host_path: "String", # required
      container_path: "String",
      permissions: ["READ"], # accepts READ, WRITE, MKNOD
    },
  ],
}

Linux-specific modifications that are applied to the container, such as details for device mappings.

Instance Attribute Summary collapse

Instance Attribute Details

#devicesArray<Types::Device>

Any host devices to expose to the container. This parameter maps to Devices in the Create a container section of the Docker Remote API and the --device option to docker run.

Returns:



2021
2022
2023
2024
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2021

class LinuxParameters < Struct.new(
  :devices)
  include Aws::Structure
end