jolly-egg-4894
07/12/2019, 9:23 PMSES -> S3 -> Lambda
which works just fine. but now I want to have 2 onObjectCreate
lambdas either:
on the same bucket looking at different prefixes (SES -> S3 'email prefix' -> Lambda 1 -> S3 -> 'other prefix' -> Lambda 2
)
or a clean way to do SES -> S3 1 -> Lambda 1 -> S3 2 -> Lambda 2
BucketEventSubscription
but I couldn’t find a version or something similar that allowed for creating a single BucketNotification
that had multiple rulesbucket_2.bucket.get()
within a lambda example but then I’m looking at putting the lambda handler with the bucket creation
or maybe I can keep the handler in a different file and go for some kind of “handler generator” which I pass the bucket value but idk if that feels “clean”