I\'m using the default code for a lambda function:
console.log(\'Loading function\'); var aws = require(\'aws-sdk\'); var s3 = new aws.S3({ apiVersion: \'20
Check the IAM permissions of the role you want to use, maybe there are deny permissions above allow permissions.
deny
allow