Module Values.AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetailsSource

A resource to assign to a container.

Sourcetype nonrec t = {
  1. type_ : NonEmptyString.t option;
    (*

    The type of resource to assign to a container. Valid values are GPU or InferenceAccelerator.

    *)
  2. value : NonEmptyString.t option;
    (*

    The value for the specified resource type. For GPU, the value is the number of physical GPUs the Amazon ECS container agent reserves for the container. For InferenceAccelerator, the value should match the DeviceName attribute of an entry in InferenceAccelerators.

    *)
}
Sourceval make : ?type_:??? -> ?value:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of NonEmptyString.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