- DevOps for Serverless Applications
- Shashikant Bangera
- 185字
- 2021-07-16 17:35:34
Command-line library
The first JavaScript library is a command-line tool or library. The command-line tool helps to deploy, update, roll back, package, invoke or test, and destroy Lambda functions, and it also works seamlessly with AWS API Gateway. It uses the standard npm packaging conventions, which just means that you can call it without making changes to your actual code structure. So the really interesting features with ClaudiaJs's command-line library are as follows:
- claudia create : This command will create a function and a related security role on the AWS portal
- claudia update : This command will update the function by deploying a new version of the function and update the associated API
- claudia test-lambda: This command will execute the Lambda function
- claudia set-version: This command will point the Lambda API stage to the latest deployment version
- claudia add-scheduled-event: This command can add the scheduled recurring events for the Lambda function to run, so through this, we can keep the Lambda function warm
- claudia destroy: This command will destroy the function and associated API and security roles
推薦閱讀
- 操作系統實用教程(Linux版)
- 每天5分鐘玩轉Kubernetes
- Mastering Distributed Tracing
- Extending Bootstrap
- 循序漸進學Docker
- Linux操作系統應用編程
- Moodle 3.x Teaching Techniques(Third Edition)
- AutoCAD 2014中文版從入門到精通
- Social Data Visualization with HTML5 and JavaScript
- CentOS 6 Linux Server Cookbook
- 分布式高可用架構之道
- Zabbix監控系統之深度解析和實踐
- OpenHarmony開發與實踐:基于紅莓RK2206開發板
- Linux內核修煉之道
- Linux系統管理初學者指南:基于CentOS 7.6