v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1458181172.5 KB

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.

get/#Action=AttachLoadBalancerToSubnets

Query parameters

LoadBalancerNamestring required

The name of the load balancer.

SubnetsSubnetId[] required

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

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

Response

Success