In gen 2 how do you create a lambda s3 trigger that only runs when a file is added to a certain prefix such as: image-inputs/* . The example in the documentation (https://docs.amplify.aws/angular/build-a-backend/functions/examples/s3-upload-confirmation/) would cause the lambda to trigger with any create event in the bucket regardless of prefix.
#✅ - S3 Lambda Trigger with Prefix
4 messages · Page 1 of 1 (latest)
https://docs.amplify.aws/react/build-a-backend/storage/lambda-triggers/#more-advanced-triggers
this doc should provide a example on how to set a trigger by prefix
Thanks for the reference!!
✅ - S3 Lambda Trigger with Prefix