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
- Struct
- Aws::Batch::Types::Device
- 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
-
#container_path ⇒ String
The path inside the container at which to expose the host device.
-
#host_path ⇒ String
The path for the device on the host container instance.
-
#permissions ⇒ Array<String>
The explicit permissions to provide to the container for the device.
Instance Attribute Details
#container_path ⇒ String
The path inside the container at which to expose the host device. By
default the hostPath
value is used.
#host_path ⇒ String
The path for the device on the host container instance.
#permissions ⇒ Array<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.