Module Values.WeightedTargetGroupSource

Describes the weight of a target group.

Sourcetype nonrec t = {
  1. targetGroupIdentifier : TargetGroupIdentifier.t;
    (*

    The ID or ARN of the target group.

    *)
  2. weight : TargetGroupWeight.t option;
    (*

    Only required if you specify multiple target groups for a forward action. The weight determines how requests are distributed to the target group. For example, if you specify two target groups, each with a weight of 10, each target group receives half the requests. If you specify two target groups, one with a weight of 10 and the other with a weight of 20, the target group with a weight of 20 receives twice as many requests as the other target group. If there's only one target group specified, then the default value is 100.

    *)
}
Sourceval context_ : string
Sourceval make : ?weight:??? -> targetGroupIdentifier:TargetGroupIdentifier.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of TargetGroupWeight.t | `String of TargetGroupIdentifier.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