There are more AWS SDK examples available in the AWS Doc SDK Examples
Use RemoveListenerCertificates
with a CLI
The following code examples show how to use RemoveListenerCertificates
.
- AWS CLI
-
To remove a certificate from a secure listener
This example removes the specified certificate from the specified secure listener.
Command:
aws elbv2 remove-listener-certificates --listener-arn
arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2
--certificatesCertificateArn=arn:aws:acm:us-west-2:123456789012:certificate/5cc54884-f4a3-4072-80be-05b9ba72f705
-
For API details, see RemoveListenerCertificates
in AWS CLI Command Reference.
-