# Source: https://docs.datadoghq.com/ddsql_reference/data_directory/aws/aws.elbv2_target_group.dataset.md

---
title: Elastic Load Balancing Target Group
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > Elastic Load Balancing Target Group
---

# Elastic Load Balancing Target Group

An Elastic Load Balancing Target Group in AWS is a logical grouping of targets, such as EC2 instances, IP addresses, or Lambda functions, that receive traffic from a load balancer. It defines how requests are routed, including protocol, port, and health check settings. Target groups enable flexible traffic distribution and monitoring, allowing you to direct requests to specific application components and ensure only healthy targets receive traffic.

```
aws.elbv2_target_group
```

## Fields

| Title                         | ID   | Type          | Data Type                                                                                                                                                                                                                                                                                                                    | Description |
| ----------------------------- | ---- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                          | core | string        |
| account_id                    | core | string        |
| health_check_enabled          | core | bool          | Indicates whether health checks are enabled.                                                                                                                                                                                                                                                                                 |
| health_check_interval_seconds | core | int64         | The approximate amount of time, in seconds, between health checks of an individual target.                                                                                                                                                                                                                                   |
| health_check_path             | core | string        | The destination for health checks on the targets.                                                                                                                                                                                                                                                                            |
| health_check_port             | core | string        | The port to use to connect with the target.                                                                                                                                                                                                                                                                                  |
| health_check_protocol         | core | string        | The protocol to use to connect with the target. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.                                                                                                                                                                                             |
| health_check_timeout_seconds  | core | int64         | The amount of time, in seconds, during which no response means a failed health check.                                                                                                                                                                                                                                        |
| healthy_threshold_count       | core | int64         | The number of consecutive health checks successes required before considering an unhealthy target healthy.                                                                                                                                                                                                                   |
| ip_address_type               | core | string        | The IP address type. The default value is ipv4.                                                                                                                                                                                                                                                                              |
| load_balancer_arns            | core | array<string> | The Amazon Resource Name (ARN) of the load balancer that routes traffic to this target group. You can use each target group with only one load balancer.                                                                                                                                                                     |
| matcher                       | core | json          | The HTTP or gRPC codes to use when checking for a successful response from a target.                                                                                                                                                                                                                                         |
| port                          | core | int64         | The port on which the targets are listening. This parameter is not used if the target is a Lambda function.                                                                                                                                                                                                                  |
| protocol                      | core | string        | The protocol to use for routing traffic to the targets.                                                                                                                                                                                                                                                                      |
| protocol_version              | core | string        | [HTTP/HTTPS protocol] The protocol version. The possible values are GRPC, HTTP1, and HTTP2.                                                                                                                                                                                                                                  |
| tags                          | core | hstore_csv    |
| target_group_arn              | core | string        | The Amazon Resource Name (ARN) of the target group.                                                                                                                                                                                                                                                                          |
| target_group_name             | core | string        | The name of the target group.                                                                                                                                                                                                                                                                                                |
| target_health_descriptions    | core | json          | Information about the health of the targets.                                                                                                                                                                                                                                                                                 |
| target_type                   | core | string        | The type of target that you must specify when registering targets with this target group. The possible values are instance (register targets by instance ID), ip (register targets by IP address), lambda (register a single Lambda function as a target), or alb (register a single Application Load Balancer as a target). |
| unhealthy_threshold_count     | core | int64         | The number of consecutive health check failures required before considering the target unhealthy.                                                                                                                                                                                                                            |
| vpc_id                        | core | string        | The ID of the VPC for the targets.                                                                                                                                                                                                                                                                                           |