Regarding to JAR file size, you could use minimizeJar flag of maven-shade-plugin, add only needed aws sdk artifacts as dependency. You could also use https://github.com/lambadaframework/lambadaframework which is the JAVA-AWS Lambda framework I created.