0.2.1-alpha.34 • Published 2 years ago

get-fleet-statistics v0.2.1-alpha.34

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

DA IoT Get Fleet Statistics

Lambda function for fetching info from Fleet/Cloudwatch and saving it to S3 files that will be presented to business through QuickSight.

Usage

Build and test

Run static code checks

npm run check

Automatically fix any static code check errors

npm run check:fix

Run unit tests

npm test

Build project

npm run build

Package into zip file suitable for deployment to AWS Lambda

npm run package

Remove all compiled and generated files

npm run clean

Deploy

Deploy Lambda function with SomeFunctionName

npm run deploy:function SomeFunctionName

Deploy Lambda function with default function anme

npm run deploy

Note:

  • Be sure to set AWS_DEFAULT_ENVIRONMENT, AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY first
  • You can optionally set a tenant with export TENANT="tXXXX-"