EventBridge infinite loop calling API Gateway

0

I have an EventBridge rule with cron to run once day. When I enable the rule, it keeps firing the event and executing the API Gateway. I tried to disabled the rule but checking the logs for API Gateway, I keep seeing executions.

Is this expected behavior for a rule?

3回答
0

It might be helpful to show the cron expression that is being used.

Is the API Gateway invocation succeeding? If it fails you might find that EventBridge will retry the operation.

profile pictureAWS
エキスパート
回答済み 1年前
0

This is the cron expression: cron(10 * * * ? *).

The API Gateway was failing and it was retrying but I also saw the same behavior on success from API Gateway.

回答済み 1年前
0

That expression means that your API is being triggered at 10 minutes past the hour, every hour of the day.

Looking at the documentation you probably want something like `(0 10 * * ? *) which runs at 10AM UTC every day.

profile pictureAWS
エキスパート
回答済み 1年前

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

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

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

関連するコンテンツ