Upload files to AWS S3

Hi guys

I have an on site implementation (Sugar Ent 10.0.3) and I have an external process on the CRON server that creates pdf files that I have to relate to Contact Records.
I'm planning to create a Job that gets the files from a particular directory in the server and use the current functionality that Sugar uses to upload file to AWS S3.
Could you help me to know which library or class I will able to use to solve this requirement?
Kind Regards, 
Pedro Bazan