Closed HusainAdel closed 6 months ago
@maramesk @cerashdan having an issue with the S3 trigger through cdk/sst using the provided ^ resources. They call for calling the trigger after creating the lambda function through cdk rather than sst and use the variable name- we cant do the same when creating it in sst and is giving us errors. Please advise.
@HusainAdel If I understood you issue correctly, you can trigger lambda from S3 events with SST by importing your lambda in your S3 bucket stack and then using it as notification under bucket creation, you can find the directions here : https://docs.sst.dev/constructs/Bucket
Heres an example of how previous sem students have used it as well:
thank you that is helpful; We have used this documentation, and we see where we went wrong. This issue has been moved to #125 & #124 to @bus3eed @Dalmajed