Module Values.ContainerSource

A Docker container that's part of a task.

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

    The Amazon Resource Name (ARN) of the container.

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

    The ARN of the task.

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

    The name of the container.

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

    The image used for the container.

    *)
  5. imageDigest : String_.t option;
    (*

    The container image manifest digest.

    *)
  6. runtimeId : String_.t option;
    (*

    The ID of the Docker container.

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

    The last known status of the container.

    *)
  8. exitCode : BoxedInteger.t option;
    (*

    The exit code returned from the container.

    *)
  9. reason : String_.t option;
    (*

    A short (1024 max characters) human-readable string to provide additional details about a running or stopped container.

    *)
  10. networkBindings : NetworkBindings.t option;
    (*

    The network bindings associated with the container.

    *)
  11. networkInterfaces : NetworkInterfaces.t option;
    (*

    The network interfaces associated with the container.

    *)
  12. healthStatus : HealthStatus.t option;
    (*

    The health status of the container. If health checks aren't configured for this container in its task definition, then it reports the health status as UNKNOWN.

    *)
  13. managedAgents : ManagedAgents.t option;
    (*

    The details of any Amazon ECS managed agents associated with the container.

    *)
  14. cpu : String_.t option;
    (*

    The number of CPU units set for the container. The value is 0 if no value was specified in the container definition when the task definition was registered.

    *)
  15. memory : String_.t option;
    (*

    The hard limit (in MiB) of memory set for the container.

    *)
  16. memoryReservation : String_.t option;
    (*

    The soft limit (in MiB) of memory set for the container.

    *)
  17. gpuIds : GpuIds.t option;
    (*

    The IDs of each GPU assigned to the container.

    *)
}
Sourceval make : ?containerArn:??? -> ?taskArn:??? -> ?name:??? -> ?image:??? -> ?imageDigest:??? -> ?runtimeId:??? -> ?lastStatus:??? -> ?exitCode:??? -> ?reason:??? -> ?networkBindings:??? -> ?networkInterfaces:??? -> ?healthStatus:??? -> ?managedAgents:??? -> ?cpu:??? -> ?memory:??? -> ?memoryReservation:??? -> ?gpuIds:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of BoxedInteger.t | `List of [> `String of String_.t | `Structure of (string * [> `Enum of string | `Integer of BoxedInteger.t | `String of String_.t | `Timestamp of Timestamp.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