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
41 lines (40 loc) • 1.31 kB
JSON
{
"$schema": "http://json-schema.org/schema",
"$id": "cdk-lib",
"title": "cdk-lib",
"description": "Creates an AWS CDK construct library.",
"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": "Construct library name",
"$default": {
"$source": "argv",
"index": 0
},
"x-prompt": "What name would you like to use for the newly generated constructs library?"
},
"directory": {
"description": "The construct library's directory path relative to the current working directory.",
"type": "string",
"x-priority": "important"
},
"importPath": {
"type": "string",
"description": "Defines the npm package name (e.g. 'example-lib' or '@example-org/example-lib')."
},
"publishable": {
"type": "boolean",
"description": "Creates a construct library that can be published to a npm repository.",
"x-priority": "important"
},
"skipFormat": {
"description": "Skips the formatting after the construct library has been created.",
"type": "boolean",
"default": false
}
},
"required": ["name"],
"additionalProperties": false
}