Attaches a Transport Layer Security (TLS) certificate to your load balancer. TLS is just an updated, more secure version of Secure Socket Layer (SSL).
lightsail_attach_load_balancer_tls_certificate(loadBalancerName,
certificateName)
[required] The name of the load balancer to which you want to associate the SSL/TLS certificate.
[required] The name of your SSL/TLS certificate.
svc$attach_load_balancer_tls_certificate( loadBalancerName = "string", certificateName = "string" )
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
operation with
the non-attached certificate, and it will replace the existing one and
become the attached certificate.
The attach load balancer tls certificate
operation supports tag-based
access control via resource tags applied to the resource identified by
loadBalancerName. For more information, see the Lightsail Dev Guide.