aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
19 lines (18 loc) • 666 B
TypeScript
import * as dynamodb from '../../aws-dynamodb';
import * as lambda from '../../aws-lambda';
import { StreamEventSource, StreamEventSourceProps } from './stream';
export interface DynamoEventSourceProps extends StreamEventSourceProps {
}
/**
* Use an Amazon DynamoDB stream as an event source for AWS Lambda.
*/
export declare class DynamoEventSource extends StreamEventSource {
private readonly table;
private _eventSourceMappingId?;
constructor(table: dynamodb.ITable, props: DynamoEventSourceProps);
bind(target: lambda.IFunction): void;
/**
* The identifier for this EventSourceMapping
*/
get eventSourceMappingId(): string;
}