Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can click “Customize cookies” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To continue without accepting these cookies, click “Continue without accepting.” To make more detailed choices or learn more, click “Customize cookies.”

Skip to content

/AWS1/CL_ELB=>ENABLEAZSFORLOADBALANCER()

About EnableAvailabilityZonesForLoadBalancer

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.

Method Signature

IMPORTING

Required arguments:

IV_LOADBALANCERNAME TYPE /AWS1/ELBACCESSPOINTNAME /AWS1/ELBACCESSPOINTNAME

The name of the load balancer.

IT_AVAILABILITYZONES TYPE /AWS1/CL_ELBAZS_W=>TT_AVAILABILITYZONES TT_AVAILABILITYZONES

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ELBADDAZSOUTPUT /AWS1/CL_ELBADDAZSOUTPUT

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC