Skip to main content

ELBV2 Describe Target Groups

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.

Basic Parameters

ParameterDescription
AWS Region(s)Enter the desired AWS Region(s).

To execute the action in multiple regions, provide a comma-separated list.
For example: us-east-1,eu-west-2.

If you wish to run the action in all available regions, use the asterisk symbol (*) instead.
Load Balancer ARNThe Amazon Resource Name (ARN) of the load balancer.
NamesThe names of the target groups.
Target Group ARNsThe Amazon Resource Names (ARN) of the target groups.

Advanced Parameters

ParameterDescription
Disable XML To JSON Auto ConvertWhen checked, XML responses are not automatically converted into JSON format.
MarkerThe marker for the next set of results. (You received this marker from a previous call.).
Page SizeThe maximum number of results to return with this call.

Example Output

{
"TargetGroups": [
{
"HealthCheckIntervalSeconds": 30,
"HealthCheckPath": "/",
"HealthCheckPort": "traffic-port",
"HealthCheckProtocol": "HTTP",
"HealthCheckTimeoutSeconds": 5,
"HealthyThresholdCount": 5,
"LoadBalancerArns": [
"arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188"
],
"Matcher": {
"HttpCode": "200"
},
"Port": 80,
"Protocol": "HTTP",
"TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
"TargetGroupName": "my-targets",
"UnhealthyThresholdCount": 2,
"VpcId": "vpc-3ac0fb5f"
}
]
}

Automation Library Example

Detect Aws Elastic Load Balancers with No Targets and Send a Report on Slack

Automation LibraryPreview this Automation on desktop