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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.

[1]: docs.docker.com/engine/api/v1.43/#tag/Container/operation/ContainerCreate

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)


5981
5982
5983
5984
5985
5986
5987
# File 'lib/aws-sdk-batch/types.rb', line 5981

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)


5981
5982
5983
5984
5985
5986
5987
# File 'lib/aws-sdk-batch/types.rb', line 5981

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)


5981
5982
5983
5984
5985
5986
5987
# File 'lib/aws-sdk-batch/types.rb', line 5981

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