Delete Target Group
elbv2_delete_target_group | R Documentation |
Deletes the specified target group¶
Description¶
Deletes the specified target group.
You can delete a target group if it is not referenced by any actions. Deleting a target group also deletes any associated health checks. Deleting a target group does not affect its registered targets. For example, any EC2 instances continue to run until you stop or terminate them.
Usage¶
elbv2_delete_target_group(TargetGroupArn)
Arguments¶
TargetGroupArn |
[required] The Amazon Resource Name (ARN) of the target group. |
Value¶
An empty list.
Request syntax¶
svc$delete_target_group(
TargetGroupArn = "string"
)
Examples¶
## Not run:
# This example deletes the specified target group.
svc$delete_target_group(
TargetGroupArn = "arn:aws:elasticloadbalancing:us-west-2:123456789012:tar..."
)
## End(Not run)