S3 Bucket Real Time Notification when someone upload the file in S3 Bucket

0

Hi... There

Hope you all are doing well

For the past few days, I'm dealing with the S3 Bucket Aws Console.

In my application, I need a Real-time Notification when any file is uploaded to my S3 Bucket.

For the Notification Logs, On the AWS side, I have Create one Lambda Function and Event for the S3 Bucket Notifications.

So my concern is How can I check my lambda function logs in callback using Node.js.

All suggestions & comments are well-come

Thanks,

Aatif Jariwala

已提問 2 年前檢視次數 267 次
1 個回答
1

Hello,

Every lambda has a log group called /aws/lambda/[lambda name], were you will find the logs.

Hope it helps!

//Carl

profile picture
已回答 2 年前
profile pictureAWS
專家
Chris_G
已審閱 2 年前
  • Also ensure that the Lambda function Execution Role has access to log to CloudWatch! Specifically "logs:CreateLogGroup", "logs:CreateLogStream", "logs:PutLogEvents"

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南