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

Class: Aws::ECS::Types::Device

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecs/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

Instance Attribute Details

#container_pathString

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

Returns:

  • (String)


2081
2082
2083
2084
2085
2086
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 2081

class Device < Struct.new(
  :host_path,
  :container_path,
  :permissions)
  include Aws::Structure
end

#host_pathString

The path for the device on the host container instance.

Returns:

  • (String)


2081
2082
2083
2084
2085
2086
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 2081

class Device < Struct.new(
  :host_path,
  :container_path,
  :permissions)
  include Aws::Structure
end

#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>)


2081
2082
2083
2084
2085
2086
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 2081

class Device < Struct.new(
  :host_path,
  :container_path,
  :permissions)
  include Aws::Structure
end