class Aws::Batch::Types::Volume
A data volume used in a job's container properties.
@note When making an API call, you may pass Volume
data as a hash: { host: { source_path: "String", }, name: "String", efs_volume_configuration: { file_system_id: "String", # required root_directory: "String", transit_encryption: "ENABLED", # accepts ENABLED, DISABLED transit_encryption_port: 1, authorization_config: { access_point_id: "String", iam: "ENABLED", # accepts ENABLED, DISABLED }, }, }
@!attribute [rw] host
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. <note markdown="1"> This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided. </note> @return [Types::Host]
@!attribute [rw] 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 `sourceVolume` parameter of container definition `mountPoints`. @return [String]
@!attribute [rw] efs_volume_configuration
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`. @return [Types::EFSVolumeConfiguration]
@see docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/Volume AWS API Documentation
Constants
- SENSITIVE