v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1458181172.5 KB

Adds the specified Availability Zones to the set of Availability Zones for the specified load balancer in EC2-Classic or a default VPC.

For load balancers in a non-default VPC, use AttachLoadBalancerToSubnets.

The load balancer evenly distributes requests across all its registered Availability Zones that contain instances. For more information, see Add or Remove Availability Zones in the Classic Load Balancers Guide.

get/#Action=EnableAvailabilityZonesForLoadBalancer

Query parameters

LoadBalancerNamestring required

The name of the load balancer.

AvailabilityZonesAvailabilityZone[] required

The Availability Zones. These must be in the same region as the load balancer.

Action'EnableAvailabilityZonesForLoadBalancer' required
Version'2012-06-01' required

Response

Success