# NOT RUN {
# This example detaches the specified target group from the specified Auto
# Scaling group
svc$detach_load_balancer_target_groups(
AutoScalingGroupName = "my-auto-scaling-group",
TargetGroupARNs = list(
"arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8..."
)
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab