Smaws_Client_Lightsail.AttachLoadBalancerTlsCertificate
val request :
Smaws_Lib.Context.t ->
attach_load_balancer_tls_certificate_request ->
(attach_load_balancer_tls_certificate_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of access_denied_exception
| `AccountSetupInProgressException of account_setup_in_progress_exception
| `InvalidInputException of invalid_input_exception
| `NotFoundException of not_found_exception
| `OperationFailureException of operation_failure_exception
| `ServiceException of service_exception
| `UnauthenticatedException of unauthenticated_exception ])
Stdlib.result
Attaches a Transport Layer Security (TLS) certificate to your load balancer. TLS is just an updated, more secure version of Secure Socket Layer (SSL).
Once you create and validate your certificate, you can attach it to your load balancer. You can also use this API to rotate the certificates on your account. Use the AttachLoadBalancerTlsCertificate
action with the non-attached certificate, and it will replace the existing one and become the attached certificate.
The AttachLoadBalancerTlsCertificate
operation supports tag-based access control via resource tags applied to the resource identified by load balancer
name
. For more information, see the Amazon Lightsail Developer Guide.