Lambda触发CloudWatch事件

0

【以下的问题经过翻译处理】 如何在Lambda中创建数据库记录时触发CloudWatch事件。 我的用例是我想运行一个定于5分钟一次的CloudWatch事件。当Lambda在DynamoDB中创建一条记录时,这个Lambda应该触发这个定时任务,而这个定时任务将在5分钟后按计划调用目标函数。

profile picture
EXPERT
demandé il y a 5 mois14 vues
1 réponse
0

【以下的回答经过翻译处理】 你可以尝试另一种方法,因为这似乎是某种工作流程。可以使用Step Functions状态机向DynamoDB表写入数据,等待5分钟,最后执行Lambda函数。

profile picture
EXPERT
répondu il y a 5 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions