Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions,
see Getting Started with Amazon Web Services in China
(PDF).
Delete a listener for your Network Load Balancer
Before you delete a listener, consider the impact on your application:
-
[TCP and TLS listeners] The load balancer immediately stops accepting new
connections on the listener. Any TLS handshakes in progress might fail. Existing
connections remain open until they naturally close or time out. In-flight
requests on existing connections complete successfully.
-
[UDP listeners] Any packets in transit might not reach their
destination.
- Console
-
To delete a listener
Open the Amazon EC2 console at
https://console.amazonaws.cn/ec2/.
-
In the navigation pane, choose Load Balancers.
-
Select the check box for load balancer.
-
On the Listeners tab, select the check box for the listener,
and then choose Actions, Delete listener.
-
When prompted for confirmation, enter confirm
and choose
Delete.
- Amazon CLI
-
To delete a listener
Use the delete-listener command.
aws elbv2 delete-listener \
--listener-arn listener-arn