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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb

Overview

An object that represents a container instance host device.

This object isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#container_pathString

The path inside the container that's used to expose the host device. By default, the hostPath value is used.

Returns:

  • (String)


2792
2793
2794
2795
2796
2797
2798
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2792

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

#host_pathString

The path for the device on the host container instance.

Returns:

  • (String)


2792
2793
2794
2795
2796
2797
2798
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2792

class Device < Struct.new(
  :host_path,
  :container_path,
  :permissions)
  SENSITIVE = []
  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>)


2792
2793
2794
2795
2796
2797
2798
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2792

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