In one of my previous articles on using AWS Glue, I showed how you could use an external Python database library (pg8000) in your AWS Glue job to perform database operations. Click on the link below to read that story.
Connecting external database libraries with AWS Glue
Using pg8000
awstip...