Module Values.RegisterTargetsInputSource

Registers the specified targets with the specified target group. If the target is an EC2 instance, it must be in the running state when you register it. By default, the load balancer routes requests to registered targets using the protocol and port for the target group. Alternatively, you can override the port for a target when you register it. You can register each EC2 instance or IP address with the same target group multiple times using different ports. For more information, see the following: Register targets for your Application Load Balancer Register targets for your Network Load Balancer Register targets for your Gateway Load Balancer

Sourcetype nonrec t = {
  1. targetGroupArn : TargetGroupArn.t;
    (*

    The Amazon Resource Name (ARN) of the target group.

    *)
  2. targets : TargetDescriptions.t;
    (*

    The targets.

    *)
}
Sourceval context_ : string
Sourceval make : targetGroupArn:TargetGroupArn.t -> targets:TargetDescriptions.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Integer of Port.t | `String of TargetId.t ]) list ] list | `String of TargetGroupArn.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