12 lines
438 B
TypeScript
12 lines
438 B
TypeScript
import { Construct } from 'constructs';
|
|
import type * as lambda from '../../aws-lambda';
|
|
import * as s3 from '../../aws-s3';
|
|
/**
|
|
* Use a Lambda function as a bucket notification destination
|
|
*/
|
|
export declare class LambdaDestination implements s3.IBucketNotificationDestination {
|
|
private readonly fn;
|
|
constructor(fn: lambda.IFunction);
|
|
bind(scope: Construct, bucket: s3.IBucketRef): s3.BucketNotificationDestinationConfig;
|
|
}
|