This API operation is superseded by https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_AttachTrafficSources.html, which can attach multiple traffic sources types. We recommend using attach_traffic_sources
to simplify how you manage traffic sources. However, we continue to support attach_load_balancers
. You can use both the original attach_load_balancers
API operation and attach_traffic_sources
on the same Auto Scaling group.
See https://www.paws-r-sdk.com/docs/autoscaling_attach_load_balancers/ for full documentation.
autoscaling_attach_load_balancers(AutoScalingGroupName, LoadBalancerNames)
[required] The name of the Auto Scaling group.
[required] The names of the load balancers. You can specify up to 10 load balancers.