@sls-next/lambda-at-edge
Version:
Provides handlers that can be used in CloudFront Lambda@Edge to deploy next.js applications to the edge
14 lines (13 loc) • 403 B
TypeScript
interface TriggerStaticRegenerationOptions {
request: AWSLambda.CloudFrontRequest;
eTag: string | undefined;
lastModified: string | undefined;
basePath: string | undefined;
pagePath: string;
pageS3Path: string;
queueName: string;
}
export declare const triggerStaticRegeneration: (options: TriggerStaticRegenerationOptions) => Promise<{
throttle: boolean;
}>;
export {};