Class: Aws::Batch::Types::MountPoint

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

Overview

Details for a Docker volume mount point that's used in a job's container properties. This parameter maps to Volumes in the Create a container section of the Docker Remote API and the --volume option to docker run.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#container_pathString

The path on the container where the host volume is mounted.

Returns:

  • (String)


6248
6249
6250
6251
6252
6253
6254
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 6248

class MountPoint < Struct.new(
  :container_path,
  :read_only,
  :source_volume)
  SENSITIVE = []
  include Aws::Structure
end

#read_onlyBoolean

If this value is true, the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is false.

Returns:

  • (Boolean)


6248
6249
6250
6251
6252
6253
6254
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 6248

class MountPoint < Struct.new(
  :container_path,
  :read_only,
  :source_volume)
  SENSITIVE = []
  include Aws::Structure
end

#source_volumeString

The name of the volume to mount.

Returns:

  • (String)


6248
6249
6250
6251
6252
6253
6254
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 6248

class MountPoint < Struct.new(
  :container_path,
  :read_only,
  :source_volume)
  SENSITIVE = []
  include Aws::Structure
end