paws.networking (version 0.1.6)

elbv2_describe_target_health: Describes the health of the specified targets or all of your targets

Description

Describes the health of the specified targets or all of your targets.

Usage

elbv2_describe_target_health(TargetGroupArn, Targets)

Arguments

TargetGroupArn

[required] The Amazon Resource Name (ARN) of the target group.

Targets

The targets.

Request syntax

svc$describe_target_health(
  TargetGroupArn = "string",
  Targets = list(
    list(
      Id = "string",
      Port = 123,
      AvailabilityZone = "string"
    )
  )
)

Examples

Run this code
# 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.
# }
# NOT RUN {
svc$describe_target_health(
  TargetGroupArn = "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targe..."
)
# }
# NOT RUN {
# This example describes the health of the specified target. This target
# is healthy.
# }
# NOT RUN {
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