I am working on my second product and had to configure and test AWS S3, there is an easy way to setup and configure entire AWS cloud stack in your local, Spent some time in researching and fiddling around setting up mock AWS cloud stack in local, I've published my notes, hope it may help someone.
https://medium.com/@rohitsies/how-to-setup-aws-local-server-for-development-purpose-85b19051ec05