AWS Batch JobDefinition Volumes
The Volumes property type specifies data volumes for containers to use in
a job definition.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Host" : VolumesHost, "Name" :String}
YAML
Host: VolumesHost Name:String
Properties
Host-
The contents of the
Hostparameter determine whether your data volume persists on the host container instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume, but the data is not guaranteed to persist after the containers associated with it stop running.Required: no
Type: AWS Batch JobDefinition VolumesHost
Update requires: No Interruption
Name-
The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This name is referenced in the
SourceVolumeparameter of container definitionMountPoints.Required: no
Type: String
Update requires: No Interruption
