UNPKG

@mbc-cqrs-serverless/core

Version:
16 lines (15 loc) 524 B
import { SQSMessageAttributes, SQSRecord, SQSRecordAttributes } from 'aws-lambda'; import { IEvent } from '../../interfaces'; export declare class NotificationEvent implements IEvent, SQSRecord { source: string; messageId: string; receiptHandle: string; body: string; attributes: SQSRecordAttributes; messageAttributes: SQSMessageAttributes; md5OfBody: string; eventSource: string; eventSourceARN: string; awsRegion: string; fromSqsRecord(record: SQSRecord): NotificationEvent; }