Volume - AWS Batch


A data volume used in a job's container properties.



This parameter is specified when you are using an Amazon Elastic File System file system for job storage. Jobs that are running on Fargate resources must specify a platformVersion of at least 1.4.0.

Type: EFSVolumeConfiguration object

Required: No


The contents of the host parameter 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. However, the data isn't guaranteed to persist after the containers associated with it stop running.


This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.

Type: Host object

Required: No


The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This name is referenced in the sourceVolume parameter of container definition mountPoints.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: