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

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
主站蜘蛛池模板: 恩平市| 连平县| 汉源县| 奇台县| 丹阳市| 郑州市| 承德市| 营口市| 伊宁县| 新源县| 车险| 泰安市| 安塞县| 两当县| 武宣县| 德惠市| 汉阴县| 漳浦县| 金塔县| 治县。| 博野县| 宜君县| 五常市| 泸水县| 洪江市| 武义县| 板桥市| 密山市| 隆尧县| 双牌县| 安乡县| 商都县| 洛隆县| 锡林浩特市| 民勤县| 海原县| 三原县| 天门市| 瑞金市| 龙江县| 皮山县|