DescribeTargetHealth
In this article:
DescribeTargetHealth#
Description#
Request to get the list of targets in a target group.
Request Parameters#
TargetGroupArn — The Amazon Resource Name (ARN) of the target group.
Type: String
Required: Yes
Targets.N — Targets.
Type: List of Target objects
Required: Yes
Response Elements#
TargetHealthDescriptions.N — Information about target health.
Type: List of TargetHealthDescription objects.
Examples#
c2-elb DescribeTargetHealth TargetGroupArn "tg_arn" Targets.1.Id "instance_id"
c2-elb DescribeTargetHealth TargetGroupArn "tg_arn" Targets.1.Id "instance_id" Targets.1.Port 8080