Module Values.EksContainerOverrideSource

Object representing any Kubernetes overrides to a job definition that's used in a SubmitJob API operation.

Sourcetype nonrec t = {
  1. name : String_.t option;
    (*

    A pointer to the container that you want to override. The name must match a unique container name that you wish to override.

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

    The override of the Docker image that's used to start the container.

    *)
  3. command : StringList.t option;
    (*

    The command to send to the container that overrides the default command from the Docker image or the job definition.

    *)
  4. args : StringList.t option;
    (*

    The arguments to the entrypoint to send to the container that overrides the default arguments from the Docker image or the job definition. For more information, see Dockerfile reference: CMD and Define a command an arguments for a pod in the Kubernetes documentation.

    *)
  5. env : EksContainerEnvironmentVariables.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.

    *)
  6. resources : EksContainerResourceRequirements.t option;
    (*

    The type and amount of resources to assign to a container. These override the settings in the job definition. The supported resources include memory, cpu, and nvidia.com/gpu. For more information, see Resource management for pods and containers in the Kubernetes documentation.

    *)
}
Sourceval make : ?name:??? -> ?image:??? -> ?command:??? -> ?args:??? -> ?env:??? -> ?resources:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of String_.t | `Structure of (string * [> `String of String_.t ]) list ] list | `String of String_.t | `Structure of (string * [> `Map of ([> `String of String_.t ] * [> `String of Quantity.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