cdk-serverless 2.8.0 → 2.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitattributes +0 -1
- package/docs/projen/assets/search.js +1 -1
- package/docs/projen/classes/Datastore.html +73 -3
- package/docs/projen/classes/GraphQlApi.html +72 -2
- package/docs/projen/classes/RestApi.html +90 -3
- package/docs/projen/classes/ServerlessProject.html +124 -22
- package/docs/projen/classes/Workflow.html +73 -3
- package/docs/projen/interfaces/ServerlessProjectOptions.html +67 -4
- package/lib/projen/graphql.js +18 -18
- package/lib/projen/rest-api.d.ts +1 -0
- package/lib/projen/rest-api.js +34 -1
- package/package.json +26 -26
package/.gitattributes
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
window.searchData = JSON.parse("{\"rows\":[{\"kind\":32,\"name\":\"PACKAGE_NAME\",\"url\":\"variables/PACKAGE_NAME.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"ServerlessProjectOptions\",\"url\":\"interfaces/ServerlessProjectOptions.html\",\"classes\":\"\"},{\"kind\":128,\"name\":\"ServerlessProject\",\"url\":\"classes/ServerlessProject.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ServerlessProject.html#constructor\",\"classes\":\"\",\"parent\":\"ServerlessProject\"},{\"kind\":256,\"name\":\"RestApiOptions\",\"url\":\"interfaces/RestApiOptions.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"apiName\",\"url\":\"interfaces/RestApiOptions.html#apiName\",\"classes\":\"\",\"parent\":\"RestApiOptions\"},{\"kind\":1024,\"name\":\"definitionFile\",\"url\":\"interfaces/RestApiOptions.html#definitionFile\",\"classes\":\"\",\"parent\":\"RestApiOptions\"},{\"kind\":128,\"name\":\"RestApi\",\"url\":\"classes/RestApi.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/RestApi.html#constructor\",\"classes\":\"\",\"parent\":\"RestApi\"},{\"kind\":1024,\"name\":\"options\",\"url\":\"classes/RestApi.html#options\",\"classes\":\"tsd-is-protected\",\"parent\":\"RestApi\"},{\"kind\":2048,\"name\":\"createConstructFile\",\"url\":\"classes/RestApi.html#createConstructFile\",\"classes\":\"tsd-is-protected\",\"parent\":\"RestApi\"},{\"kind\":2048,\"name\":\"addRestResource\",\"url\":\"classes/RestApi.html#addRestResource\",\"classes\":\"tsd-is-protected\",\"parent\":\"RestApi\"},{\"kind\":2048,\"name\":\"createEntryFile\",\"url\":\"classes/RestApi.html#createEntryFile\",\"classes\":\"tsd-is-protected\",\"parent\":\"RestApi\"},{\"kind\":2048,\"name\":\"synthesize\",\"url\":\"classes/RestApi.html#synthesize\",\"classes\":\"\",\"parent\":\"RestApi\"},{\"kind\":256,\"name\":\"DatastoreOptions\",\"url\":\"interfaces/DatastoreOptions.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"modelName\",\"url\":\"interfaces/DatastoreOptions.html#modelName\",\"classes\":\"\",\"parent\":\"DatastoreOptions\"},{\"kind\":1024,\"name\":\"definitionFile\",\"url\":\"interfaces/DatastoreOptions.html#definitionFile\",\"classes\":\"\",\"parent\":\"DatastoreOptions\"},{\"kind\":128,\"name\":\"Datastore\",\"url\":\"classes/Datastore.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Datastore.html#constructor\",\"classes\":\"\",\"parent\":\"Datastore\"},{\"kind\":1024,\"name\":\"options\",\"url\":\"classes/Datastore.html#options\",\"classes\":\"tsd-is-protected\",\"parent\":\"Datastore\"},{\"kind\":2048,\"name\":\"createModelFile\",\"url\":\"classes/Datastore.html#createModelFile\",\"classes\":\"tsd-is-protected\",\"parent\":\"Datastore\"},{\"kind\":2048,\"name\":\"stringifyModel\",\"url\":\"classes/Datastore.html#stringifyModel\",\"classes\":\"tsd-is-private\",\"parent\":\"Datastore\"},{\"kind\":2048,\"name\":\"createConstructFile\",\"url\":\"classes/Datastore.html#createConstructFile\",\"classes\":\"tsd-is-protected\",\"parent\":\"Datastore\"},{\"kind\":2048,\"name\":\"synthesize\",\"url\":\"classes/Datastore.html#synthesize\",\"classes\":\"\",\"parent\":\"Datastore\"},{\"kind\":256,\"name\":\"WorkflowOptions\",\"url\":\"interfaces/WorkflowOptions.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"workflowName\",\"url\":\"interfaces/WorkflowOptions.html#workflowName\",\"classes\":\"\",\"parent\":\"WorkflowOptions\"},{\"kind\":1024,\"name\":\"definitionFile\",\"url\":\"interfaces/WorkflowOptions.html#definitionFile\",\"classes\":\"\",\"parent\":\"WorkflowOptions\"},{\"kind\":128,\"name\":\"Workflow\",\"url\":\"classes/Workflow.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Workflow.html#constructor\",\"classes\":\"\",\"parent\":\"Workflow\"},{\"kind\":1024,\"name\":\"options\",\"url\":\"classes/Workflow.html#options\",\"classes\":\"tsd-is-protected\",\"parent\":\"Workflow\"},{\"kind\":2048,\"name\":\"createConstructFile\",\"url\":\"classes/Workflow.html#createConstructFile\",\"classes\":\"tsd-is-protected\",\"parent\":\"Workflow\"},{\"kind\":2048,\"name\":\"renderStateConfigDefinition\",\"url\":\"classes/Workflow.html#renderStateConfigDefinition\",\"classes\":\"tsd-is-protected\",\"parent\":\"Workflow\"},{\"kind\":2048,\"name\":\"renderDefinitionSubstitution\",\"url\":\"classes/Workflow.html#renderDefinitionSubstitution\",\"classes\":\"tsd-is-protected\",\"parent\":\"Workflow\"},{\"kind\":2048,\"name\":\"synthesize\",\"url\":\"classes/Workflow.html#synthesize\",\"classes\":\"\",\"parent\":\"Workflow\"},{\"kind\":256,\"name\":\"GraphQlApiOptions\",\"url\":\"interfaces/GraphQlApiOptions.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"apiName\",\"url\":\"interfaces/GraphQlApiOptions.html#apiName\",\"classes\":\"\",\"parent\":\"GraphQlApiOptions\"},{\"kind\":1024,\"name\":\"definitionFile\",\"url\":\"interfaces/GraphQlApiOptions.html#definitionFile\",\"classes\":\"\",\"parent\":\"GraphQlApiOptions\"},{\"kind\":128,\"name\":\"GraphQlApi\",\"url\":\"classes/GraphQlApi.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/GraphQlApi.html#constructor\",\"classes\":\"\",\"parent\":\"GraphQlApi\"},{\"kind\":1024,\"name\":\"codegenConfigFileName\",\"url\":\"classes/GraphQlApi.html#codegenConfigFileName\",\"classes\":\"tsd-is-protected\",\"parent\":\"GraphQlApi\"},{\"kind\":1024,\"name\":\"options\",\"url\":\"classes/GraphQlApi.html#options\",\"classes\":\"tsd-is-protected\",\"parent\":\"GraphQlApi\"},{\"kind\":2048,\"name\":\"createConstructFile\",\"url\":\"classes/GraphQlApi.html#createConstructFile\",\"classes\":\"tsd-is-protected\",\"parent\":\"GraphQlApi\"},{\"kind\":2048,\"name\":\"synthesize\",\"url\":\"classes/GraphQlApi.html#synthesize\",\"classes\":\"\",\"parent\":\"GraphQlApi\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,33.787]],[\"comment/0\",[]],[\"name/1\",[1,33.787]],[\"comment/1\",[]],[\"name/2\",[2,33.787]],[\"comment/2\",[]],[\"name/3\",[3,20.794]],[\"comment/3\",[]],[\"name/4\",[4,33.787]],[\"comment/4\",[]],[\"name/5\",[5,28.679]],[\"comment/5\",[]],[\"name/6\",[6,22.801]],[\"comment/6\",[]],[\"name/7\",[7,33.787]],[\"comment/7\",[]],[\"name/8\",[3,20.794]],[\"comment/8\",[]],[\"name/9\",[8,22.801]],[\"comment/9\",[]],[\"name/10\",[9,22.801]],[\"comment/10\",[]],[\"name/11\",[10,33.787]],[\"comment/11\",[]],[\"name/12\",[11,33.787]],[\"comment/12\",[]],[\"name/13\",[12,22.801]],[\"comment/13\",[]],[\"name/14\",[13,33.787]],[\"comment/14\",[]],[\"name/15\",[14,33.787]],[\"comment/15\",[]],[\"name/16\",[6,22.801]],[\"comment/16\",[]],[\"name/17\",[15,33.787]],[\"comment/17\",[]],[\"name/18\",[3,20.794]],[\"comment/18\",[]],[\"name/19\",[8,22.801]],[\"comment/19\",[]],[\"name/20\",[16,33.787]],[\"comment/20\",[]],[\"name/21\",[17,33.787]],[\"comment/21\",[]],[\"name/22\",[9,22.801]],[\"comment/22\",[]],[\"name/23\",[12,22.801]],[\"comment/23\",[]],[\"name/24\",[18,33.787]],[\"comment/24\",[]],[\"name/25\",[19,33.787]],[\"comment/25\",[]],[\"name/26\",[6,22.801]],[\"comment/26\",[]],[\"name/27\",[20,33.787]],[\"comment/27\",[]],[\"name/28\",[3,20.794]],[\"comment/28\",[]],[\"name/29\",[8,22.801]],[\"comment/29\",[]],[\"name/30\",[9,22.801]],[\"comment/30\",[]],[\"name/31\",[21,33.787]],[\"comment/31\",[]],[\"name/32\",[22,33.787]],[\"comment/32\",[]],[\"name/33\",[12,22.801]],[\"comment/33\",[]],[\"name/34\",[23,33.787]],[\"comment/34\",[]],[\"name/35\",[5,28.679]],[\"comment/35\",[]],[\"name/36\",[6,22.801]],[\"comment/36\",[]],[\"name/37\",[24,33.787]],[\"comment/37\",[]],[\"name/38\",[3,20.794]],[\"comment/38\",[]],[\"name/39\",[25,33.787]],[\"comment/39\",[]],[\"name/40\",[8,22.801]],[\"comment/40\",[]],[\"name/41\",[9,22.801]],[\"comment/41\",[]],[\"name/42\",[12,22.801]],[\"comment/42\",[]]],\"invertedIndex\":[[\"addrestresource\",{\"_index\":10,\"name\":{\"11\":{}},\"comment\":{}}],[\"apiname\",{\"_index\":5,\"name\":{\"5\":{},\"35\":{}},\"comment\":{}}],[\"codegenconfigfilename\",{\"_index\":25,\"name\":{\"39\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":3,\"name\":{\"3\":{},\"8\":{},\"18\":{},\"28\":{},\"38\":{}},\"comment\":{}}],[\"createconstructfile\",{\"_index\":9,\"name\":{\"10\":{},\"22\":{},\"30\":{},\"41\":{}},\"comment\":{}}],[\"createentryfile\",{\"_index\":11,\"name\":{\"12\":{}},\"comment\":{}}],[\"createmodelfile\",{\"_index\":16,\"name\":{\"20\":{}},\"comment\":{}}],[\"datastore\",{\"_index\":15,\"name\":{\"17\":{}},\"comment\":{}}],[\"datastoreoptions\",{\"_index\":13,\"name\":{\"14\":{}},\"comment\":{}}],[\"definitionfile\",{\"_index\":6,\"name\":{\"6\":{},\"16\":{},\"26\":{},\"36\":{}},\"comment\":{}}],[\"graphqlapi\",{\"_index\":24,\"name\":{\"37\":{}},\"comment\":{}}],[\"graphqlapioptions\",{\"_index\":23,\"name\":{\"34\":{}},\"comment\":{}}],[\"modelname\",{\"_index\":14,\"name\":{\"15\":{}},\"comment\":{}}],[\"options\",{\"_index\":8,\"name\":{\"9\":{},\"19\":{},\"29\":{},\"40\":{}},\"comment\":{}}],[\"package_name\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"renderdefinitionsubstitution\",{\"_index\":22,\"name\":{\"32\":{}},\"comment\":{}}],[\"renderstateconfigdefinition\",{\"_index\":21,\"name\":{\"31\":{}},\"comment\":{}}],[\"restapi\",{\"_index\":7,\"name\":{\"7\":{}},\"comment\":{}}],[\"restapioptions\",{\"_index\":4,\"name\":{\"4\":{}},\"comment\":{}}],[\"serverlessproject\",{\"_index\":2,\"name\":{\"2\":{}},\"comment\":{}}],[\"serverlessprojectoptions\",{\"_index\":1,\"name\":{\"1\":{}},\"comment\":{}}],[\"stringifymodel\",{\"_index\":17,\"name\":{\"21\":{}},\"comment\":{}}],[\"synthesize\",{\"_index\":12,\"name\":{\"13\":{},\"23\":{},\"33\":{},\"42\":{}},\"comment\":{}}],[\"workflow\",{\"_index\":20,\"name\":{\"27\":{}},\"comment\":{}}],[\"workflowname\",{\"_index\":19,\"name\":{\"25\":{}},\"comment\":{}}],[\"workflowoptions\",{\"_index\":18,\"name\":{\"24\":{}},\"comment\":{}}]],\"pipeline\":[]}}");
|
|
1
|
+
window.searchData = JSON.parse("{\"rows\":[{\"kind\":32,\"name\":\"PACKAGE_NAME\",\"url\":\"variables/PACKAGE_NAME.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"ServerlessProjectOptions\",\"url\":\"interfaces/ServerlessProjectOptions.html\",\"classes\":\"\"},{\"kind\":128,\"name\":\"ServerlessProject\",\"url\":\"classes/ServerlessProject.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ServerlessProject.html#constructor\",\"classes\":\"\",\"parent\":\"ServerlessProject\"},{\"kind\":256,\"name\":\"RestApiOptions\",\"url\":\"interfaces/RestApiOptions.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"apiName\",\"url\":\"interfaces/RestApiOptions.html#apiName\",\"classes\":\"\",\"parent\":\"RestApiOptions\"},{\"kind\":1024,\"name\":\"definitionFile\",\"url\":\"interfaces/RestApiOptions.html#definitionFile\",\"classes\":\"\",\"parent\":\"RestApiOptions\"},{\"kind\":128,\"name\":\"RestApi\",\"url\":\"classes/RestApi.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/RestApi.html#constructor\",\"classes\":\"\",\"parent\":\"RestApi\"},{\"kind\":1024,\"name\":\"options\",\"url\":\"classes/RestApi.html#options\",\"classes\":\"tsd-is-protected\",\"parent\":\"RestApi\"},{\"kind\":2048,\"name\":\"createConstructFile\",\"url\":\"classes/RestApi.html#createConstructFile\",\"classes\":\"tsd-is-protected\",\"parent\":\"RestApi\"},{\"kind\":2048,\"name\":\"validatePathRef\",\"url\":\"classes/RestApi.html#validatePathRef\",\"classes\":\"tsd-is-protected\",\"parent\":\"RestApi\"},{\"kind\":2048,\"name\":\"addRestResource\",\"url\":\"classes/RestApi.html#addRestResource\",\"classes\":\"tsd-is-protected\",\"parent\":\"RestApi\"},{\"kind\":2048,\"name\":\"createEntryFile\",\"url\":\"classes/RestApi.html#createEntryFile\",\"classes\":\"tsd-is-protected\",\"parent\":\"RestApi\"},{\"kind\":2048,\"name\":\"synthesize\",\"url\":\"classes/RestApi.html#synthesize\",\"classes\":\"\",\"parent\":\"RestApi\"},{\"kind\":256,\"name\":\"DatastoreOptions\",\"url\":\"interfaces/DatastoreOptions.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"modelName\",\"url\":\"interfaces/DatastoreOptions.html#modelName\",\"classes\":\"\",\"parent\":\"DatastoreOptions\"},{\"kind\":1024,\"name\":\"definitionFile\",\"url\":\"interfaces/DatastoreOptions.html#definitionFile\",\"classes\":\"\",\"parent\":\"DatastoreOptions\"},{\"kind\":128,\"name\":\"Datastore\",\"url\":\"classes/Datastore.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Datastore.html#constructor\",\"classes\":\"\",\"parent\":\"Datastore\"},{\"kind\":1024,\"name\":\"options\",\"url\":\"classes/Datastore.html#options\",\"classes\":\"tsd-is-protected\",\"parent\":\"Datastore\"},{\"kind\":2048,\"name\":\"createModelFile\",\"url\":\"classes/Datastore.html#createModelFile\",\"classes\":\"tsd-is-protected\",\"parent\":\"Datastore\"},{\"kind\":2048,\"name\":\"stringifyModel\",\"url\":\"classes/Datastore.html#stringifyModel\",\"classes\":\"tsd-is-private\",\"parent\":\"Datastore\"},{\"kind\":2048,\"name\":\"createConstructFile\",\"url\":\"classes/Datastore.html#createConstructFile\",\"classes\":\"tsd-is-protected\",\"parent\":\"Datastore\"},{\"kind\":2048,\"name\":\"synthesize\",\"url\":\"classes/Datastore.html#synthesize\",\"classes\":\"\",\"parent\":\"Datastore\"},{\"kind\":256,\"name\":\"WorkflowOptions\",\"url\":\"interfaces/WorkflowOptions.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"workflowName\",\"url\":\"interfaces/WorkflowOptions.html#workflowName\",\"classes\":\"\",\"parent\":\"WorkflowOptions\"},{\"kind\":1024,\"name\":\"definitionFile\",\"url\":\"interfaces/WorkflowOptions.html#definitionFile\",\"classes\":\"\",\"parent\":\"WorkflowOptions\"},{\"kind\":128,\"name\":\"Workflow\",\"url\":\"classes/Workflow.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Workflow.html#constructor\",\"classes\":\"\",\"parent\":\"Workflow\"},{\"kind\":1024,\"name\":\"options\",\"url\":\"classes/Workflow.html#options\",\"classes\":\"tsd-is-protected\",\"parent\":\"Workflow\"},{\"kind\":2048,\"name\":\"createConstructFile\",\"url\":\"classes/Workflow.html#createConstructFile\",\"classes\":\"tsd-is-protected\",\"parent\":\"Workflow\"},{\"kind\":2048,\"name\":\"renderStateConfigDefinition\",\"url\":\"classes/Workflow.html#renderStateConfigDefinition\",\"classes\":\"tsd-is-protected\",\"parent\":\"Workflow\"},{\"kind\":2048,\"name\":\"renderDefinitionSubstitution\",\"url\":\"classes/Workflow.html#renderDefinitionSubstitution\",\"classes\":\"tsd-is-protected\",\"parent\":\"Workflow\"},{\"kind\":2048,\"name\":\"synthesize\",\"url\":\"classes/Workflow.html#synthesize\",\"classes\":\"\",\"parent\":\"Workflow\"},{\"kind\":256,\"name\":\"GraphQlApiOptions\",\"url\":\"interfaces/GraphQlApiOptions.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"apiName\",\"url\":\"interfaces/GraphQlApiOptions.html#apiName\",\"classes\":\"\",\"parent\":\"GraphQlApiOptions\"},{\"kind\":1024,\"name\":\"definitionFile\",\"url\":\"interfaces/GraphQlApiOptions.html#definitionFile\",\"classes\":\"\",\"parent\":\"GraphQlApiOptions\"},{\"kind\":128,\"name\":\"GraphQlApi\",\"url\":\"classes/GraphQlApi.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/GraphQlApi.html#constructor\",\"classes\":\"\",\"parent\":\"GraphQlApi\"},{\"kind\":1024,\"name\":\"codegenConfigFileName\",\"url\":\"classes/GraphQlApi.html#codegenConfigFileName\",\"classes\":\"tsd-is-protected\",\"parent\":\"GraphQlApi\"},{\"kind\":1024,\"name\":\"options\",\"url\":\"classes/GraphQlApi.html#options\",\"classes\":\"tsd-is-protected\",\"parent\":\"GraphQlApi\"},{\"kind\":2048,\"name\":\"createConstructFile\",\"url\":\"classes/GraphQlApi.html#createConstructFile\",\"classes\":\"tsd-is-protected\",\"parent\":\"GraphQlApi\"},{\"kind\":2048,\"name\":\"synthesize\",\"url\":\"classes/GraphQlApi.html#synthesize\",\"classes\":\"\",\"parent\":\"GraphQlApi\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,34.012]],[\"comment/0\",[]],[\"name/1\",[1,34.012]],[\"comment/1\",[]],[\"name/2\",[2,34.012]],[\"comment/2\",[]],[\"name/3\",[3,21.019]],[\"comment/3\",[]],[\"name/4\",[4,34.012]],[\"comment/4\",[]],[\"name/5\",[5,28.904]],[\"comment/5\",[]],[\"name/6\",[6,23.026]],[\"comment/6\",[]],[\"name/7\",[7,34.012]],[\"comment/7\",[]],[\"name/8\",[3,21.019]],[\"comment/8\",[]],[\"name/9\",[8,23.026]],[\"comment/9\",[]],[\"name/10\",[9,23.026]],[\"comment/10\",[]],[\"name/11\",[10,34.012]],[\"comment/11\",[]],[\"name/12\",[11,34.012]],[\"comment/12\",[]],[\"name/13\",[12,34.012]],[\"comment/13\",[]],[\"name/14\",[13,23.026]],[\"comment/14\",[]],[\"name/15\",[14,34.012]],[\"comment/15\",[]],[\"name/16\",[15,34.012]],[\"comment/16\",[]],[\"name/17\",[6,23.026]],[\"comment/17\",[]],[\"name/18\",[16,34.012]],[\"comment/18\",[]],[\"name/19\",[3,21.019]],[\"comment/19\",[]],[\"name/20\",[8,23.026]],[\"comment/20\",[]],[\"name/21\",[17,34.012]],[\"comment/21\",[]],[\"name/22\",[18,34.012]],[\"comment/22\",[]],[\"name/23\",[9,23.026]],[\"comment/23\",[]],[\"name/24\",[13,23.026]],[\"comment/24\",[]],[\"name/25\",[19,34.012]],[\"comment/25\",[]],[\"name/26\",[20,34.012]],[\"comment/26\",[]],[\"name/27\",[6,23.026]],[\"comment/27\",[]],[\"name/28\",[21,34.012]],[\"comment/28\",[]],[\"name/29\",[3,21.019]],[\"comment/29\",[]],[\"name/30\",[8,23.026]],[\"comment/30\",[]],[\"name/31\",[9,23.026]],[\"comment/31\",[]],[\"name/32\",[22,34.012]],[\"comment/32\",[]],[\"name/33\",[23,34.012]],[\"comment/33\",[]],[\"name/34\",[13,23.026]],[\"comment/34\",[]],[\"name/35\",[24,34.012]],[\"comment/35\",[]],[\"name/36\",[5,28.904]],[\"comment/36\",[]],[\"name/37\",[6,23.026]],[\"comment/37\",[]],[\"name/38\",[25,34.012]],[\"comment/38\",[]],[\"name/39\",[3,21.019]],[\"comment/39\",[]],[\"name/40\",[26,34.012]],[\"comment/40\",[]],[\"name/41\",[8,23.026]],[\"comment/41\",[]],[\"name/42\",[9,23.026]],[\"comment/42\",[]],[\"name/43\",[13,23.026]],[\"comment/43\",[]]],\"invertedIndex\":[[\"addrestresource\",{\"_index\":11,\"name\":{\"12\":{}},\"comment\":{}}],[\"apiname\",{\"_index\":5,\"name\":{\"5\":{},\"36\":{}},\"comment\":{}}],[\"codegenconfigfilename\",{\"_index\":26,\"name\":{\"40\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":3,\"name\":{\"3\":{},\"8\":{},\"19\":{},\"29\":{},\"39\":{}},\"comment\":{}}],[\"createconstructfile\",{\"_index\":9,\"name\":{\"10\":{},\"23\":{},\"31\":{},\"42\":{}},\"comment\":{}}],[\"createentryfile\",{\"_index\":12,\"name\":{\"13\":{}},\"comment\":{}}],[\"createmodelfile\",{\"_index\":17,\"name\":{\"21\":{}},\"comment\":{}}],[\"datastore\",{\"_index\":16,\"name\":{\"18\":{}},\"comment\":{}}],[\"datastoreoptions\",{\"_index\":14,\"name\":{\"15\":{}},\"comment\":{}}],[\"definitionfile\",{\"_index\":6,\"name\":{\"6\":{},\"17\":{},\"27\":{},\"37\":{}},\"comment\":{}}],[\"graphqlapi\",{\"_index\":25,\"name\":{\"38\":{}},\"comment\":{}}],[\"graphqlapioptions\",{\"_index\":24,\"name\":{\"35\":{}},\"comment\":{}}],[\"modelname\",{\"_index\":15,\"name\":{\"16\":{}},\"comment\":{}}],[\"options\",{\"_index\":8,\"name\":{\"9\":{},\"20\":{},\"30\":{},\"41\":{}},\"comment\":{}}],[\"package_name\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"renderdefinitionsubstitution\",{\"_index\":23,\"name\":{\"33\":{}},\"comment\":{}}],[\"renderstateconfigdefinition\",{\"_index\":22,\"name\":{\"32\":{}},\"comment\":{}}],[\"restapi\",{\"_index\":7,\"name\":{\"7\":{}},\"comment\":{}}],[\"restapioptions\",{\"_index\":4,\"name\":{\"4\":{}},\"comment\":{}}],[\"serverlessproject\",{\"_index\":2,\"name\":{\"2\":{}},\"comment\":{}}],[\"serverlessprojectoptions\",{\"_index\":1,\"name\":{\"1\":{}},\"comment\":{}}],[\"stringifymodel\",{\"_index\":18,\"name\":{\"22\":{}},\"comment\":{}}],[\"synthesize\",{\"_index\":13,\"name\":{\"14\":{},\"24\":{},\"34\":{},\"43\":{}},\"comment\":{}}],[\"validatepathref\",{\"_index\":10,\"name\":{\"11\":{}},\"comment\":{}}],[\"workflow\",{\"_index\":21,\"name\":{\"28\":{}},\"comment\":{}}],[\"workflowname\",{\"_index\":20,\"name\":{\"26\":{}},\"comment\":{}}],[\"workflowoptions\",{\"_index\":19,\"name\":{\"25\":{}},\"comment\":{}}]],\"pipeline\":[]}}");
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
</div></section>
|
|
33
33
|
<section class="tsd-index-section">
|
|
34
34
|
<h3 class="tsd-index-heading">Properties</h3>
|
|
35
|
-
<div class="tsd-index-list"><a href="Datastore.html#
|
|
35
|
+
<div class="tsd-index-list"><a href="Datastore.html#node" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-1024"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g></svg><span>node</span></a>
|
|
36
|
+
<a href="Datastore.html#options" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>options</span></a>
|
|
36
37
|
<a href="Datastore.html#project" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>project</span></a>
|
|
37
38
|
</div></section>
|
|
38
39
|
<section class="tsd-index-section">
|
|
@@ -43,6 +44,9 @@
|
|
|
43
44
|
<a href="Datastore.html#preSynthesize" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>pre<wbr/>Synthesize</span></a>
|
|
44
45
|
<a href="Datastore.html#stringifyModel" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>stringify<wbr/>Model</span></a>
|
|
45
46
|
<a href="Datastore.html#synthesize" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>synthesize</span></a>
|
|
47
|
+
<a href="Datastore.html#toString" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>String</span></a>
|
|
48
|
+
<a href="Datastore.html#isComponent" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>is<wbr/>Component</span></a>
|
|
49
|
+
<a href="Datastore.html#isConstruct" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>is<wbr/>Construct</span></a>
|
|
46
50
|
</div></section></div></details></section></section>
|
|
47
51
|
<section class="tsd-panel-group tsd-member-group">
|
|
48
52
|
<h2>Constructors</h2>
|
|
@@ -62,6 +66,13 @@
|
|
|
62
66
|
<p>Overrides pj.Component.constructor</p></aside></li></ul></section></section>
|
|
63
67
|
<section class="tsd-panel-group tsd-member-group">
|
|
64
68
|
<h2>Properties</h2>
|
|
69
|
+
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="node" class="tsd-anchor"></a>
|
|
70
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>node</span><a href="#node" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
71
|
+
<div class="tsd-signature"><span class="tsd-kind-property">node</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Node</span></div>
|
|
72
|
+
<div class="tsd-comment tsd-typography"><p>The tree node.</p>
|
|
73
|
+
</div>
|
|
74
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
75
|
+
<p>Inherited from pj.Component.node</p></aside></section>
|
|
65
76
|
<section class="tsd-panel tsd-member tsd-is-protected"><a id="options" class="tsd-anchor"></a>
|
|
66
77
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>options</span><a href="#options" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
67
78
|
<div class="tsd-signature"><span class="tsd-kind-property">options</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/DatastoreOptions.html" class="tsd-signature-type tsd-kind-interface">DatastoreOptions</a></div></section>
|
|
@@ -134,7 +145,62 @@
|
|
|
134
145
|
<li class="tsd-signature tsd-anchor-link" id="synthesize.synthesize-1"><span class="tsd-kind-call-signature">synthesize</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#synthesize.synthesize-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
135
146
|
<li class="tsd-description">
|
|
136
147
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
137
|
-
<p>Overrides pj.Component.synthesize</p></aside></li></ul></section
|
|
148
|
+
<p>Overrides pj.Component.synthesize</p></aside></li></ul></section>
|
|
149
|
+
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toString" class="tsd-anchor"></a>
|
|
150
|
+
<h3 class="tsd-anchor-link"><span>to<wbr/>String</span><a href="#toString" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
151
|
+
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
|
152
|
+
<li class="tsd-signature tsd-anchor-link" id="toString.toString-1"><span class="tsd-kind-call-signature">to<wbr/>String</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#toString.toString-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
153
|
+
<li class="tsd-description">
|
|
154
|
+
<div class="tsd-comment tsd-typography"><p>Returns a string representation of this construct.</p>
|
|
155
|
+
</div>
|
|
156
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
|
157
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
158
|
+
<p>Inherited from pj.Component.toString</p></aside></li></ul></section>
|
|
159
|
+
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="isComponent" class="tsd-anchor"></a>
|
|
160
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>is<wbr/>Component</span><a href="#isComponent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
161
|
+
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
|
162
|
+
<li class="tsd-signature tsd-anchor-link" id="isComponent.isComponent-1"><span class="tsd-kind-call-signature">is<wbr/>Component</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type ">Component</span><a href="#isComponent.isComponent-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
163
|
+
<li class="tsd-description">
|
|
164
|
+
<div class="tsd-comment tsd-typography"><p>Test whether the given construct is a component.</p>
|
|
165
|
+
</div>
|
|
166
|
+
<div class="tsd-parameters">
|
|
167
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
168
|
+
<ul class="tsd-parameter-list">
|
|
169
|
+
<li>
|
|
170
|
+
<h5><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">any</span></h5></li></ul></div>
|
|
171
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type ">Component</span></h4>
|
|
172
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
173
|
+
<p>Inherited from pj.Component.isComponent</p></aside></li></ul></section>
|
|
174
|
+
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="isConstruct" class="tsd-anchor"></a>
|
|
175
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>is<wbr/>Construct</span><a href="#isConstruct" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
176
|
+
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
|
177
|
+
<li class="tsd-signature tsd-anchor-link" id="isConstruct.isConstruct-1"><span class="tsd-kind-call-signature">is<wbr/>Construct</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type ">Construct</span><a href="#isConstruct.isConstruct-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
178
|
+
<li class="tsd-description">
|
|
179
|
+
<div class="tsd-comment tsd-typography"><p>Checks if <code>x</code> is a construct.</p>
|
|
180
|
+
<p>Use this method instead of <code>instanceof</code> to properly detect <code>Construct</code>
|
|
181
|
+
instances, even when the construct library is symlinked.</p>
|
|
182
|
+
<p>Explanation: in JavaScript, multiple copies of the <code>constructs</code> library on
|
|
183
|
+
disk are seen as independent, completely different libraries. As a
|
|
184
|
+
consequence, the class <code>Construct</code> in each copy of the <code>constructs</code> library
|
|
185
|
+
is seen as a different class, and an instance of one class will not test as
|
|
186
|
+
<code>instanceof</code> the other class. <code>npm install</code> will not create installations
|
|
187
|
+
like this, but users may manually symlink construct libraries together or
|
|
188
|
+
use a monorepo tool: in those cases, multiple copies of the <code>constructs</code>
|
|
189
|
+
library can be accidentally installed, and <code>instanceof</code> will behave
|
|
190
|
+
unpredictably. It is safest to avoid using <code>instanceof</code>, and using
|
|
191
|
+
this type-testing method instead.</p>
|
|
192
|
+
</div>
|
|
193
|
+
<div class="tsd-parameters">
|
|
194
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
195
|
+
<ul class="tsd-parameter-list">
|
|
196
|
+
<li>
|
|
197
|
+
<h5><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">any</span></h5>
|
|
198
|
+
<div class="tsd-comment tsd-typography"><p>Any object</p>
|
|
199
|
+
</div></li></ul></div>
|
|
200
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type ">Construct</span></h4><p>true if <code>x</code> is an object created from a class which extends <code>Construct</code>.</p>
|
|
201
|
+
|
|
202
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
203
|
+
<p>Inherited from pj.Component.isConstruct</p></aside></li></ul></section></section></div>
|
|
138
204
|
<div class="col-sidebar">
|
|
139
205
|
<div class="page-menu">
|
|
140
206
|
<div class="tsd-navigation settings">
|
|
@@ -155,6 +221,7 @@
|
|
|
155
221
|
<div class="tsd-accordion-details">
|
|
156
222
|
<ul>
|
|
157
223
|
<li><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-512"></use></svg><span>constructor</span></a></li>
|
|
224
|
+
<li><a href="#node" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>node</span></a></li>
|
|
158
225
|
<li><a href="#options" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>options</span></a></li>
|
|
159
226
|
<li><a href="#project" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>project</span></a></li>
|
|
160
227
|
<li><a href="#createConstructFile" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>create<wbr/>Construct<wbr/>File</span></a></li>
|
|
@@ -162,7 +229,10 @@
|
|
|
162
229
|
<li><a href="#postSynthesize" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>post<wbr/>Synthesize</span></a></li>
|
|
163
230
|
<li><a href="#preSynthesize" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>pre<wbr/>Synthesize</span></a></li>
|
|
164
231
|
<li><a href="#stringifyModel" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>stringify<wbr/>Model</span></a></li>
|
|
165
|
-
<li><a href="#synthesize" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>synthesize</span></a></li
|
|
232
|
+
<li><a href="#synthesize" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>synthesize</span></a></li>
|
|
233
|
+
<li><a href="#toString" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>String</span></a></li>
|
|
234
|
+
<li><a href="#isComponent" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>is<wbr/>Component</span></a></li>
|
|
235
|
+
<li><a href="#isConstruct" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>is<wbr/>Construct</span></a></li></ul></div></details></div>
|
|
166
236
|
<div class="site-menu">
|
|
167
237
|
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>cdk-<wbr/>serverless</span></a>
|
|
168
238
|
<ul class="tsd-small-nested-navigation">
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
<section class="tsd-index-section">
|
|
34
34
|
<h3 class="tsd-index-heading">Properties</h3>
|
|
35
35
|
<div class="tsd-index-list"><a href="GraphQlApi.html#codegenConfigFileName" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-1024"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g></svg><span>codegen<wbr/>Config<wbr/>File<wbr/>Name</span></a>
|
|
36
|
+
<a href="GraphQlApi.html#node" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>node</span></a>
|
|
36
37
|
<a href="GraphQlApi.html#options" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>options</span></a>
|
|
37
38
|
<a href="GraphQlApi.html#project" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>project</span></a>
|
|
38
39
|
</div></section>
|
|
@@ -42,6 +43,9 @@
|
|
|
42
43
|
<a href="GraphQlApi.html#postSynthesize" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>post<wbr/>Synthesize</span></a>
|
|
43
44
|
<a href="GraphQlApi.html#preSynthesize" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>pre<wbr/>Synthesize</span></a>
|
|
44
45
|
<a href="GraphQlApi.html#synthesize" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>synthesize</span></a>
|
|
46
|
+
<a href="GraphQlApi.html#toString" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>String</span></a>
|
|
47
|
+
<a href="GraphQlApi.html#isComponent" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>is<wbr/>Component</span></a>
|
|
48
|
+
<a href="GraphQlApi.html#isConstruct" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>is<wbr/>Construct</span></a>
|
|
45
49
|
</div></section></div></details></section></section>
|
|
46
50
|
<section class="tsd-panel-group tsd-member-group">
|
|
47
51
|
<h2>Constructors</h2>
|
|
@@ -64,6 +68,13 @@
|
|
|
64
68
|
<section class="tsd-panel tsd-member tsd-is-protected"><a id="codegenConfigFileName" class="tsd-anchor"></a>
|
|
65
69
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>codegen<wbr/>Config<wbr/>File<wbr/>Name</span><a href="#codegenConfigFileName" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
66
70
|
<div class="tsd-signature"><span class="tsd-kind-property">codegen<wbr/>Config<wbr/>File<wbr/>Name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div></section>
|
|
71
|
+
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="node" class="tsd-anchor"></a>
|
|
72
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>node</span><a href="#node" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
73
|
+
<div class="tsd-signature"><span class="tsd-kind-property">node</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Node</span></div>
|
|
74
|
+
<div class="tsd-comment tsd-typography"><p>The tree node.</p>
|
|
75
|
+
</div>
|
|
76
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
77
|
+
<p>Inherited from pj.Component.node</p></aside></section>
|
|
67
78
|
<section class="tsd-panel tsd-member tsd-is-protected"><a id="options" class="tsd-anchor"></a>
|
|
68
79
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>options</span><a href="#options" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
69
80
|
<div class="tsd-signature"><span class="tsd-kind-property">options</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/GraphQlApiOptions.html" class="tsd-signature-type tsd-kind-interface">GraphQlApiOptions</a></div></section>
|
|
@@ -110,7 +121,62 @@
|
|
|
110
121
|
<li class="tsd-signature tsd-anchor-link" id="synthesize.synthesize-1"><span class="tsd-kind-call-signature">synthesize</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#synthesize.synthesize-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
111
122
|
<li class="tsd-description">
|
|
112
123
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
113
|
-
<p>Overrides pj.Component.synthesize</p></aside></li></ul></section
|
|
124
|
+
<p>Overrides pj.Component.synthesize</p></aside></li></ul></section>
|
|
125
|
+
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toString" class="tsd-anchor"></a>
|
|
126
|
+
<h3 class="tsd-anchor-link"><span>to<wbr/>String</span><a href="#toString" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
127
|
+
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
|
128
|
+
<li class="tsd-signature tsd-anchor-link" id="toString.toString-1"><span class="tsd-kind-call-signature">to<wbr/>String</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#toString.toString-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
129
|
+
<li class="tsd-description">
|
|
130
|
+
<div class="tsd-comment tsd-typography"><p>Returns a string representation of this construct.</p>
|
|
131
|
+
</div>
|
|
132
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
|
133
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
134
|
+
<p>Inherited from pj.Component.toString</p></aside></li></ul></section>
|
|
135
|
+
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="isComponent" class="tsd-anchor"></a>
|
|
136
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>is<wbr/>Component</span><a href="#isComponent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
137
|
+
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
|
138
|
+
<li class="tsd-signature tsd-anchor-link" id="isComponent.isComponent-1"><span class="tsd-kind-call-signature">is<wbr/>Component</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type ">Component</span><a href="#isComponent.isComponent-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
139
|
+
<li class="tsd-description">
|
|
140
|
+
<div class="tsd-comment tsd-typography"><p>Test whether the given construct is a component.</p>
|
|
141
|
+
</div>
|
|
142
|
+
<div class="tsd-parameters">
|
|
143
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
144
|
+
<ul class="tsd-parameter-list">
|
|
145
|
+
<li>
|
|
146
|
+
<h5><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">any</span></h5></li></ul></div>
|
|
147
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type ">Component</span></h4>
|
|
148
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
149
|
+
<p>Inherited from pj.Component.isComponent</p></aside></li></ul></section>
|
|
150
|
+
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="isConstruct" class="tsd-anchor"></a>
|
|
151
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>is<wbr/>Construct</span><a href="#isConstruct" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
152
|
+
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
|
153
|
+
<li class="tsd-signature tsd-anchor-link" id="isConstruct.isConstruct-1"><span class="tsd-kind-call-signature">is<wbr/>Construct</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type ">Construct</span><a href="#isConstruct.isConstruct-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
154
|
+
<li class="tsd-description">
|
|
155
|
+
<div class="tsd-comment tsd-typography"><p>Checks if <code>x</code> is a construct.</p>
|
|
156
|
+
<p>Use this method instead of <code>instanceof</code> to properly detect <code>Construct</code>
|
|
157
|
+
instances, even when the construct library is symlinked.</p>
|
|
158
|
+
<p>Explanation: in JavaScript, multiple copies of the <code>constructs</code> library on
|
|
159
|
+
disk are seen as independent, completely different libraries. As a
|
|
160
|
+
consequence, the class <code>Construct</code> in each copy of the <code>constructs</code> library
|
|
161
|
+
is seen as a different class, and an instance of one class will not test as
|
|
162
|
+
<code>instanceof</code> the other class. <code>npm install</code> will not create installations
|
|
163
|
+
like this, but users may manually symlink construct libraries together or
|
|
164
|
+
use a monorepo tool: in those cases, multiple copies of the <code>constructs</code>
|
|
165
|
+
library can be accidentally installed, and <code>instanceof</code> will behave
|
|
166
|
+
unpredictably. It is safest to avoid using <code>instanceof</code>, and using
|
|
167
|
+
this type-testing method instead.</p>
|
|
168
|
+
</div>
|
|
169
|
+
<div class="tsd-parameters">
|
|
170
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
171
|
+
<ul class="tsd-parameter-list">
|
|
172
|
+
<li>
|
|
173
|
+
<h5><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">any</span></h5>
|
|
174
|
+
<div class="tsd-comment tsd-typography"><p>Any object</p>
|
|
175
|
+
</div></li></ul></div>
|
|
176
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type ">Construct</span></h4><p>true if <code>x</code> is an object created from a class which extends <code>Construct</code>.</p>
|
|
177
|
+
|
|
178
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
179
|
+
<p>Inherited from pj.Component.isConstruct</p></aside></li></ul></section></section></div>
|
|
114
180
|
<div class="col-sidebar">
|
|
115
181
|
<div class="page-menu">
|
|
116
182
|
<div class="tsd-navigation settings">
|
|
@@ -132,12 +198,16 @@
|
|
|
132
198
|
<ul>
|
|
133
199
|
<li><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-512"></use></svg><span>constructor</span></a></li>
|
|
134
200
|
<li><a href="#codegenConfigFileName" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>codegen<wbr/>Config<wbr/>File<wbr/>Name</span></a></li>
|
|
201
|
+
<li><a href="#node" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>node</span></a></li>
|
|
135
202
|
<li><a href="#options" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>options</span></a></li>
|
|
136
203
|
<li><a href="#project" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>project</span></a></li>
|
|
137
204
|
<li><a href="#createConstructFile" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>create<wbr/>Construct<wbr/>File</span></a></li>
|
|
138
205
|
<li><a href="#postSynthesize" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>post<wbr/>Synthesize</span></a></li>
|
|
139
206
|
<li><a href="#preSynthesize" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>pre<wbr/>Synthesize</span></a></li>
|
|
140
|
-
<li><a href="#synthesize" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>synthesize</span></a></li
|
|
207
|
+
<li><a href="#synthesize" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>synthesize</span></a></li>
|
|
208
|
+
<li><a href="#toString" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>String</span></a></li>
|
|
209
|
+
<li><a href="#isComponent" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>is<wbr/>Component</span></a></li>
|
|
210
|
+
<li><a href="#isConstruct" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>is<wbr/>Construct</span></a></li></ul></div></details></div>
|
|
141
211
|
<div class="site-menu">
|
|
142
212
|
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>cdk-<wbr/>serverless</span></a>
|
|
143
213
|
<ul class="tsd-small-nested-navigation">
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
</div></section>
|
|
33
33
|
<section class="tsd-index-section">
|
|
34
34
|
<h3 class="tsd-index-heading">Properties</h3>
|
|
35
|
-
<div class="tsd-index-list"><a href="RestApi.html#
|
|
35
|
+
<div class="tsd-index-list"><a href="RestApi.html#node" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-1024"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g></svg><span>node</span></a>
|
|
36
|
+
<a href="RestApi.html#options" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>options</span></a>
|
|
36
37
|
<a href="RestApi.html#project" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>project</span></a>
|
|
37
38
|
</div></section>
|
|
38
39
|
<section class="tsd-index-section">
|
|
@@ -43,6 +44,10 @@
|
|
|
43
44
|
<a href="RestApi.html#postSynthesize" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>post<wbr/>Synthesize</span></a>
|
|
44
45
|
<a href="RestApi.html#preSynthesize" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>pre<wbr/>Synthesize</span></a>
|
|
45
46
|
<a href="RestApi.html#synthesize" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>synthesize</span></a>
|
|
47
|
+
<a href="RestApi.html#toString" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>String</span></a>
|
|
48
|
+
<a href="RestApi.html#validatePathRef" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>validate<wbr/>Path<wbr/>Ref</span></a>
|
|
49
|
+
<a href="RestApi.html#isComponent" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>is<wbr/>Component</span></a>
|
|
50
|
+
<a href="RestApi.html#isConstruct" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>is<wbr/>Construct</span></a>
|
|
46
51
|
</div></section></div></details></section></section>
|
|
47
52
|
<section class="tsd-panel-group tsd-member-group">
|
|
48
53
|
<h2>Constructors</h2>
|
|
@@ -62,6 +67,13 @@
|
|
|
62
67
|
<p>Overrides pj.Component.constructor</p></aside></li></ul></section></section>
|
|
63
68
|
<section class="tsd-panel-group tsd-member-group">
|
|
64
69
|
<h2>Properties</h2>
|
|
70
|
+
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="node" class="tsd-anchor"></a>
|
|
71
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>node</span><a href="#node" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
72
|
+
<div class="tsd-signature"><span class="tsd-kind-property">node</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Node</span></div>
|
|
73
|
+
<div class="tsd-comment tsd-typography"><p>The tree node.</p>
|
|
74
|
+
</div>
|
|
75
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
76
|
+
<p>Inherited from pj.Component.node</p></aside></section>
|
|
65
77
|
<section class="tsd-panel tsd-member tsd-is-protected"><a id="options" class="tsd-anchor"></a>
|
|
66
78
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>options</span><a href="#options" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
67
79
|
<div class="tsd-signature"><span class="tsd-kind-property">options</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/RestApiOptions.html" class="tsd-signature-type tsd-kind-interface">RestApiOptions</a></div></section>
|
|
@@ -138,7 +150,77 @@
|
|
|
138
150
|
<li class="tsd-signature tsd-anchor-link" id="synthesize.synthesize-1"><span class="tsd-kind-call-signature">synthesize</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#synthesize.synthesize-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
139
151
|
<li class="tsd-description">
|
|
140
152
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
141
|
-
<p>Overrides pj.Component.synthesize</p></aside></li></ul></section
|
|
153
|
+
<p>Overrides pj.Component.synthesize</p></aside></li></ul></section>
|
|
154
|
+
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toString" class="tsd-anchor"></a>
|
|
155
|
+
<h3 class="tsd-anchor-link"><span>to<wbr/>String</span><a href="#toString" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
156
|
+
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
|
157
|
+
<li class="tsd-signature tsd-anchor-link" id="toString.toString-1"><span class="tsd-kind-call-signature">to<wbr/>String</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#toString.toString-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
158
|
+
<li class="tsd-description">
|
|
159
|
+
<div class="tsd-comment tsd-typography"><p>Returns a string representation of this construct.</p>
|
|
160
|
+
</div>
|
|
161
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
|
162
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
163
|
+
<p>Inherited from pj.Component.toString</p></aside></li></ul></section>
|
|
164
|
+
<section class="tsd-panel tsd-member tsd-is-protected"><a id="validatePathRef" class="tsd-anchor"></a>
|
|
165
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>validate<wbr/>Path<wbr/>Ref</span><a href="#validatePathRef" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
166
|
+
<ul class="tsd-signatures tsd-is-protected">
|
|
167
|
+
<li class="tsd-signature tsd-anchor-link" id="validatePathRef.validatePathRef-1"><span class="tsd-kind-call-signature">validate<wbr/>Path<wbr/>Ref</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">apiSpec</span>, <span class="tsd-kind-parameter">path</span>, <span class="tsd-kind-parameter">visited</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#validatePathRef.validatePathRef-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
168
|
+
<li class="tsd-description">
|
|
169
|
+
<div class="tsd-parameters">
|
|
170
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
171
|
+
<ul class="tsd-parameter-list">
|
|
172
|
+
<li>
|
|
173
|
+
<h5><span class="tsd-kind-parameter">apiSpec</span>: <span class="tsd-signature-type ">OpenAPI3</span></h5></li>
|
|
174
|
+
<li>
|
|
175
|
+
<h5><span class="tsd-kind-parameter">path</span>: <span class="tsd-signature-type">string</span></h5></li>
|
|
176
|
+
<li>
|
|
177
|
+
<h5><span class="tsd-kind-parameter">visited</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></h5></li></ul></div>
|
|
178
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section>
|
|
179
|
+
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="isComponent" class="tsd-anchor"></a>
|
|
180
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>is<wbr/>Component</span><a href="#isComponent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
181
|
+
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
|
182
|
+
<li class="tsd-signature tsd-anchor-link" id="isComponent.isComponent-1"><span class="tsd-kind-call-signature">is<wbr/>Component</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type ">Component</span><a href="#isComponent.isComponent-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
183
|
+
<li class="tsd-description">
|
|
184
|
+
<div class="tsd-comment tsd-typography"><p>Test whether the given construct is a component.</p>
|
|
185
|
+
</div>
|
|
186
|
+
<div class="tsd-parameters">
|
|
187
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
188
|
+
<ul class="tsd-parameter-list">
|
|
189
|
+
<li>
|
|
190
|
+
<h5><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">any</span></h5></li></ul></div>
|
|
191
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type ">Component</span></h4>
|
|
192
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
193
|
+
<p>Inherited from pj.Component.isComponent</p></aside></li></ul></section>
|
|
194
|
+
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="isConstruct" class="tsd-anchor"></a>
|
|
195
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>is<wbr/>Construct</span><a href="#isConstruct" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
196
|
+
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
|
197
|
+
<li class="tsd-signature tsd-anchor-link" id="isConstruct.isConstruct-1"><span class="tsd-kind-call-signature">is<wbr/>Construct</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type ">Construct</span><a href="#isConstruct.isConstruct-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
198
|
+
<li class="tsd-description">
|
|
199
|
+
<div class="tsd-comment tsd-typography"><p>Checks if <code>x</code> is a construct.</p>
|
|
200
|
+
<p>Use this method instead of <code>instanceof</code> to properly detect <code>Construct</code>
|
|
201
|
+
instances, even when the construct library is symlinked.</p>
|
|
202
|
+
<p>Explanation: in JavaScript, multiple copies of the <code>constructs</code> library on
|
|
203
|
+
disk are seen as independent, completely different libraries. As a
|
|
204
|
+
consequence, the class <code>Construct</code> in each copy of the <code>constructs</code> library
|
|
205
|
+
is seen as a different class, and an instance of one class will not test as
|
|
206
|
+
<code>instanceof</code> the other class. <code>npm install</code> will not create installations
|
|
207
|
+
like this, but users may manually symlink construct libraries together or
|
|
208
|
+
use a monorepo tool: in those cases, multiple copies of the <code>constructs</code>
|
|
209
|
+
library can be accidentally installed, and <code>instanceof</code> will behave
|
|
210
|
+
unpredictably. It is safest to avoid using <code>instanceof</code>, and using
|
|
211
|
+
this type-testing method instead.</p>
|
|
212
|
+
</div>
|
|
213
|
+
<div class="tsd-parameters">
|
|
214
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
215
|
+
<ul class="tsd-parameter-list">
|
|
216
|
+
<li>
|
|
217
|
+
<h5><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">any</span></h5>
|
|
218
|
+
<div class="tsd-comment tsd-typography"><p>Any object</p>
|
|
219
|
+
</div></li></ul></div>
|
|
220
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type ">Construct</span></h4><p>true if <code>x</code> is an object created from a class which extends <code>Construct</code>.</p>
|
|
221
|
+
|
|
222
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
|
|
223
|
+
<p>Inherited from pj.Component.isConstruct</p></aside></li></ul></section></section></div>
|
|
142
224
|
<div class="col-sidebar">
|
|
143
225
|
<div class="page-menu">
|
|
144
226
|
<div class="tsd-navigation settings">
|
|
@@ -159,6 +241,7 @@
|
|
|
159
241
|
<div class="tsd-accordion-details">
|
|
160
242
|
<ul>
|
|
161
243
|
<li><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-512"></use></svg><span>constructor</span></a></li>
|
|
244
|
+
<li><a href="#node" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>node</span></a></li>
|
|
162
245
|
<li><a href="#options" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>options</span></a></li>
|
|
163
246
|
<li><a href="#project" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>project</span></a></li>
|
|
164
247
|
<li><a href="#addRestResource" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>add<wbr/>Rest<wbr/>Resource</span></a></li>
|
|
@@ -166,7 +249,11 @@
|
|
|
166
249
|
<li><a href="#createEntryFile" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>create<wbr/>Entry<wbr/>File</span></a></li>
|
|
167
250
|
<li><a href="#postSynthesize" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>post<wbr/>Synthesize</span></a></li>
|
|
168
251
|
<li><a href="#preSynthesize" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>pre<wbr/>Synthesize</span></a></li>
|
|
169
|
-
<li><a href="#synthesize" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>synthesize</span></a></li
|
|
252
|
+
<li><a href="#synthesize" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>synthesize</span></a></li>
|
|
253
|
+
<li><a href="#toString" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>to<wbr/>String</span></a></li>
|
|
254
|
+
<li><a href="#validatePathRef" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>validate<wbr/>Path<wbr/>Ref</span></a></li>
|
|
255
|
+
<li><a href="#isComponent" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>is<wbr/>Component</span></a></li>
|
|
256
|
+
<li><a href="#isConstruct" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>is<wbr/>Construct</span></a></li></ul></div></details></div>
|
|
170
257
|
<div class="site-menu">
|
|
171
258
|
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>cdk-<wbr/>serverless</span></a>
|
|
172
259
|
<ul class="tsd-small-nested-navigation">
|