Learn R Programming

paws.management (version 0.1.12)

autoscaling_detach_load_balancer_target_groups: Detaches one or more target groups from the specified Auto Scaling group

Description

Detaches one or more target groups from the specified Auto Scaling group.

Usage

autoscaling_detach_load_balancer_target_groups(AutoScalingGroupName,
  TargetGroupARNs)

Value

An empty list.

Arguments

AutoScalingGroupName

[required] The name of the Auto Scaling group.

TargetGroupARNs

[required] The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target groups.

Request syntax

svc$detach_load_balancer_target_groups(
  AutoScalingGroupName = "string",
  TargetGroupARNs = list(
    "string"
  )
)

Examples

Run this code
if (FALSE) {
# 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-tar..."
  )
)
}

Run the code above in your browser using DataLab