Is it possible to use http API or appsync library in customer Database?

Try to access the AWS Private database.
Access is likely to be able to access with SSH, but I do not want to launch EC2.
So I write Custom Action Script in JavaScript, so I would like to check if you can communicate with HTTP protocol or AppSync.
Is it Possible?