Update the target group for your Gateway Load Balancer listener
When you create a listener, you specify a rule for routing requests. This rule forwards requests to the specified target group. You can update the listener rule to forward requests to a different target group.
To update your listener using the console
Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/
. -
In the navigation pane, under Load Balancing, choose Load Balancers.
-
Select the load balancer and choose Listeners.
-
Choose Edit listener.
-
For Forwarding to target group, choose a target group.
-
Choose Save.
To update your listener using the AWS CLI
Use the modify-listener command.