paws.networking (version 0.1.6)

elbv2_delete_target_group: Deletes the specified target group

Description

Deletes the specified target group.

Usage

elbv2_delete_target_group(TargetGroupArn)

Arguments

TargetGroupArn

[required] The Amazon Resource Name (ARN) of the target group.

Request syntax

svc$delete_target_group(
  TargetGroupArn = "string"
)

Details

You can delete a target group if it is not referenced by any actions. Deleting a target group also deletes any associated health checks.

Examples

Run this code
# NOT RUN {
# This example deletes the specified target group.
# }
# NOT RUN {
svc$delete_target_group(
  TargetGroupArn = "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targe..."
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab