---
type: resource-type
title: ElbLoadBalancer
description: aws resource type AWS::ElasticLoadBalancing::LoadBalancer
name: ElbLoadBalancer
lexicon: aws
resource_type: AWS::ElasticLoadBalancing::LoadBalancer
---
`AWS::ElasticLoadBalancing::LoadBalancer`, a resource type of the aws lexicon.

## Properties

- `Listeners` (`ElbLoadBalancer_Listeners[]`, required): The Listeners for the load balancer. You can specify at most one listener per port.
- `AccessLoggingPolicy` (`ElbLoadBalancer_AccessLoggingPolicy`, optional): Information about where and how access logs are stored for the load balancer.
- `AppCookieStickinessPolicy` (`ElbLoadBalancer_AppCookieStickinessPolicy[]`, optional): Information about a policy for application-controlled session stickiness.
- `AvailabilityZones` (`string[]`, optional): The Availability Zones for a load balancer in a default VPC. For a load balancer in a nondefault VPC, specify Subnets instead.
- `CanonicalHostedZoneName` (`string`, optional): The name of the Route 53 hosted zone that is associated with the load balancer. Internal-facing load balancers.
- `CanonicalHostedZoneNameID` (`string`, optional): The ID of the Route 53 hosted zone name that is associated with the load balancer.
- `ConnectionDrainingPolicy` (`ElbLoadBalancer_ConnectionDrainingPolicy`, optional): If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy instance.
- `ConnectionSettings` (`ElbLoadBalancer_ConnectionSettings`, optional): If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.
- `CrossZone` (`boolean`, optional): If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.
- `DNSName` (`string`, optional): The DNS name for the load balancer
- `HealthCheck` (`ElbLoadBalancer_HealthCheck`, optional): The health check settings to use when evaluating the health of your EC2 instances.
- `Instances` (`string[]`, optional): The IDs of the instances for the load balancer.
- `LBCookieStickinessPolicy` (`ElbLoadBalancer_LBCookieStickinessPolicy[]`, optional): Information about a policy for duration-based session stickiness.
- `LoadBalancerName` (`string`, optional): The name of the load balancer. This name must be unique within your set of load balancers for the region.
- `Policies` (`ElbLoadBalancer_Policies[]`, optional): The policies defined for your Classic Load Balancer. Specify only back-end server policies.
- `Scheme` (`string`, optional): The type of load balancer. Valid only for load balancers in a VPC.
- `SecurityGroups` (`string[]`, optional): The security groups for the load balancer. Valid only for load balancers in a VPC.
- `SourceSecurityGroup` (`ElbLoadBalancer_SourceSecurityGroup`, optional)
- `Subnets` (`string[]`, optional): The IDs of the subnets for the load balancer. You can specify at most one subnet per Availability Zone.
- `Tags` (`ElbLoadBalancer_Tag[]`, optional): The tags associated with a load balancer.

## Attributes

- `CanonicalHostedZoneName`
- `CanonicalHostedZoneNameID`
- `DNSName`
- `SourceSecurityGroup`
- `SourceSecurityGroup.GroupName`
- `SourceSecurityGroup.OwnerAlias`
