Lambda trigger on existing s3 bucket


If i need to launch a lambda that gets triggered everytime a new file is added to existing bucket, what should be the settings in serverless.yml file?

Currently, i am following this example and it trys to create a new bucket and fails since the bucket is already existing.


You’ll need to use an existing plugin like