The WebServer component creates SSL certificate internally using the provided domain and hostedZoneId arguments.
This has few limitations:
- No option to set Subject Alternative Names (SAN) for the created certificate.
- No ability to use existing certificate.
To address the above limitations, the signature of the WebServer component should be updated to accept the certificate argument.