I want to create an even pattern in AWS which will do the following: s3 event happens OR (if anything has not happened in the last 4 hours) every 4 hours. There is custom event pattern and schedule event, but i can't find how to chain both.
You could emulate this behaviour by having 2 Event-Bridge rules and a lambda.
That way each time the second rule matches an event, the first rule will be delayed by 4 hours