Closed rmontroy closed 4 years ago
The CloudWatch events typically take ~10 minutes to arrive. Also, we need a robust way to process new files in case an event is missed (or fails). For both of these reasons, we should have an EventBridge trigger from DataSync, an on-demand trigger via APIG, and look for any files that have not yet been processed.
Since we're using AWS DataSync to copy files into EFS, we now have the ability to log transferred files to CloudWatch and trigger a function using a CloudWatch subscription.