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.
15 lines (14 loc) • 443 B
TypeScript
import { SpyEvent } from "./SpyEvent.js";
import { SNSMessageAttributes } from "aws-lambda";
//#region common/spyEvents/SnsSpyEventBase.d.ts
interface SnsSpyEventBase<MessageType = any> extends SpyEvent {
message: MessageType;
subject?: string;
timestamp: string;
topicArn: string;
messageId: string;
messageAttributes: SNSMessageAttributes;
}
//#endregion
export { SnsSpyEventBase };
//# sourceMappingURL=SnsSpyEventBase.d.ts.map