Module Values.AttachInstancesToLoadBalancerRequestSource

Attaches one or more Lightsail instances to a load balancer. After some time, the instances are attached to the load balancer and the health check status is available. The attach instances to load balancer operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Lightsail Developer Guide.

Sourcetype nonrec t = {
  1. loadBalancerName : ResourceName.t;
    (*

    The name of the load balancer.

    *)
  2. instanceNames : ResourceNameList.t;
    (*

    An array of strings representing the instance name(s) you want to attach to your load balancer. An instance must be running before you can attach it to your load balancer. There are no additional limits on the number of instances you can attach to your load balancer, aside from the limit of Lightsail instances you can create in your account (20).

    *)
}
Sourceval context_ : string
Sourceval make : loadBalancerName:ResourceName.t -> instanceNames:ResourceNameList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of ResourceName.t ] list | `String of ResourceName.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