Refactored AWS permissions into the config so that the defaults work for pdfs as well