serverless-spy
Version:
CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.
12 lines (11 loc) • 367 B
text/typescript
import { SpyEvent } from "./SpyEvent.mjs";
import { SQSMessageAttributes } from "aws-lambda";
//#region common/spyEvents/SqsSpyEvent.d.ts
interface SqsSpyEvent<MessageType = any> extends SpyEvent {
spyEventType: 'Sqs';
body: MessageType;
messageAttributes: SQSMessageAttributes;
}
//#endregion
export { SqsSpyEvent };
//# sourceMappingURL=SqsSpyEvent.d.mts.map