Automatically publish the bot when status changes to ready

0

Hi

I am working on an app, and in my use case I'd like to call createBotVersion api of aws-sdk javascript library whenever the bot status changes to READY. Writing a cron job is one solution which will publish all the bots with status READY, but it's a load on server as this call might not be needed on regular basis.
Is there any way through which I can listen to the event of bot becoming READY, or maybe I can create a SNS topic or something? Please help

Edited by: nikhilhatcher on Apr 17, 2020 2:48 PM

質問済み 4年前169ビュー
2回答
0

I solved this using lambda functions, I triggered the lambda function with CloudWatch events, which ultimately worked as CRON job, and published my bots on daily basis

回答済み 4年前
0

Thank you for the update. We will plan on incorporating this into our documentation.

AWS
回答済み 4年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ