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.

asked 2 years ago176 views
1 Answer
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.

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions