1.1.4 • Published 2 years ago

serverless-lambda-daily-cloudwatch-dashboard v1.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Serverless Lambda Daily CloudWatch Dashboard

serverless MIT Licence

Requirements:

  • Serverless v1.12.x or higher
  • AWS provider

Setup

Installation

Install via npm in the root of your Serverless service:

npm install serverless-lambda-daily-cloudwatch-dashboard

Add the plugin to the plugins array of your Serverless service in serverless.yml:

plugins:
  - serverless-lambda-daily-cloudwatch-dashboard

Errors metadata

Generic error:

{
  subDomain: "",
  boundedContext: "",
  functionName: "",

  message: "error",
  error: {
    message: "detail"
  },

  statusCode: 500
}

Dependency error:

{
  subDomain: "",
  boundedContext: "",
  functionName: "",

  message: "dependencyError.[server|client].[serverStatus|clientError]",
  error: {
    request: {
      method: "GET",
      path: "/..."
    },
    response: {
      status: 500
    }
  },

  statusCode: 500
}

Contribute

Any contribution is more than welcome.

  • Clone the code
  • Install the dependencies with npm install
  • Create a feature branch git checkout -b new_feature
  • Test npm test
  • Create a pull request

License

This software is released under the MIT license. See the license file for more details.