'How can I a suffix filter to a lambda trigger on S3 upload with amplify cli?
I'm currently using the Amplify cli and I'm trying to create an S3 bucket with an on-upload trigger to my Lambda function, but I want to filter it so that the trigger is only called on .png file uploads. I can get it to work using the AWS console but it needs to be done through Amplify so the resources are automatically generated.
Is there a way to add a .png filter, either through the cli or by editing the lambda function files?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
