INNER CODE UNIT · JavaScript
AlertsPlugin
ACloudGuru/serverless-plugin-aws-alerts · src/index.js:8
class AlertsPlugin {
constructor(serverless, options) {
this.serverless = serverless;
this.options = options;
serverless.configSchemaHandler.defineFunctionProperties('aws', {
properties: {
alarms: {
type: 'array',
},
},
});
this.awsProvider = this.serverless.getProvider('aws');
this.providerNaming = this.awsProvider.naming;
this.naming = new Naming();
this.externalStack = new ExternalStack(serverless, options);