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
- Struct
- Aws::Batch::Types::MountPoint
- Defined in:
- (unknown)
Overview
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
-
#container_path ⇒ String
The path on the container at which to mount the host volume.
-
#read_only ⇒ Boolean
If this value is
true
, the container has read-only access to the volume; otherwise, the container can write to the volume. -
#source_volume ⇒ String
The name of the volume to mount.
Instance Attribute Details
#container_path ⇒ String
The path on the container at which to mount the host volume.
#read_only ⇒ Boolean
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
.
#source_volume ⇒ String
The name of the volume to mount.