官术网_书友最值得收藏!

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
主站蜘蛛池模板: 自贡市| 阿荣旗| 竹溪县| 防城港市| 巢湖市| 日土县| 山西省| 玉田县| 海宁市| 图们市| 长武县| 马边| 体育| 安西县| 石嘴山市| 峨边| 花莲市| 西宁市| 马山县| 台前县| 海盐县| 格尔木市| 大埔区| 台湾省| 娄烦县| 黎平县| 新乡市| 黄冈市| 肥西县| 峨边| 烟台市| 杂多县| 金门县| 福贡县| 洮南市| 临颍县| 松潘县| 临沂市| 玉林市| 蛟河市| 英山县|