This API operation is superseded by attach_traffic_sources
, 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_balancer_target_groups
. You can use both the original attach_load_balancer_target_groups
API operation and attach_traffic_sources
on the same Auto Scaling group.
See https://www.paws-r-sdk.com/docs/autoscaling_attach_load_balancer_target_groups/ for full documentation.
autoscaling_attach_load_balancer_target_groups(
AutoScalingGroupName,
TargetGroupARNs
)
[required] The name of the Auto Scaling group.
[required] The Amazon Resource Names (ARNs) of the target groups. You can specify up to 10 target groups. To get the ARN of a target group, use the Elastic Load Balancing DescribeTargetGroups API operation.