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

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

# Elastic Load Balancing Load Balancer

An Elastic Load Balancing Load Balancer in AWS automatically distributes incoming application or network traffic across multiple targets, such as Amazon EC2 instances, containers, and IP addresses. It improves availability, fault tolerance, and scalability by routing traffic based on health checks and routing rules. Different types are available, including Application, Network, and Gateway Load Balancers, each optimized for specific use cases.

```gdscript3
aws.elbv2_load_balancer
```

## Fields

| Title                                         | ID   | Type          | Data Type                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | Description |
| --------------------------------------------- | ---- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                                          | core | string        |
| account_id                                    | core | string        |
| attributes                                    | core | json          | Information about the load balancer attributes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| availability_zones                            | core | json          | The subnets for the load balancer.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| canonical_hosted_zone_id                      | core | string        | The ID of the Amazon Route 53 hosted zone associated with the load balancer.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| created_time                                  | core | timestamp     | The date and time the load balancer was created.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| customer_owned_ipv4_pool                      | core | string        | [Application Load Balancers on Outposts] The ID of the customer-owned address pool.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| dns_name                                      | core | string        | The public DNS name of the load balancer.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| enable_prefix_for_ipv6_source_nat             | core | string        | [Network Load Balancers with UDP listeners] Indicates whether to use an IPv6 prefix from each subnet for source NAT. The IP address type must be dualstack. The default value is off.                                                                                                                                                                                                                                                                                                                                                                                                         |
| enforce_inbound_rules_on_private_link_traffic | core | string        | Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through Amazon Web Services PrivateLink.                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ip_address_type                               | core | string        | The type of IP addresses used for public or private connections by the subnets attached to your load balancer. [Application Load Balancers] The possible values are ipv4 (IPv4 addresses), dualstack (IPv4 and IPv6 addresses), and dualstack-without-public-ipv4 (public IPv6 addresses and private IPv4 and IPv6 addresses). [Network Load Balancers and Gateway Load Balancers] The possible values are ipv4 (IPv4 addresses) and dualstack (IPv4 and IPv6 addresses).                                                                                                                     |
| listeners                                     | core | json          | Information about the listeners.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| load_balancer_arn                             | core | string        | The Amazon Resource Name (ARN) of the load balancer.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| load_balancer_name                            | core | string        | The name of the load balancer.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| scheme                                        | core | string        | The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the internet. The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can route requests only from clients with access to the VPC for the load balancer. |
| security_groups                               | core | array<string> | The IDs of the security groups for the load balancer.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| state                                         | core | json          | The state of the load balancer.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| tags                                          | core | hstore_csv    |
| type                                          | core | string        | The type of load balancer.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| vpc_id                                        | core | string        | The ID of the VPC for the load balancer.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |