# NOT RUN {
# This example describes the health of the targets for the specified
# target group. One target is healthy but the other is not specified in an
# action, so it can't receive traffic from the load balancer.
svc$describe_target_health(
TargetGroupArn = "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targe..."
)
# This example describes the health of the specified target. This target
# is healthy.
svc$describe_target_health(
TargetGroupArn = "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targe...",
Targets = list(
list(
Id = "i-0f76fade",
Port = 80L
)
)
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab