Module Values.BatchContainerOverridesSource

The overrides that are sent to a container.

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 task definition.

    *)
  2. environment : BatchEnvironmentVariableList.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 task definition. Environment variables cannot start with "Batch". This naming convention is reserved for variables that Batch sets.

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

    The instance type to use for a multi-node parallel job. This parameter isn't applicable to single-node container jobs or jobs that run on Fargate resources, and shouldn't be provided.

    *)
  4. resourceRequirements : BatchResourceRequirementsList.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:??? -> ?instanceType:??? -> ?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