Unable to create AmazonS3 object from builder in Lambda


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 10 months ago9 views
1 Answer

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 10 months 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