Module Values.TaskContainerOverridesSource

The overrides that should be sent to a container. For information about using Batch overrides when you connect event sources to targets, see BatchContainerOverrides.

Sourcetype nonrec t = {
  1. command : StringList.t option;
    (*

    The command to send to the container that overrides the default command from the Docker image or the job definition. This parameter can't contain an empty string.

    *)
  2. environment : EnvironmentVariables.t option;
    (*

    The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the job definition. Environment variables cannot start with AWS_BATCH. This naming convention is reserved for variables that Batch sets.

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

    A pointer to the container that you want to override. The container's name provides a unique identifier for the container being used.

    *)
  4. resourceRequirements : ResourceRequirements.t option;
    (*

    The type and amount of resources to assign to a container. This overrides the settings in the job definition. The supported resources include GPU, MEMORY, and VCPU.

    *)
}
Sourceval make : ?command:??? -> ?environment:??? -> ?name:??? -> ?resourceRequirements:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of String_.t | `Structure of (string * [> `Enum of string | `String of String_.t ]) list ] list | `String of String_.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