Home > Software engineering >  How to see the event notification from s3 to lambda
How to see the event notification from s3 to lambda

Time:05-18

Where do I see the event notification sent (the json structure event) from S3 to lambda in the case a lambda function is triggered by an S3 event. It is possible to capture that in cloudwatch?

CodePudding user response:

As mentioned in the comments, the S3 event notification is passed as the event argument to your Lambda handler.

This isn't logged automatically anywhere (unlike general invocation information like request ID, memory size, memory usage etc).

To view the event, you need to manually log this in your Lambda & then view it in CloudWatch.

  • Related