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

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"

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠