This is a simple Apex class that interacts with AWS S3
![Deploy to Salesforce](https://raw.githubusercontent.com/afawcett/githubsfdeploy/master/src/main/webapp/resources/img/deploy.png)
-
Create a new organizational level AWS Configuration custom setting, and set your AWS access key and secret key.
-
Create an S3 file by doing the following
S3 s3 = new S3('region');
s3.createFile('bucketName', 'path', 'fileName', 'fileContent');