Skip to main content Skip to complementary content

Configure S3 to notify Lambda

We need to configure S3 to send out notifications to Lambda whenever a CSV file is uploaded in the input folder.

Procedure

  1. Go to S3 console.
  2. Click on the bucket talend-lambda-demos.
  3. Click on Properties tab and then click on Events panel.
  4. Click on Add Notification and configure as below:
    • Name = TalendJobNotification
    • Events = Put
    • Prefix = input/
    • Suffix = csv
    • Send to = Lambda Function
    • Lambda = S3LambdaFunctionHandler
  5. Click Save to create the Event notification.

    You have successfully configured S3 to call your Lambda function S3LambdaFunctionHandler whenever a CSV file is uploaded in the input folder.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!