Module Values.AwsEcsServicePlacementConstraintsDetailsSource

A placement constraint for the tasks in the service.

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

    A cluster query language expression to apply to the constraint. You cannot specify an expression if the constraint type is distinctInstance.

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

    The type of constraint. Use distinctInstance to run each task in a particular group on a different container instance. Use memberOf to restrict the selection to a group of valid candidates. Valid values: distinctInstance | memberOf

    *)
}
Sourceval make : ?expression:??? -> ?type_:??? -> 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