import { Construct } from "aws-cdk-lib"; import { EdgeLambda, LambdaEdgeEventType } from "aws-cdk-lib/lib/aws-cloudfront"; import { FunctionProps, IVersion } from "aws-cdk-lib/lib/aws-lambda"; export interface EdgeFunctionProps extends Omit { /** * The type of event in response to which should the function be invoked */ eventType: LambdaEdgeEventType; } export declare class EdgeFunction extends Construct implements EdgeLambda { readonly functionVersion: IVersion; readonly eventType: LambdaEdgeEventType; constructor(scope: Construct, id: string, props: EdgeFunctionProps); }