Variable S3EventNotificationEventBridgeSchemaConst
S3EventNotificationEventBridgeSchema: ZodObject<
extendShape<
{
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;
},
{
detail: ZodObject<
{
bucket: ZodObject<
{ name: ZodString },
"strip",
ZodTypeAny,
{ name: string },
{ name: string },
>;
"deletion-type": ZodOptional<ZodString>;
"destination-access-tier": ZodOptional<ZodString>;
"destination-storage-class": ZodOptional<ZodString>;
object: ZodObject<
{
etag: ZodOptional<ZodString>;
key: ZodString;
sequencer: ZodOptional<ZodString>;
size: ZodOptional<ZodNumber>;
"version-id": ZodOptional<ZodString>;
},
"strip",
ZodTypeAny,
{
etag?: string;
key: string;
sequencer?: string;
size?: number;
"version-id"?: string;
},
{
etag?: string;
key: string;
sequencer?: string;
size?: number;
"version-id"?: string;
},
>;
reason: ZodOptional<ZodString>;
"request-id": ZodString;
requester: ZodString;
"restore-expiry-time": ZodOptional<ZodString>;
"source-ip-address": ZodOptional<ZodString>;
"source-storage-class": ZodOptional<ZodString>;
version: ZodString;
},
"strip",
ZodTypeAny,
{
bucket: { name: string };
"deletion-type"?: string;
"destination-access-tier"?: string;
"destination-storage-class"?: string;
object: {
etag?: string;
key: string;
sequencer?: string;
size?: number;
"version-id"?: string;
};
reason?: string;
"request-id": string;
requester: string;
"restore-expiry-time"?: string;
"source-ip-address"?: string;
"source-storage-class"?: string;
version: string;
},
{
bucket: { name: string };
"deletion-type"?: string;
"destination-access-tier"?: string;
"destination-storage-class"?: string;
object: {
etag?: string;
key: string;
sequencer?: string;
size?: number;
"version-id"?: string;
};
reason?: string;
"request-id": string;
requester: string;
"restore-expiry-time"?: string;
"source-ip-address"?: string;
"source-storage-class"?: string;
version: string;
},
>;
},
>,
"strip",
ZodTypeAny,
{
account: string;
detail: {
bucket: { name: string };
"deletion-type"?: string;
"destination-access-tier"?: string;
"destination-storage-class"?: string;
object: {
etag?: string;
key: string;
sequencer?: string;
size?: number;
"version-id"?: string;
};
reason?: string;
"request-id": string;
requester: string;
"restore-expiry-time"?: string;
"source-ip-address"?: string;
"source-storage-class"?: string;
version: string;
};
"detail-type": string;
id: string;
region: string;
"replay-name"?: string;
resources: string[];
source: string;
time: string;
version: string;
},
{
account: string;
detail: {
bucket: { name: string };
"deletion-type"?: string;
"destination-access-tier"?: string;
"destination-storage-class"?: string;
object: {
etag?: string;
key: string;
sequencer?: string;
size?: number;
"version-id"?: string;
};
reason?: string;
"request-id": string;
requester: string;
"restore-expiry-time"?: string;
"source-ip-address"?: string;
"source-storage-class"?: string;
version: string;
};
"detail-type": string;
id: string;
region: string;
"replay-name"?: string;
resources: string[];
source: string;
time: string;
version: string;
},
> = ...
Zod schema for S3 -> EventBridge -> Lambda event notification.