Delete a listener rule for your Application Load Balancer
You can delete the nondefault rules for a listener at any time. You can't delete the default rule for a listener. When you delete a listener, all its rules are deleted.
To delete a rule using the console
Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/
. -
On the navigation pane, choose Load Balancers.
-
Select the load balancer.
-
On the Listeners and rules tab, select the text in the Protocol:Port column to open the detail page for the listener.
-
Select the rule.
-
Choose Actions, Delete rule.
-
When prompted for confirmation, enter
confirm
and then choose Delete.
To delete a rule using the AWS CLI
Use the delete-rule command.