Unable to create AmazonS3 object from builder in Lambda

0

In my Lambda function, I am trying to do S3 operations - get/put/copy using AWS Java SDK 1.11.964. When I do builder.build(), it exits silently (no Exception thrown, no print message after the statement). The same code works fine locally.

已提问 2 年前176 查看次数
1 回答
0

On AWS Console, can you verify the Lambda function's execution role, it is used to grant Lambda function IAM permissions, such as s3:* actions.

已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则