Variable EventBridgeSchemaConst
EventBridgeSchema: ZodObject<
{
account: ZodString;
detail: ZodUnknown;
"detail-type": ZodString;
id: ZodString;
region: ZodString;
"replay-name": ZodOptional<ZodString>;
resources: ZodArray<ZodString, "many">;
source: ZodString;
time: ZodString;
version: ZodString;
},
"strip",
ZodTypeAny,
{
account: string;
detail?: unknown;
"detail-type": string;
id: string;
region: string;
"replay-name"?: string;
resources: string[];
source: string;
time: string;
version: string;
},
{
account: string;
detail?: unknown;
"detail-type": string;
id: string;
region: string;
"replay-name"?: string;
resources: string[];
source: string;
time: string;
version: string;
},
> = ...
Zod schema for EventBridge event