AWS Batch JobDefinition MountPoints
The
MountPoints property type specifies mount points for data volumes in your container. This parameter
maps to
Volumes in the Create a container section of the
Docker Remote API and the --volume option to docker
run.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "ReadOnly" :Boolean, "SourceVolume" :String, "ContainerPath" :String}
YAML
ReadOnly:BooleanSourceVolume:StringContainerPath:String
Properties
ReadOnly-
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 isfalse.Required: no
Type: Boolean
Update requires: No Interruption
SourceVolume-
The name of the volume to mount.
Required: no
Type: String
Update requires: No Interruption
ContainerPath-
The path on the container at which to mount the host volume.
Required: no
Type: String
Update requires: No Interruption
