Module Values.TargetSource

Describes a target.

Sourcetype nonrec t = {
  1. id : TargetIdString.t;
    (*

    The ID of the target. If the target group type is INSTANCE, this is an instance ID. If the target group type is IP, this is an IP address. If the target group type is LAMBDA, this is the ARN of a Lambda function. If the target group type is ALB, this is the ARN of an Application Load Balancer.

    *)
  2. port : Port.t option;
    (*

    The port on which the target is listening. For HTTP, the default is 80. For HTTPS, the default is 443.

    *)
}
Sourceval context_ : string
Sourceval make : ?port:??? -> id:TargetIdString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Port.t | `String of TargetIdString.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