'Hitting max character length for AWS Eventbridge json payload

I have a big json payload of around 12K characters. AWS Eventbridge is not letting me create event as there is a payload limit of 8192 characters. How would I resolve this?

Thanks



Solution 1:[1]

According to API doc, this is a hard limit on the API level. A workaround would be to split it into two targets.

Solution 2:[2]

Another way to handle larger payloads on Eventbridge would be to put the payload to S3 and pass a reference (bucket name + key) as the payload.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 jellycsc
Solution 2 Yann Stoneman