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
전문가
답변함 일 년 전
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.

답변함 일 년 전
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
전문가
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠