RegisterTargets
In this article:
RegisterTargets#
Description#
Request to add targets to 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#
requestId — The request ID.
Type: String
return —
True
is returned if the request succeeds, and an error otherwise.Type: Boolean
Examples#
c2-elb RegisterTargets TargetGroupArn "tg_arn" Targets.1.Id "instance_id"
c2-elb RegisterTargets TargetGroupArn "tg_arn" Targets.1.Id "instance_id" Targets.1.Port 8080