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.

gefragt vor 2 Jahren176 Aufrufe
1 Antwort
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.

beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen