UNPKG

nx-serverless-cdk

Version:

nx-serverless-cdk is an Nx plugin for creating AWS CDK applications and libraries inside an Nx monorepo. It offers the possibility to test and debug CDK applications as well as AWS Lambda functions locally. The plugin provides the full flexibility of the

60 lines (59 loc) 1.76 kB
{ "$schema": "http://json-schema.org/schema", "$id": "E2E", "title": "E2E", "description": "Creates an E2E project for a nx-serverless-cdk application.", "type": "object", "properties": { "name": { "type": "string", "pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$", "description": "E2E application name.", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "What name would you like to use for the newly generated E2E application?" }, "directory": { "description": "The project's directory path relative to the current working directory.", "type": "string", "x-priority": "important" }, "project": { "type": "string", "pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$", "description": "CDK application name.", "x-dropdown": "project", "x-prompt": "For which CDK application should the E2E application be generated?" }, "type": { "type": "string", "enum": ["generic", "lambda"], "description": "Application type", "x-prompt": { "message": "Which application type would you like to use?", "type": "list", "items": [ { "value": "generic", "label": "Generic" }, { "value": "lambda", "label": "Lambda" } ] } }, "skipFormat": { "description": "Skip formatting files.", "type": "boolean", "default": false, "hidden": true, "x-priority": "internal" } }, "required": ["name", "project", "type"], "additionalProperties": false }