AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::ECS::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.

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.