
Detaches one or more target groups from the specified Auto Scaling group.
autoscaling_detach_load_balancer_target_groups(AutoScalingGroupName,
TargetGroupARNs)
[required] The name of the Auto Scaling group.
[required] The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target groups.
svc$detach_load_balancer_target_groups( AutoScalingGroupName = "string", TargetGroupARNs = list( "string" ) )
# NOT RUN {
# This example detaches the specified target group from the specified Auto
# Scaling group
# }
# NOT RUN {
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