Module Values.VolumeSource

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

Sourcetype nonrec t = {
  1. host : Host.t option;
    (*

    The contents of the host parameter determine whether your data volume persists on the host container instance and where it's 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 that are associated with it stop running. This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.

    *)
  2. name : String_.t option;
    (*

    The name of the volume. It can be up to 255 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). This name is referenced in the sourceVolume parameter of container definition mountPoints.

    *)
  3. efsVolumeConfiguration : EFSVolumeConfiguration.t option;
    (*

    This parameter is specified when you're 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.

    *)
  4. s3filesVolumeConfiguration : S3FilesVolumeConfiguration.t option;
    (*

    This parameter is specified when you're using an S3Files file system for job storage.

    *)
}
Sourceval make : ?host:??? -> ?name:??? -> ?efsVolumeConfiguration:??? -> ?s3filesVolumeConfiguration:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `Enum of string | `Integer of Integer.t | `String of String_.t | `Structure of (string * [> `Enum of string | `String of String_.t ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t