Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

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

Copy
{ "ReadOnly" : Boolean, "SourceVolume" : String, "ContainerPath" : String }

YAML

Copy
ReadOnly: Boolean SourceVolume: String ContainerPath: 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 is false.

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

On this page: