Smaws_Client_Lightsail.CreateCertificate
val request :
Smaws_Lib.Context.t ->
create_certificate_request ->
(create_certificate_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of access_denied_exception
| `InvalidInputException of invalid_input_exception
| `NotFoundException of not_found_exception
| `ServiceException of service_exception
| `UnauthenticatedException of unauthenticated_exception ])
Stdlib.result
Creates an SSL/TLS certificate for an Amazon Lightsail content delivery network (CDN) distribution and a container service.
After the certificate is valid, use the AttachCertificateToDistribution
action to use the certificate and its domains with your distribution. Or use the UpdateContainerService
action to use the certificate and its domains with your container service.
Only certificates created in the us-east-1
Amazon Web Services Region can be attached to Lightsail distributions. Lightsail distributions are global resources that can reference an origin in any Amazon Web Services Region, and distribute its content globally. However, all distributions are located in the us-east-1
Region.