Delete a proxy
When you no longer need a proxy, delete it to release its resources. In ELB for Envoy, you delete
a proxy with the DeleteProxy operation. The proxy enters the
delete-in-progress state while its resources are cleaned up, and then it no longer
appears in the output of ListProxies.
Deleting a proxy is permanent and stops traffic to the proxy's DNS endpoint. You can't recover a deleted proxy. Make sure that clients no longer depend on the proxy before you delete it.
If deletion protection is turned on for the proxy, you must turn it off before you can delete the proxy. For more information, see Proxy attributes.
Deleting a proxy doesn't delete an associated web ACL. ELB for Envoy never owns your web ACL, so deleting the proxy only removes the association. The web ACL remains in your account. For more information about using a web ACL with a proxy, see Protect a proxy with AWS WAF.
Before you delete a proxy, make sure you have the ARN of the proxy you want to delete.
Delete the proxy using the console, the AWS CLI, or CloudFormation. Choose the tab for the method that you want to use.
Verify the deletion
While the proxy is being deleted, get-proxy shows the
delete-in-progress state. After deletion completes, the proxy no longer appears
in list-proxies.
aws elb-proxy list-proxies
The deleted proxy no longer appears in the output.