1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
I think that if you restrict the Lambda trigger to s3://<bucketName>/<folder-name-that-we-defined/*
, you are good since you control tkey segment which is <folder-name-that-we-defined
: nobody else than DDB will write there
See https://aws.amazon.com/blogs/compute/amazon-s3-adds-prefix-and-suffix-filters-for-lambda-function-triggering/ for all details
Best,
Didier
Relevant content
- asked 2 years ago
Hi Didier, I had tried earlier just with below it didn't work: s3://<bucketName>/<folder-name-that-we-defined/ Same happened with s3://<bucketName>/<folder-name-that-we-defined/* Is there a way I can define recursive lookup?
https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-filtering.html