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)


5805
5806
5807
5808
5809
5810
5811
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 5805

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)


5805
5806
5807
5808
5809
5810
5811
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 5805

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)


5805
5806
5807
5808
5809
5810
5811
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 5805

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