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

preguntada hace 2 años304 visualizaciones
1 Respuesta
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
respondido hace 2 años
profile pictureAWS
EXPERTO
Chris_G
revisado hace 2 años
  • Also ensure that the Lambda function Execution Role has access to log to CloudWatch! Specifically "logs:CreateLogGroup", "logs:CreateLogStream", "logs:PutLogEvents"

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas