Module Values.EcsContainerOverrideSource

The overrides that are sent to a container. An empty container override can be passed in. An example of an empty container override is {"containerOverrides": [ ] }. If a non-empty container override is specified, the name parameter must be included.

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. You must also specify a container name.

    *)
  2. cpu : Integer.t option;
    (*

    The number of cpu units reserved for the container, instead of the default value from the task definition. You must also specify a container name.

    *)
  3. environment : EcsEnvironmentVariableList.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. You must also specify a container name.

    *)
  4. environmentFiles : EcsEnvironmentFileList.t option;
    (*

    A list of files containing the environment variables to pass to a container, instead of the value from the container definition.

    *)
  5. memory : Integer.t option;
    (*

    The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name.

    *)
  6. memoryReservation : Integer.t option;
    (*

    The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition. You must also specify a container name.

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

    The name of the container that receives the override. This parameter is required if any override is specified.

    *)
  8. resourceRequirements : EcsResourceRequirementsList.t option;
    (*

    The type and amount of a resource to assign to a container, instead of the default value from the task definition. The only supported resource is a GPU.

    *)
}
Sourceval make : ?command:??? -> ?cpu:??? -> ?environment:??? -> ?environmentFiles:??? -> ?memory:??? -> ?memoryReservation:??? -> ?name:??? -> ?resourceRequirements:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `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