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 Respuestas
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
EXPERTO
respondido hace un año
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.

respondido hace un año
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
EXPERTO
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas