Ravi Sir's Cards › AWS
Why skip keys under thumbs/?
This interview card answers: Why skip keys under thumbs/? Writing the thumb into a watched prefix would invoke Lambda again (recursion). Bills and throttles explode until you delete the notification. Listen on uploads/ only, or if key.startswith("thumbs/"): return before resize.
Read card text
What this card says
What it is
Writing the thumb into a watched prefix would invoke Lambda again (recursion).
Why it matters
Bills and throttles explode until you delete the notification.
How / example
Listen on uploads/ only, or if key.startswith("thumbs/"): return before resize.