Created
May 13, 2016 18:36
-
-
Save flomotlik/dbdce0f80be6ad4c5b5dc692b603ed23 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module exports = class SomePlugin extends ServerlessPlugin{ | |
//Contructor should be defined in ServerlessPlugin so you don't have to recreate it here | |
constructor(pluginConfig, serverlessConfig, serverlessUtils) { | |
this.pluginConfig = pluginConfig; | |
this.serverlessConfig = serverlessConfig; | |
this.serverlessUtils = serverlessUtils; | |
} | |
beforeDeployResources(params) { | |
// do something | |
} | |
deployFunctions(params) { | |
// do something with it | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment