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 年前304 查看次数
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"

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则