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=>ATTACHLOADBALANCERTOSUBNETS()

About AttachLoadBalancerToSubnets

Adds one or more subnets to the set of configured subnets for the specified load balancer.

The load balancer evenly distributes requests across all registered subnets. For more information, see Add or Remove Subnets for Your Load Balancer in a VPC 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_SUBNETS TYPE /AWS1/CL_ELBSUBNETS_W=>TT_SUBNETS TT_SUBNETS

The IDs of the subnets to add. You can add only one subnet per Availability Zone.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ELBATTACHLOADBALANC01 /AWS1/CL_ELBATTACHLOADBALANC01

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC