1 個回答
- 最新
- 最多得票
- 最多評論
4
I would recommend a different approach. Instead of invoking a Lambda function when you upload a file to S3 and sending messages to SQS, start a Step Functions execution (send the S3 event to EventBridge and set the target to be Step Functions). The state machine will use a Distributed Map state to iterate over the lines in the file (if they are CSV or JSON), and will invoke a Lambda function to process the lines. You can use batches so that the Lambda function will be invoked on a batch of lines.
相關內容
- 已提問 10 個月前
- 已提問 3 年前
- AWS 官方已更新 4 年前
