UNPKG

@mbc-cqrs-serverless/core

Version:
17 lines (16 loc) 676 B
import { DynamoDBRecord, StreamRecord } from 'aws-lambda'; import { IEvent } from '../interfaces'; export declare class DataSyncNewCommandEvent implements IEvent, DynamoDBRecord { source: string; awsRegion?: string | undefined; dynamodb?: StreamRecord | undefined; eventID?: string | undefined; eventName?: 'INSERT' | 'MODIFY' | 'REMOVE' | undefined; eventSource?: string | undefined; eventSourceARN?: string | undefined; eventVersion?: string | undefined; userIdentity?: any; constructor(event?: Partial<DataSyncNewCommandEvent>); get tableName(): string; fromDynamoDBRecord(record: DynamoDBRecord): DataSyncNewCommandEvent; }