Skip to content

/AWS1/CL_LSA=>SETUPINSTANCEHTTPS()

About SetupInstanceHttps

Creates an SSL/TLS certificate that secures traffic for your website. After the certificate is created, it is installed on the specified Lightsail instance.

If you provide more than one domain name in the request, at least one name must be less than or equal to 63 characters in length.

Method Signature

IMPORTING

Required arguments:

IV_INSTANCENAME TYPE /AWS1/LSARESOURCENAME /AWS1/LSARESOURCENAME

The name of the Lightsail instance.

IV_EMAILADDRESS TYPE /AWS1/LSAEMAILADDRESS /AWS1/LSAEMAILADDRESS

The contact method for SSL/TLS certificate renewal alerts. You can enter one email address.

IT_DOMAINNAMES TYPE /AWS1/CL_LSASETUPDOMNAMELIST_W=>TT_SETUPDOMAINNAMELIST TT_SETUPDOMAINNAMELIST

The name of the domain and subdomains that were specified for the SSL/TLS certificate.

IV_CERTIFICATEPROVIDER TYPE /AWS1/LSACERTIFICATEPROVIDER /AWS1/LSACERTIFICATEPROVIDER

The certificate authority that issues the SSL/TLS certificate.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LSASETUPINSTHTTPSRSLT /AWS1/CL_LSASETUPINSTHTTPSRSLT