paws.networking (version 0.1.6)

elbv2_describe_target_groups: Describes the specified target groups or all of your target groups

Description

Describes the specified target groups or all of your target groups. By default, all target groups are described. Alternatively, you can specify one of the following to filter the results: the ARN of the load balancer, the names of one or more target groups, or the ARNs of one or more target groups.

Usage

elbv2_describe_target_groups(LoadBalancerArn, TargetGroupArns, Names,
  Marker, PageSize)

Arguments

LoadBalancerArn

The Amazon Resource Name (ARN) of the load balancer.

TargetGroupArns

The Amazon Resource Names (ARN) of the target groups.

Names

The names of the target groups.

Marker

The marker for the next set of results. (You received this marker from a previous call.)

PageSize

The maximum number of results to return with this call.

Request syntax

svc$describe_target_groups(
  LoadBalancerArn = "string",
  TargetGroupArns = list(
    "string"
  ),
  Names = list(
    "string"
  ),
  Marker = "string",
  PageSize = 123
)

Details

To describe the targets for a target group, use DescribeTargetHealth. To describe the attributes of a target group, use DescribeTargetGroupAttributes.

Examples

Run this code
# NOT RUN {
# This example describes the specified target group.
# }
# NOT RUN {
svc$describe_target_groups(
  TargetGroupArns = list(
    "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8..."
  )
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab