- 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
推薦閱讀
- 樂學(xué)Windows操作系統(tǒng)
- Mastering ElasticSearch
- Puppet實戰(zhàn)
- Google系統(tǒng)架構(gòu)解密:構(gòu)建安全可靠的系統(tǒng)
- Hands-On DevOps with Vagrant
- 嵌入式Linux驅(qū)動程序和系統(tǒng)開發(fā)實例精講
- INSTANT Migration from Windows Server 2008 and 2008 R2 to 2012 How-to
- INSTANT Galleria Howto
- Cassandra 3.x High Availability(Second Edition)
- Linux基礎(chǔ)使用與案例
- Introduction to R for Quantitative Finance
- Linux內(nèi)核API完全參考手冊(第2版)
- Linux系統(tǒng)安全:縱深防御、安全掃描與入侵檢測
- 每天5分鐘玩轉(zhuǎn)Docker容器技術(shù)
- OpenSolaris系統(tǒng)管理