Delete a target group for your Gateway Load Balancer - Elastic Load Balancing
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Delete a target group for your Gateway Load Balancer

You can delete a target group if it is not referenced by the forward actions of any listener rules. Deleting a target group does not affect the targets registered with the target group. If you no longer need a registered EC2 instance, you can stop or terminate it.

To delete a target group using the console
  1. Open the Amazon EC2 console at https://eusc-de-east-1.console.amazonaws-eusc.eu/ec2/.

  2. In the navigation pane, under Load Balancing, choose Target Groups.

  3. Select the target group and choose Actions, Delete.

  4. When prompted for confirmation, choose Yes, delete.

To delete a target group using the AWS CLI

Use the delete-target-group command.