Module Values.AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetailsSource

Information about a Docker volume.

Sourcetype nonrec t = {
  1. autoprovision : Boolean.t option;
    (*

    Whether to create the Docker volume automatically if it does not already exist.

    *)
  2. driver : NonEmptyString.t option;
    (*

    The Docker volume driver to use.

    *)
  3. driverOpts : FieldMap.t option;
    (*

    A map of Docker driver-specific options that are passed through.

    *)
  4. labels : FieldMap.t option;
    (*

    Custom metadata to add to the Docker volume.

    *)
  5. scope : NonEmptyString.t option;
    (*

    The scope for the Docker volume that determines its lifecycle. Docker volumes that are scoped to a task are provisioned automatically when the task starts and destroyed when the task stops. Docker volumes that are shared persist after the task stops. Valid values are shared or task.

    *)
}
Sourceval make : ?autoprovision:??? -> ?driver:??? -> ?driverOpts:??? -> ?labels:??? -> ?scope:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Map of ([> `String of NonEmptyString.t ] * [> `String of NonEmptyString.t ]) list | `String of NonEmptyString.t ]) 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