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)


6139
6140
6141
6142
6143
6144
6145
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 6139

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)


6139
6140
6141
6142
6143
6144
6145
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 6139

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)


6139
6140
6141
6142
6143
6144
6145
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 6139

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