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

Class: Aws::Batch::Types::Device

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Device as input to an Aws::Client method, you can use a vanilla Hash:

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

An object representing a container instance host device.

Instance Attribute Summary collapse

Instance Attribute Details

#container_pathString

The path inside the container at which to expose the host device. By default the hostPath value is used.

Returns:

  • (String)

    The path inside the container at which to expose the host device.

#host_pathString

The path for the device on the host container instance.

Returns:

  • (String)

    The path for the device on the host container instance.

#permissionsArray<String>

The explicit permissions to provide to the container for the device. By default, the container has permissions for read, write, and mknod for the device.

Returns:

  • (Array<String>)

    The explicit permissions to provide to the container for the device.