0.2.1-alpha.34 • Published 3 years ago
get-fleet-statistics v0.2.1-alpha.34
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 checkAutomatically fix any static code check errors
npm run check:fixRun unit tests
npm testBuild project
npm run buildPackage into zip file suitable for deployment to AWS Lambda
npm run packageRemove all compiled and generated files
npm run cleanDeploy
Deploy Lambda function with SomeFunctionName
npm run deploy:function SomeFunctionNameDeploy Lambda function with default function anme
npm run deployNote:
- 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-"
0.2.1-alpha.34
3 years ago