You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing MountPoint as input to an Aws::Client method, you can use a vanilla Hash:

{
  container_path: "String",
  read_only: false,
  source_volume: "String",
}

Details on a Docker volume mount point that is 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.

Instance Attribute Summary collapse

Instance Attribute Details

#container_pathString

The path on the container at which to mount the host volume.

Returns:

  • (String)

    The path on the container at which to mount the host volume.

#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)

    If this value is true, the container has read-only access to the volume; otherwise, the container can write to the volume.

#source_volumeString

The name of the volume to mount.

Returns:

  • (String)

    The name of the volume to mount.