serverless-global-authorizer
Version:
Serverless framework plugin which allows to configure API Gateway authorizer globally and applies it for all http/httpApi lambda function events
18 lines • 588 B
TypeScript
import * as Serverless from 'serverless';
declare class ServerlessGlobalAuthorizerPlugin {
private serverless;
hooks: {
'before:package:initialize': () => void;
};
constructor(serverless: Serverless);
init(): void;
private processFunction;
private processEvent;
private applyRestApiAuthorizer;
private applyHttpApiAuthorizer;
private getRestApiAuthorizerConfig;
private getHttpApiAuthorizerConfig;
private static isGlobalAuthorizerEnabledAtEventLevel;
}
export = ServerlessGlobalAuthorizerPlugin;
//# sourceMappingURL=index.d.ts.map