Class: Aws::ECS::Types::Device
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::Device
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ecs/types.rb
Overview
Note:
When making an API call, you may pass Device data as a 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.
2205 2206 2207 2208 2209 2210 |
# File 'lib/aws-sdk-ecs/types.rb', line 2205 class Device < Struct.new( :host_path, :container_path, :permissions) include Aws::Structure end |
#host_path ⇒ String
The path for the device on the host container instance.
2205 2206 2207 2208 2209 2210 |
# File 'lib/aws-sdk-ecs/types.rb', line 2205 class Device < Struct.new( :host_path, :container_path, :permissions) include Aws::Structure end |
#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.
2205 2206 2207 2208 2209 2210 |
# File 'lib/aws-sdk-ecs/types.rb', line 2205 class Device < Struct.new( :host_path, :container_path, :permissions) include Aws::Structure end |