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.

demandé il y a 2 ans164 vues
1 réponse
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.

répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions