cdk-serverless 2.0.1 → 2.0.3
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/docs/constructs/assets/main.js +2 -2
- package/docs/constructs/assets/search.js +1 -1
- package/docs/constructs/assets/style.css +56 -29
- package/docs/constructs/classes/AssetCdn.html +3 -4
- package/docs/constructs/classes/BaseApi.html +3 -4
- package/docs/constructs/classes/CognitoAuthentication.html +3 -4
- package/docs/constructs/classes/LambdaFunction.html +12 -13
- package/docs/constructs/classes/RestApi.html +41 -10
- package/docs/constructs/classes/SingleTableDatastore.html +3 -4
- package/docs/constructs/classes/Workflow.html +3 -4
- package/docs/constructs/index.html +10 -10
- package/docs/constructs/interfaces/BaseApiProps.html +4 -4
- package/docs/constructs/interfaces/CognitoAuthenticationProps.html +2 -2
- package/docs/constructs/interfaces/LambdaFunctionProps.html +2 -2
- package/docs/constructs/interfaces/LambdaTracingOptions.html +1 -1
- package/docs/constructs/interfaces/RestApiProps.html +11 -11
- package/docs/constructs/interfaces/SingleTableDatastoreProps.html +1 -1
- package/docs/constructs/interfaces/SingleTableDesign.html +1 -1
- package/docs/lambda/assets/main.js +2 -2
- package/docs/lambda/assets/style.css +56 -29
- package/docs/lambda/functions/api.createAppSyncHandler.html +2 -2
- package/docs/lambda/functions/api.createHttpHandler.html +2 -2
- package/docs/lambda/functions/api.createOpenApiHandler.html +2 -2
- package/docs/lambda/functions/api.createOpenApiHandlerWithRequestBody.html +2 -2
- package/docs/lambda/functions/api.createOpenApiHandlerWithRequestBodyNoResponse.html +2 -2
- package/docs/lambda/index.html +10 -10
- package/docs/lambda/interfaces/api.AppSyncHandlerContext.html +2 -2
- package/docs/lambda/types/api.AppSyncHandler.html +2 -2
- package/docs/lambda/types/api.HttpHandler.html +2 -2
- package/docs/projen/assets/main.js +2 -2
- package/docs/projen/assets/style.css +56 -29
- package/docs/projen/classes/ServerlessProject.html +9 -13
- package/docs/projen/index.html +10 -10
- package/docs/projen/interfaces/ServerlessProjectOptions.html +126 -126
- package/lib/constructs/rest-api.d.ts +7 -0
- package/lib/constructs/rest-api.js +12 -1
- package/package.json +7 -7
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
--dark-color-text-aside: #dddddd;
|
|
52
52
|
--dark-color-link: #00aff4;
|
|
53
53
|
|
|
54
|
-
--dark-color-ts-project: #
|
|
54
|
+
--dark-color-ts-project: #e358ff;
|
|
55
55
|
--dark-color-ts-module: var(--dark-color-ts-project);
|
|
56
56
|
--dark-color-ts-namespace: var(--dark-color-ts-project);
|
|
57
57
|
--dark-color-ts-enum: #f4d93e;
|
|
58
58
|
--dark-color-ts-enum-member: var(--dark-color-ts-enum);
|
|
59
59
|
--dark-color-ts-variable: #798dff;
|
|
60
|
-
--dark-color-ts-function: #
|
|
60
|
+
--dark-color-ts-function: #a280ff;
|
|
61
61
|
--dark-color-ts-class: #8ac4ff;
|
|
62
62
|
--dark-color-ts-interface: #6cff87;
|
|
63
63
|
--dark-color-ts-constructor: var(--dark-color-ts-class);
|
|
@@ -262,6 +262,16 @@ h6 {
|
|
|
262
262
|
line-height: 1.2;
|
|
263
263
|
}
|
|
264
264
|
|
|
265
|
+
h1 > a,
|
|
266
|
+
h2 > a,
|
|
267
|
+
h3 > a,
|
|
268
|
+
h4 > a,
|
|
269
|
+
h5 > a,
|
|
270
|
+
h6 > a {
|
|
271
|
+
text-decoration: none;
|
|
272
|
+
color: var(--color-text);
|
|
273
|
+
}
|
|
274
|
+
|
|
265
275
|
h1 {
|
|
266
276
|
font-size: 1.875rem;
|
|
267
277
|
margin: 0.67rem 0;
|
|
@@ -296,12 +306,6 @@ h6 {
|
|
|
296
306
|
text-transform: uppercase;
|
|
297
307
|
}
|
|
298
308
|
|
|
299
|
-
pre {
|
|
300
|
-
white-space: pre;
|
|
301
|
-
white-space: pre-wrap;
|
|
302
|
-
word-wrap: break-word;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
309
|
dl,
|
|
306
310
|
menu,
|
|
307
311
|
ol,
|
|
@@ -426,13 +430,29 @@ pre {
|
|
|
426
430
|
}
|
|
427
431
|
|
|
428
432
|
pre {
|
|
433
|
+
position: relative;
|
|
434
|
+
white-space: pre;
|
|
435
|
+
white-space: pre-wrap;
|
|
436
|
+
word-wrap: break-word;
|
|
429
437
|
padding: 10px;
|
|
430
|
-
border:
|
|
438
|
+
border: 1px solid var(--color-accent);
|
|
431
439
|
}
|
|
432
440
|
pre code {
|
|
433
441
|
padding: 0;
|
|
434
442
|
font-size: 100%;
|
|
435
443
|
}
|
|
444
|
+
pre > button {
|
|
445
|
+
position: absolute;
|
|
446
|
+
top: 10px;
|
|
447
|
+
right: 10px;
|
|
448
|
+
opacity: 0;
|
|
449
|
+
transition: opacity 0.1s;
|
|
450
|
+
box-sizing: border-box;
|
|
451
|
+
}
|
|
452
|
+
pre:hover > button,
|
|
453
|
+
pre > button.visible {
|
|
454
|
+
opacity: 1;
|
|
455
|
+
}
|
|
436
456
|
|
|
437
457
|
blockquote {
|
|
438
458
|
margin: 1em 0;
|
|
@@ -676,7 +696,12 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
|
|
|
676
696
|
.tsd-navigation.settings {
|
|
677
697
|
margin: 1rem 0;
|
|
678
698
|
}
|
|
699
|
+
.tsd-navigation > a,
|
|
700
|
+
.tsd-navigation .tsd-accordion-summary {
|
|
701
|
+
width: calc(100% - 0.5rem);
|
|
702
|
+
}
|
|
679
703
|
.tsd-navigation a,
|
|
704
|
+
.tsd-navigation summary > span,
|
|
680
705
|
.tsd-page-navigation a {
|
|
681
706
|
display: inline-flex;
|
|
682
707
|
align-items: center;
|
|
@@ -685,14 +710,6 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
|
|
|
685
710
|
text-decoration: none;
|
|
686
711
|
box-sizing: border-box;
|
|
687
712
|
}
|
|
688
|
-
.tsd-navigation a {
|
|
689
|
-
/* why 3rem? No idea, but it seems to work. */
|
|
690
|
-
width: calc(100% - 3rem);
|
|
691
|
-
}
|
|
692
|
-
.tsd-page-navigation a {
|
|
693
|
-
/* why is this different? */
|
|
694
|
-
width: 100%;
|
|
695
|
-
}
|
|
696
713
|
.tsd-navigation a.current,
|
|
697
714
|
.tsd-page-navigation a.current {
|
|
698
715
|
background: var(--color-active-menu-item);
|
|
@@ -703,7 +720,8 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
|
|
|
703
720
|
}
|
|
704
721
|
.tsd-navigation ul,
|
|
705
722
|
.tsd-page-navigation ul {
|
|
706
|
-
margin: 0;
|
|
723
|
+
margin-top: 0;
|
|
724
|
+
margin-bottom: 0;
|
|
707
725
|
padding: 0;
|
|
708
726
|
list-style: none;
|
|
709
727
|
}
|
|
@@ -712,18 +730,24 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
|
|
|
712
730
|
padding: 0;
|
|
713
731
|
max-width: 100%;
|
|
714
732
|
}
|
|
715
|
-
.tsd-nested-navigation
|
|
733
|
+
.tsd-nested-navigation {
|
|
716
734
|
margin-left: 3rem;
|
|
717
735
|
}
|
|
718
736
|
.tsd-nested-navigation > li > details {
|
|
719
|
-
margin-left: 1.5rem;
|
|
737
|
+
margin-left: -1.5rem;
|
|
720
738
|
}
|
|
721
|
-
.tsd-small-nested-navigation
|
|
739
|
+
.tsd-small-nested-navigation {
|
|
722
740
|
margin-left: 1.5rem;
|
|
723
741
|
}
|
|
724
742
|
.tsd-small-nested-navigation > li > details {
|
|
725
|
-
margin-left:
|
|
743
|
+
margin-left: -1.5rem;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
.tsd-nested-navigation > li > a,
|
|
747
|
+
.tsd-nested-navigation > li > span {
|
|
748
|
+
width: calc(100% - 1.75rem - 0.5rem);
|
|
726
749
|
}
|
|
750
|
+
|
|
727
751
|
.tsd-page-navigation ul {
|
|
728
752
|
padding-left: 1.75rem;
|
|
729
753
|
}
|
|
@@ -745,6 +769,11 @@ a.tsd-index-link {
|
|
|
745
769
|
align-items: center;
|
|
746
770
|
color: var(--color-text);
|
|
747
771
|
}
|
|
772
|
+
.tsd-accordion-summary {
|
|
773
|
+
list-style-type: none;
|
|
774
|
+
display: flex;
|
|
775
|
+
align-items: center;
|
|
776
|
+
}
|
|
748
777
|
.tsd-accordion-summary,
|
|
749
778
|
.tsd-accordion-summary a {
|
|
750
779
|
user-select: none;
|
|
@@ -752,21 +781,19 @@ a.tsd-index-link {
|
|
|
752
781
|
-webkit-user-select: none;
|
|
753
782
|
-ms-user-select: none;
|
|
754
783
|
|
|
755
|
-
display: flex;
|
|
756
|
-
align-items: center;
|
|
757
784
|
cursor: pointer;
|
|
758
785
|
}
|
|
786
|
+
.tsd-accordion-summary a {
|
|
787
|
+
flex-grow: 1;
|
|
788
|
+
}
|
|
759
789
|
.tsd-accordion-summary > * {
|
|
760
790
|
margin-top: 0;
|
|
761
791
|
margin-bottom: 0;
|
|
762
792
|
padding-top: 0;
|
|
763
793
|
padding-bottom: 0;
|
|
764
794
|
}
|
|
765
|
-
.tsd-accordion-summary
|
|
766
|
-
|
|
767
|
-
}
|
|
768
|
-
.tsd-index-accordion .tsd-accordion-summary svg {
|
|
769
|
-
margin-right: 0.25rem;
|
|
795
|
+
.tsd-index-accordion .tsd-accordion-summary > svg {
|
|
796
|
+
margin-left: 0.25rem;
|
|
770
797
|
}
|
|
771
798
|
.tsd-index-content > :not(:first-child) {
|
|
772
799
|
margin-top: 0.75rem;
|
|
@@ -952,8 +952,6 @@ repository statistics and language breakdown.</p>
|
|
|
952
952
|
<li class="tsd-signature tsd-anchor-link" id="removeTask.removeTask-1"><span class="tsd-kind-call-signature">remove<wbr/>Task</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">Task</span><a href="#removeTask.removeTask-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
953
953
|
<li class="tsd-description">
|
|
954
954
|
<div class="tsd-comment tsd-typography"><p>Removes a task from a project.</p>
|
|
955
|
-
|
|
956
|
-
<h3>Returns</h3><p>The <code>Task</code> that was removed, otherwise <code>undefined</code>.</p>
|
|
957
955
|
</div>
|
|
958
956
|
<div class="tsd-parameters">
|
|
959
957
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -962,7 +960,8 @@ repository statistics and language breakdown.</p>
|
|
|
962
960
|
<h5><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></h5>
|
|
963
961
|
<div class="tsd-comment tsd-typography"><p>The name of the task to remove.</p>
|
|
964
962
|
</div></li></ul></div>
|
|
965
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">Task</span></h4><
|
|
963
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">Task</span></h4><p>The <code>Task</code> that was removed, otherwise <code>undefined</code>.</p>
|
|
964
|
+
<aside class="tsd-sources">
|
|
966
965
|
<p>Inherited from pj.awscdk.AwsCdkTypeScriptApp.removeTask</p></aside></li></ul></section>
|
|
967
966
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="renderWorkflowSetup" class="tsd-anchor"></a>
|
|
968
967
|
<h3 class="tsd-anchor-link"><span>render<wbr/>Workflow<wbr/>Setup</span><a href="#renderWorkflowSetup" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
@@ -971,8 +970,6 @@ repository statistics and language breakdown.</p>
|
|
|
971
970
|
<li class="tsd-description">
|
|
972
971
|
<div class="tsd-comment tsd-typography"><p>Returns the set of workflow steps which should be executed to bootstrap a
|
|
973
972
|
workflow.</p>
|
|
974
|
-
|
|
975
|
-
<h3>Returns</h3><p>Job steps</p>
|
|
976
973
|
</div>
|
|
977
974
|
<div class="tsd-parameters">
|
|
978
975
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -981,7 +978,8 @@ workflow.</p>
|
|
|
981
978
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type ">RenderWorkflowSetupOptions</span></h5>
|
|
982
979
|
<div class="tsd-comment tsd-typography"><p>Options.</p>
|
|
983
980
|
</div></li></ul></div>
|
|
984
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">JobStep</span><span class="tsd-signature-symbol">[]</span></h4><
|
|
981
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">JobStep</span><span class="tsd-signature-symbol">[]</span></h4><p>Job steps</p>
|
|
982
|
+
<aside class="tsd-sources">
|
|
985
983
|
<p>Inherited from pj.awscdk.AwsCdkTypeScriptApp.renderWorkflowSetup</p></aside></li></ul></section>
|
|
986
984
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="runTaskCommand" class="tsd-anchor"></a>
|
|
987
985
|
<h3 class="tsd-anchor-link"><span>run<wbr/>Task<wbr/>Command</span><a href="#runTaskCommand" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
@@ -1044,8 +1042,6 @@ typically be <code>npx projen TASK</code>.</p>
|
|
|
1044
1042
|
<li class="tsd-description">
|
|
1045
1043
|
<div class="tsd-comment tsd-typography"><p>Finds a file at the specified relative path within this project and all
|
|
1046
1044
|
its subprojects.</p>
|
|
1047
|
-
|
|
1048
|
-
<h3>Returns</h3><p>a <code>FileBase</code> or undefined if there is no file in that path</p>
|
|
1049
1045
|
</div>
|
|
1050
1046
|
<div class="tsd-parameters">
|
|
1051
1047
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -1055,7 +1051,8 @@ its subprojects.</p>
|
|
|
1055
1051
|
<div class="tsd-comment tsd-typography"><p>The file path. If this path is relative, it will be resolved
|
|
1056
1052
|
from the root of <em>this</em> project.</p>
|
|
1057
1053
|
</div></li></ul></div>
|
|
1058
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">FileBase</span></h4><
|
|
1054
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">FileBase</span></h4><p>a <code>FileBase</code> or undefined if there is no file in that path</p>
|
|
1055
|
+
<aside class="tsd-sources">
|
|
1059
1056
|
<p>Inherited from pj.awscdk.AwsCdkTypeScriptApp.tryFindFile</p></aside></li></ul></section>
|
|
1060
1057
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="tryFindJsonFile" class="tsd-anchor"></a>
|
|
1061
1058
|
<h3 class="tsd-anchor-link"><span>try<wbr/>Find<wbr/>Json<wbr/>File</span><a href="#tryFindJsonFile" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
@@ -1098,9 +1095,6 @@ from the root of <em>this</em> project.</p>
|
|
|
1098
1095
|
<li class="tsd-description">
|
|
1099
1096
|
<div class="tsd-comment tsd-typography"><p>Finds a file at the specified relative path within this project and removes
|
|
1100
1097
|
it.</p>
|
|
1101
|
-
|
|
1102
|
-
<h3>Returns</h3><p>a <code>FileBase</code> if the file was found and removed, or undefined if
|
|
1103
|
-
the file was not found.</p>
|
|
1104
1098
|
</div>
|
|
1105
1099
|
<div class="tsd-parameters">
|
|
1106
1100
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -1110,7 +1104,9 @@ the file was not found.</p>
|
|
|
1110
1104
|
<div class="tsd-comment tsd-typography"><p>The file path. If this path is relative, it will be
|
|
1111
1105
|
resolved from the root of <em>this</em> project.</p>
|
|
1112
1106
|
</div></li></ul></div>
|
|
1113
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">FileBase</span></h4><
|
|
1107
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">FileBase</span></h4><p>a <code>FileBase</code> if the file was found and removed, or undefined if
|
|
1108
|
+
the file was not found.</p>
|
|
1109
|
+
<aside class="tsd-sources">
|
|
1114
1110
|
<p>Inherited from pj.awscdk.AwsCdkTypeScriptApp.tryRemoveFile</p></aside></li></ul></section></section></div>
|
|
1115
1111
|
<div class="col-sidebar">
|
|
1116
1112
|
<div class="page-menu">
|
package/docs/projen/index.html
CHANGED
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
<div class="col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<h2>cdk-serverless</h2></div>
|
|
15
|
-
<div class="tsd-panel tsd-typography"><a id="md:cdk-serverless" class="tsd-anchor"></a><h1><a href="
|
|
15
|
+
<div class="tsd-panel tsd-typography"><a id="md:cdk-serverless" class="tsd-anchor"></a><h1><a href="#md:cdk-serverless">CDK Serverless</a></h1><p><a href="https://badge.fury.io/js/cdk-serverless"><img src="https://badge.fury.io/js/cdk-serverless.svg" alt="npm version"></a></p>
|
|
16
16
|
<p>CDK Serverless is a tool suite to facilitate the use of the AWS Cloud Development Kit (CDK) in serverless architectures. It provides project management features to configure your TypeScript CDK app and also higher-level (L3) constructs for different APIs and resources needed for serverless applications. Additionally, it leverages utility libraries to write Lambda functions and do live updates to Lambda function code during development.</p>
|
|
17
|
-
<a id="md:features" class="tsd-anchor"></a><h3><a href="
|
|
17
|
+
<a id="md:features" class="tsd-anchor"></a><h3><a href="#md:features">Features</a></h3><ul>
|
|
18
18
|
<li>Projen helper classes to configure certain use cases easily</li>
|
|
19
19
|
<li>AWS CDK L3-construct for RestApi and GraphQlApi</li>
|
|
20
20
|
<li>Zero-config for Lambda functions and VTL templates</li>
|
|
@@ -25,37 +25,37 @@
|
|
|
25
25
|
<li>Fully typed auto-completion for routes, resolvers, etc.</li>
|
|
26
26
|
</ul>
|
|
27
27
|
<p>Video about the idea behind it: <a href="https://www.youtube.com/watch?v=k5L8U39_16k">https://www.youtube.com/watch?v=k5L8U39_16k</a></p>
|
|
28
|
-
<a id="md:quick-start" class="tsd-anchor"></a><h2><a href="
|
|
28
|
+
<a id="md:quick-start" class="tsd-anchor"></a><h2><a href="#md:quick-start">Quick Start</a></h2><p>To start a new project we recommend using projen. To use CDK Serverless you can create any projen CDK Typescript app and then add the appropriate aspect provided by this toolkit.</p>
|
|
29
29
|
<pre><code class="language-bash"><span class="hl-0">$ </span><span class="hl-1">npx</span><span class="hl-0"> </span><span class="hl-1">projen</span><span class="hl-0"> </span><span class="hl-1">new</span><span class="hl-0"> </span><span class="hl-1">awscdk-app-ts</span>
|
|
30
|
-
</code></pre>
|
|
30
|
+
</code><button>Copy</button></pre>
|
|
31
31
|
<p>Adding CDK Serverless is a two step process:</p>
|
|
32
32
|
<ol>
|
|
33
33
|
<li>Add 'cdk-serverless' as a dependency to your project</li>
|
|
34
34
|
<li>Run <code>npx projen</code> to install it</li>
|
|
35
35
|
</ol>
|
|
36
|
-
<a id="md:contribute" class="tsd-anchor"></a><h2><a href="
|
|
36
|
+
<a id="md:contribute" class="tsd-anchor"></a><h2><a href="#md:contribute">Contribute</a></h2><a id="md:how-to-contribute-to-cdk-serverless" class="tsd-anchor"></a><h3><a href="#md:how-to-contribute-to-cdk-serverless">How to contribute to CDK Serverless</a></h3><a id="md:did-you-find-a-bug" class="tsd-anchor"></a><h4><a href="#md:did-you-find-a-bug"><strong>Did you find a bug?</strong></a></h4><ul>
|
|
37
37
|
<li><p><strong>Ensure the bug was not already reported</strong> by searching on GitHub under <a href="https://github.com/taimos/cdk-serverless/issues">Issues</a>.</p>
|
|
38
38
|
</li>
|
|
39
39
|
<li><p>If you're unable to find an open issue addressing the problem, <a href="https://github.com/taimos/cdk-serverless/issues/new">open a new one</a>. Be sure to include a <strong>title and clear description</strong>, as much relevant information as possible, and a <strong>code sample</strong> or an <strong>executable test case</strong> demonstrating the expected behavior that is not occurring.</p>
|
|
40
40
|
</li>
|
|
41
41
|
</ul>
|
|
42
|
-
<a id="md:did-you-write-a-patch-that-fixes-a-bug" class="tsd-anchor"></a><h4><a href="
|
|
42
|
+
<a id="md:did-you-write-a-patch-that-fixes-a-bug" class="tsd-anchor"></a><h4><a href="#md:did-you-write-a-patch-that-fixes-a-bug"><strong>Did you write a patch that fixes a bug?</strong></a></h4><ul>
|
|
43
43
|
<li><p>Open a new GitHub pull request with the patch.</p>
|
|
44
44
|
</li>
|
|
45
45
|
<li><p>Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.</p>
|
|
46
46
|
</li>
|
|
47
47
|
</ul>
|
|
48
|
-
<a id="md:did-you-fix-whitespace-format-code-or-make-a-purely-cosmetic-patch" class="tsd-anchor"></a><h4><a href="
|
|
49
|
-
<a id="md:do-you-intend-to-add-a-new-feature-or-change-an-existing-one" class="tsd-anchor"></a><h4><a href="
|
|
48
|
+
<a id="md:did-you-fix-whitespace-format-code-or-make-a-purely-cosmetic-patch" class="tsd-anchor"></a><h4><a href="#md:did-you-fix-whitespace-format-code-or-make-a-purely-cosmetic-patch"><strong>Did you fix whitespace, format code, or make a purely cosmetic patch?</strong></a></h4><p>Changes that are cosmetic in nature and do not add anything substantial to the stability, functionality, or testability will normally not be accepted.</p>
|
|
49
|
+
<a id="md:do-you-intend-to-add-a-new-feature-or-change-an-existing-one" class="tsd-anchor"></a><h4><a href="#md:do-you-intend-to-add-a-new-feature-or-change-an-existing-one"><strong>Do you intend to add a new feature or change an existing one?</strong></a></h4><ul>
|
|
50
50
|
<li><p>Suggest your change under <a href="https://github.com/taimos/cdk-serverless/issues">Issues</a>.</p>
|
|
51
51
|
</li>
|
|
52
52
|
<li><p>Do not open a pull request on GitHub until you have collected positive feedback about the change.</p>
|
|
53
53
|
</li>
|
|
54
54
|
</ul>
|
|
55
|
-
<a id="md:do-you-want-to-contribute-to-the-cdk-serverless-documentation" class="tsd-anchor"></a><h4><a href="
|
|
55
|
+
<a id="md:do-you-want-to-contribute-to-the-cdk-serverless-documentation" class="tsd-anchor"></a><h4><a href="#md:do-you-want-to-contribute-to-the-cdk-serverless-documentation"><strong>Do you want to contribute to the CDK Serverless documentation?</strong></a></h4><ul>
|
|
56
56
|
<li>Just file a PR with your recommended changes</li>
|
|
57
57
|
</ul>
|
|
58
|
-
<a id="md:authors" class="tsd-anchor"></a><h2><a href="
|
|
58
|
+
<a id="md:authors" class="tsd-anchor"></a><h2><a href="#md:authors">Authors</a></h2><p>Brought to you by <a href="https://taimos.de">Taimos</a></p>
|
|
59
59
|
</div></div>
|
|
60
60
|
<div class="col-sidebar">
|
|
61
61
|
<div class="page-menu">
|