UNPKG

serverless-prune-versions

Version:

Serverless plugin to delete old versions of deployed functions from AWS

18 lines (17 loc) 486 B
/// <reference types="serverless" /> export declare class PrunePlugin { private serverless; private settings; private hooks; private commands; constructor(serverless: Serverless, rawOptions?: Serverless.Options); postDeployPrune(): Promise<any>; standalonePrune(): Promise<any>; private prune; private validateServerlessYml; private shouldPostDeployPrune; private pruneVersions; private pruneLayers; private log; private debug; }