Testing integration payloads In the example architecture, you can test the payload sent to EventBridge by the event producer Lambda function by verifying it against a schema definition of the event. In JavaScript, you could use a JSON schema validation library, such as Ajv: import Ajv from “ajv”; import { generateOrder } from “./producer”; import […]