I need AWS SDK JS to request certificate and then get domain validation option to save it in database.
request certificate
domain validation option
I successfully requested the certificate.