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

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
主站蜘蛛池模板: 封开县| 嘉义县| 道孚县| 图木舒克市| 城市| 澄城县| 横山县| 岚皋县| 焦作市| 平湖市| 朔州市| 常德市| 武乡县| 吐鲁番市| 江华| 蒙阴县| 枣强县| 卢氏县| 南京市| 西安市| 新巴尔虎左旗| 镇远县| 呼伦贝尔市| 疏勒县| 鸡东县| 蓬安县| 乌拉特后旗| 神农架林区| 岳西县| 景谷| 泊头市| 怀柔区| 荣昌县| 逊克县| 扎鲁特旗| 福鼎市| 黄冈市| 繁昌县| 江津市| 华安县| 秭归县|