Skip to content

/AWS1/CL_LSA=>CREATELOADBALANCERTLSCERT()

About CreateLoadBalancerTlsCertificate

Creates an SSL/TLS certificate for an Amazon Lightsail load balancer.

TLS is just an updated, more secure version of Secure Socket Layer (SSL).

The CreateLoadBalancerTlsCertificate 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 load balancer name where you want to create the SSL/TLS certificate.

IV_CERTIFICATENAME TYPE /AWS1/LSARESOURCENAME /AWS1/LSARESOURCENAME

The SSL/TLS certificate name.

You can have up to 10 certificates in your account at one time. Each Lightsail load balancer can have up to 2 certificates associated with it at one time. There is also an overall limit to the number of certificates that can be issue in a 365-day period. For more information, see Limits.

IV_CERTIFICATEDOMAINNAME TYPE /AWS1/LSADOMAINNAME /AWS1/LSADOMAINNAME

The domain name (example.com) for your SSL/TLS certificate.

Optional arguments:

IT_CERTALTERNATIVENAMES TYPE /AWS1/CL_LSADOMAINNAMELIST_W=>TT_DOMAINNAMELIST TT_DOMAINNAMELIST

An array of strings listing alternative domains and subdomains for your SSL/TLS certificate. Lightsail will de-dupe the names for you. You can have a maximum of 9 alternative names (in addition to the 1 primary domain). We do not support wildcards (*.example.com).

IT_TAGS TYPE /AWS1/CL_LSATAG=>TT_TAGLIST TT_TAGLIST

The tag keys and optional values to add to the resource during create.

Use the TagResource action to tag a resource after it's created.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LSACRELOADBALANCERT01 /AWS1/CL_LSACRELOADBALANCERT01