Skip to content

/AWS1/CL_LSA=>ATTACHLOADBALANCERTLSCERT()

About AttachLoadBalancerTlsCertificate

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.

Method Signature

IMPORTING

Required arguments:

IV_LOADBALANCERNAME TYPE /AWS1/LSARESOURCENAME /AWS1/LSARESOURCENAME

The name of the load balancer to which you want to associate the SSL/TLS certificate.

IV_CERTIFICATENAME TYPE /AWS1/LSARESOURCENAME /AWS1/LSARESOURCENAME

The name of your SSL/TLS certificate.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LSAATTACHLOADBALANC01 /AWS1/CL_LSAATTACHLOADBALANC01