# NOT RUN {
# This example attaches the specified load balancer to the specified Auto
# Scaling group.
# }
# NOT RUN {
svc$attach_load_balancers(
AutoScalingGroupName = "my-auto-scaling-group",
LoadBalancerNames = list(
"my-load-balancer"
)
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab