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;
|
|
@@ -95,12 +95,10 @@
|
|
|
95
95
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="isConstruct" class="tsd-anchor"></a>
|
|
96
96
|
<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 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>
|
|
97
97
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
|
98
|
-
<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-
|
|
98
|
+
<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 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>
|
|
99
99
|
<li class="tsd-description">
|
|
100
100
|
<div class="tsd-comment tsd-typography"><p>(deprecated) Checks if <code>x</code> is a construct.</p>
|
|
101
101
|
|
|
102
|
-
<h3>Returns</h3><p>true if <code>x</code> is an object created from a class which extends <code>Construct</code>.</p>
|
|
103
|
-
|
|
104
102
|
<h3>Deprecated</h3><p>use <code>x instanceof Construct</code> instead</p>
|
|
105
103
|
</div>
|
|
106
104
|
<div class="tsd-parameters">
|
|
@@ -110,7 +108,8 @@
|
|
|
110
108
|
<h5><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">any</span></h5>
|
|
111
109
|
<div class="tsd-comment tsd-typography"><p>Any object.</p>
|
|
112
110
|
</div></li></ul></div>
|
|
113
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-
|
|
111
|
+
<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>
|
|
112
|
+
<aside class="tsd-sources">
|
|
114
113
|
<p>Inherited from Construct.isConstruct</p></aside></li></ul></section></section></div>
|
|
115
114
|
<div class="col-sidebar">
|
|
116
115
|
<div class="page-menu">
|
|
@@ -85,12 +85,10 @@
|
|
|
85
85
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="isConstruct" class="tsd-anchor"></a>
|
|
86
86
|
<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 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>
|
|
87
87
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
|
88
|
-
<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-
|
|
88
|
+
<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 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>
|
|
89
89
|
<li class="tsd-description">
|
|
90
90
|
<div class="tsd-comment tsd-typography"><p>(deprecated) Checks if <code>x</code> is a construct.</p>
|
|
91
91
|
|
|
92
|
-
<h3>Returns</h3><p>true if <code>x</code> is an object created from a class which extends <code>Construct</code>.</p>
|
|
93
|
-
|
|
94
92
|
<h3>Deprecated</h3><p>use <code>x instanceof Construct</code> instead</p>
|
|
95
93
|
</div>
|
|
96
94
|
<div class="tsd-parameters">
|
|
@@ -100,7 +98,8 @@
|
|
|
100
98
|
<h5><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">any</span></h5>
|
|
101
99
|
<div class="tsd-comment tsd-typography"><p>Any object.</p>
|
|
102
100
|
</div></li></ul></div>
|
|
103
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-
|
|
101
|
+
<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>
|
|
102
|
+
<aside class="tsd-sources">
|
|
104
103
|
<p>Inherited from Construct.isConstruct</p></aside></li></ul></section></section></div>
|
|
105
104
|
<div class="col-sidebar">
|
|
106
105
|
<div class="page-menu">
|
|
@@ -102,12 +102,10 @@
|
|
|
102
102
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="isConstruct" class="tsd-anchor"></a>
|
|
103
103
|
<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 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>
|
|
104
104
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
|
105
|
-
<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-
|
|
105
|
+
<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 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>
|
|
106
106
|
<li class="tsd-description">
|
|
107
107
|
<div class="tsd-comment tsd-typography"><p>(deprecated) Checks if <code>x</code> is a construct.</p>
|
|
108
108
|
|
|
109
|
-
<h3>Returns</h3><p>true if <code>x</code> is an object created from a class which extends <code>Construct</code>.</p>
|
|
110
|
-
|
|
111
109
|
<h3>Deprecated</h3><p>use <code>x instanceof Construct</code> instead</p>
|
|
112
110
|
</div>
|
|
113
111
|
<div class="tsd-parameters">
|
|
@@ -117,7 +115,8 @@
|
|
|
117
115
|
<h5><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">any</span></h5>
|
|
118
116
|
<div class="tsd-comment tsd-typography"><p>Any object.</p>
|
|
119
117
|
</div></li></ul></div>
|
|
120
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-
|
|
118
|
+
<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>
|
|
119
|
+
<aside class="tsd-sources">
|
|
121
120
|
<p>Inherited from Construct.isConstruct</p></aside></li></ul></section></section></div>
|
|
122
121
|
<div class="col-sidebar">
|
|
123
122
|
<div class="page-menu">
|
|
@@ -296,7 +296,7 @@ to never expire even if it was configured with a different value.</p>
|
|
|
296
296
|
<p>The alias will automatically be updated to point to the latest version of
|
|
297
297
|
the function as it is being updated during a deployment.</p>
|
|
298
298
|
<pre><code class="language-ts"><span class="hl-2">declare</span><span class="hl-0"> </span><span class="hl-2">const</span><span class="hl-0"> </span><span class="hl-3">fn</span><span class="hl-0">: </span><span class="hl-4">lambda</span><span class="hl-0">.</span><span class="hl-4">Function</span><span class="hl-0">;</span><br/><br/><span class="hl-5">fn</span><span class="hl-0">.</span><span class="hl-6">addAlias</span><span class="hl-0">(</span><span class="hl-1">'Live'</span><span class="hl-0">);</span><br/><br/><span class="hl-7">// Is equivalent to</span><br/><br/><span class="hl-2">new</span><span class="hl-0"> </span><span class="hl-5">lambda</span><span class="hl-0">.</span><span class="hl-6">Alias</span><span class="hl-0">(</span><span class="hl-2">this</span><span class="hl-0">, </span><span class="hl-1">'AliasLive'</span><span class="hl-0">, {</span><br/><span class="hl-0"> </span><span class="hl-5">aliasName:</span><span class="hl-0"> </span><span class="hl-1">'Live'</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-5">version:</span><span class="hl-0"> </span><span class="hl-5">fn</span><span class="hl-0">.</span><span class="hl-5">currentVersion</span><span class="hl-0">,</span><br/><span class="hl-0">});</span>
|
|
299
|
-
</code></pre>
|
|
299
|
+
</code><button>Copy</button></pre>
|
|
300
300
|
</div>
|
|
301
301
|
<div class="tsd-parameters">
|
|
302
302
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -823,12 +823,10 @@ within this stack.</p>
|
|
|
823
823
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="isConstruct" class="tsd-anchor"></a>
|
|
824
824
|
<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 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>
|
|
825
825
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
|
826
|
-
<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-
|
|
826
|
+
<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 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>
|
|
827
827
|
<li class="tsd-description">
|
|
828
828
|
<div class="tsd-comment tsd-typography"><p>(deprecated) Checks if <code>x</code> is a construct.</p>
|
|
829
829
|
|
|
830
|
-
<h3>Returns</h3><p>true if <code>x</code> is an object created from a class which extends <code>Construct</code>.</p>
|
|
831
|
-
|
|
832
830
|
<h3>Deprecated</h3><p>use <code>x instanceof Construct</code> instead</p>
|
|
833
831
|
</div>
|
|
834
832
|
<div class="tsd-parameters">
|
|
@@ -838,7 +836,8 @@ within this stack.</p>
|
|
|
838
836
|
<h5><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">any</span></h5>
|
|
839
837
|
<div class="tsd-comment tsd-typography"><p>Any object.</p>
|
|
840
838
|
</div></li></ul></div>
|
|
841
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-
|
|
839
|
+
<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>
|
|
840
|
+
<aside class="tsd-sources">
|
|
842
841
|
<p>Inherited from lambdaNodejs.NodejsFunction.isConstruct</p></aside></li></ul></section>
|
|
843
842
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="isOwnedResource" class="tsd-anchor"></a>
|
|
844
843
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>is<wbr/>Owned<wbr/>Resource</span><a href="#isOwnedResource" 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>
|
|
@@ -857,7 +856,7 @@ within this stack.</p>
|
|
|
857
856
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="isResource" class="tsd-anchor"></a>
|
|
858
857
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>is<wbr/>Resource</span><a href="#isResource" 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>
|
|
859
858
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
|
860
|
-
<li class="tsd-signature tsd-anchor-link" id="isResource.isResource-1"><span class="tsd-kind-call-signature">is<wbr/>Resource</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">construct</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-
|
|
859
|
+
<li class="tsd-signature tsd-anchor-link" id="isResource.isResource-1"><span class="tsd-kind-call-signature">is<wbr/>Resource</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">construct</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-kind-parameter">construct</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type ">Resource</span><a href="#isResource.isResource-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>
|
|
861
860
|
<li class="tsd-description">
|
|
862
861
|
<div class="tsd-comment tsd-typography"><p>Check whether the given construct is a Resource</p>
|
|
863
862
|
</div>
|
|
@@ -866,7 +865,7 @@ within this stack.</p>
|
|
|
866
865
|
<ul class="tsd-parameter-list">
|
|
867
866
|
<li>
|
|
868
867
|
<h5><span class="tsd-kind-parameter">construct</span>: <span class="tsd-signature-type ">IConstruct</span></h5></li></ul></div>
|
|
869
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-
|
|
868
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-kind-parameter">construct</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type ">Resource</span></h4><aside class="tsd-sources">
|
|
870
869
|
<p>Inherited from lambdaNodejs.NodejsFunction.isResource</p></aside></li></ul></section>
|
|
871
870
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="metricAll" class="tsd-anchor"></a>
|
|
872
871
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>metric<wbr/>All</span><a href="#metricAll" 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>
|
|
@@ -892,7 +891,7 @@ within this stack.</p>
|
|
|
892
891
|
<div class="tsd-comment tsd-typography"><p>Metric for the number of concurrent executions across all Lambdas</p>
|
|
893
892
|
|
|
894
893
|
<h3>Default</h3><pre><code class="language-ts"><span class="hl-5">max</span><span class="hl-0"> </span><span class="hl-5">over</span><span class="hl-0"> </span><span class="hl-8">5</span><span class="hl-0"> </span><span class="hl-5">minutes</span>
|
|
895
|
-
</code></pre>
|
|
894
|
+
</code><button>Copy</button></pre>
|
|
896
895
|
</div>
|
|
897
896
|
<div class="tsd-parameters">
|
|
898
897
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -909,7 +908,7 @@ within this stack.</p>
|
|
|
909
908
|
<div class="tsd-comment tsd-typography"><p>Metric for the Duration executing all Lambdas</p>
|
|
910
909
|
|
|
911
910
|
<h3>Default</h3><pre><code class="language-ts"><span class="hl-5">average</span><span class="hl-0"> </span><span class="hl-5">over</span><span class="hl-0"> </span><span class="hl-8">5</span><span class="hl-0"> </span><span class="hl-5">minutes</span>
|
|
912
|
-
</code></pre>
|
|
911
|
+
</code><button>Copy</button></pre>
|
|
913
912
|
</div>
|
|
914
913
|
<div class="tsd-parameters">
|
|
915
914
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -926,7 +925,7 @@ within this stack.</p>
|
|
|
926
925
|
<div class="tsd-comment tsd-typography"><p>Metric for the number of Errors executing all Lambdas</p>
|
|
927
926
|
|
|
928
927
|
<h3>Default</h3><pre><code class="language-ts"><span class="hl-5">sum</span><span class="hl-0"> </span><span class="hl-5">over</span><span class="hl-0"> </span><span class="hl-8">5</span><span class="hl-0"> </span><span class="hl-5">minutes</span>
|
|
929
|
-
</code></pre>
|
|
928
|
+
</code><button>Copy</button></pre>
|
|
930
929
|
</div>
|
|
931
930
|
<div class="tsd-parameters">
|
|
932
931
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -943,7 +942,7 @@ within this stack.</p>
|
|
|
943
942
|
<div class="tsd-comment tsd-typography"><p>Metric for the number of invocations of all Lambdas</p>
|
|
944
943
|
|
|
945
944
|
<h3>Default</h3><pre><code class="language-ts"><span class="hl-5">sum</span><span class="hl-0"> </span><span class="hl-5">over</span><span class="hl-0"> </span><span class="hl-8">5</span><span class="hl-0"> </span><span class="hl-5">minutes</span>
|
|
946
|
-
</code></pre>
|
|
945
|
+
</code><button>Copy</button></pre>
|
|
947
946
|
</div>
|
|
948
947
|
<div class="tsd-parameters">
|
|
949
948
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -960,7 +959,7 @@ within this stack.</p>
|
|
|
960
959
|
<div class="tsd-comment tsd-typography"><p>Metric for the number of throttled invocations of all Lambdas</p>
|
|
961
960
|
|
|
962
961
|
<h3>Default</h3><pre><code class="language-ts"><span class="hl-5">sum</span><span class="hl-0"> </span><span class="hl-5">over</span><span class="hl-0"> </span><span class="hl-8">5</span><span class="hl-0"> </span><span class="hl-5">minutes</span>
|
|
963
|
-
</code></pre>
|
|
962
|
+
</code><button>Copy</button></pre>
|
|
964
963
|
</div>
|
|
965
964
|
<div class="tsd-parameters">
|
|
966
965
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -977,7 +976,7 @@ within this stack.</p>
|
|
|
977
976
|
<div class="tsd-comment tsd-typography"><p>Metric for the number of unreserved concurrent executions across all Lambdas</p>
|
|
978
977
|
|
|
979
978
|
<h3>Default</h3><pre><code class="language-ts"><span class="hl-5">max</span><span class="hl-0"> </span><span class="hl-5">over</span><span class="hl-0"> </span><span class="hl-8">5</span><span class="hl-0"> </span><span class="hl-5">minutes</span>
|
|
980
|
-
</code></pre>
|
|
979
|
+
</code><button>Copy</button></pre>
|
|
981
980
|
</div>
|
|
982
981
|
<div class="tsd-parameters">
|
|
983
982
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
<li><a href="../modules.html">cdk-serverless</a></li>
|
|
16
16
|
<li><a href="RestApi.html">RestApi</a></li></ul>
|
|
17
17
|
<h1>Class RestApi<PATHS, OPS></h1></div>
|
|
18
|
-
<section class="tsd-panel
|
|
18
|
+
<section class="tsd-panel">
|
|
19
19
|
<h4>Type Parameters</h4>
|
|
20
|
-
<ul class="tsd-type-
|
|
20
|
+
<ul class="tsd-type-parameter-list">
|
|
21
21
|
<li>
|
|
22
22
|
<h4><span class="tsd-kind-type-parameter">PATHS</span></h4></li>
|
|
23
23
|
<li>
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
<a href="RestApi.html#cleanupSpec" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>cleanup<wbr/>Spec</span></a>
|
|
53
53
|
<a href="RestApi.html#getFunctionForOperation" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Function<wbr/>For<wbr/>Operation</span></a>
|
|
54
54
|
<a href="RestApi.html#getFunctions" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Functions</span></a>
|
|
55
|
+
<a href="RestApi.html#modifyOperationFunctions" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>modify<wbr/>Operation<wbr/>Functions</span></a>
|
|
55
56
|
<a href="RestApi.html#patchSecurity" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>patch<wbr/>Security</span></a>
|
|
56
57
|
<a href="RestApi.html#tableWriteAccessForMethod" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>table<wbr/>Write<wbr/>Access<wbr/>For<wbr/>Method</span></a>
|
|
57
58
|
<a href="RestApi.html#toString" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>to<wbr/>String</span></a>
|
|
@@ -64,9 +65,9 @@
|
|
|
64
65
|
<ul class="tsd-signatures">
|
|
65
66
|
<li class="tsd-signature tsd-anchor-link" id="constructor.new_RestApi"><span class="tsd-kind-constructor-signature">new <wbr/>Rest<wbr/>Api</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">PATHS</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">OPS</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">scope</span>, <span class="tsd-kind-parameter">id</span>, <span class="tsd-kind-parameter">props</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="RestApi.html" class="tsd-signature-type tsd-kind-class">RestApi</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">PATHS</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">OPS</span><span class="tsd-signature-symbol">></span><a href="#constructor.new_RestApi" 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>
|
|
66
67
|
<li class="tsd-description">
|
|
67
|
-
<section class="tsd-panel
|
|
68
|
+
<section class="tsd-panel">
|
|
68
69
|
<h4>Type Parameters</h4>
|
|
69
|
-
<ul class="tsd-type-
|
|
70
|
+
<ul class="tsd-type-parameter-list">
|
|
70
71
|
<li>
|
|
71
72
|
<h4><span class="tsd-kind-type-parameter">PATHS</span></h4></li>
|
|
72
73
|
<li>
|
|
@@ -133,9 +134,9 @@
|
|
|
133
134
|
<ul class="tsd-signatures">
|
|
134
135
|
<li class="tsd-signature tsd-anchor-link" id="addRestResource.addRestResource-1"><span class="tsd-kind-call-signature">add<wbr/>Rest<wbr/>Resource</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">P</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">path</span>, <span class="tsd-kind-parameter">method</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><a href="LambdaFunction.html" class="tsd-signature-type tsd-kind-class">LambdaFunction</a><a href="#addRestResource.addRestResource-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>
|
|
135
136
|
<li class="tsd-description">
|
|
136
|
-
<section class="tsd-panel
|
|
137
|
+
<section class="tsd-panel">
|
|
137
138
|
<h4>Type Parameters</h4>
|
|
138
|
-
<ul class="tsd-type-
|
|
139
|
+
<ul class="tsd-type-parameter-list">
|
|
139
140
|
<li>
|
|
140
141
|
<h4><span class="tsd-kind-type-parameter">P</span><span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h4></li></ul></section>
|
|
141
142
|
<div class="tsd-parameters">
|
|
@@ -184,6 +185,36 @@
|
|
|
184
185
|
<div class="tsd-comment tsd-typography"><p>return a list of all generated Lambda functions</p>
|
|
185
186
|
</div>
|
|
186
187
|
<h4 class="tsd-returns-title">Returns <a href="LambdaFunction.html" class="tsd-signature-type tsd-kind-class">LambdaFunction</a><span class="tsd-signature-symbol">[]</span></h4></li></ul></section>
|
|
188
|
+
<section class="tsd-panel tsd-member"><a id="modifyOperationFunctions" class="tsd-anchor"></a>
|
|
189
|
+
<h3 class="tsd-anchor-link"><span>modify<wbr/>Operation<wbr/>Functions</span><a href="#modifyOperationFunctions" 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>
|
|
190
|
+
<ul class="tsd-signatures">
|
|
191
|
+
<li class="tsd-signature tsd-anchor-link" id="modifyOperationFunctions.modifyOperationFunctions-1"><span class="tsd-kind-call-signature">modify<wbr/>Operation<wbr/>Functions</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">operationIds</span>, <span class="tsd-kind-parameter">op</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#modifyOperationFunctions.modifyOperationFunctions-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>
|
|
192
|
+
<li class="tsd-description">
|
|
193
|
+
<div class="tsd-comment tsd-typography"><p>Visitor method to modify the given functions</p>
|
|
194
|
+
</div>
|
|
195
|
+
<div class="tsd-parameters">
|
|
196
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
197
|
+
<ul class="tsd-parameter-list">
|
|
198
|
+
<li>
|
|
199
|
+
<h5><span class="tsd-kind-parameter">operationIds</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type tsd-kind-type-parameter">OPS</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></h5>
|
|
200
|
+
<div class="tsd-comment tsd-typography"><p>the list of functions to visit</p>
|
|
201
|
+
</div></li>
|
|
202
|
+
<li>
|
|
203
|
+
<h5><span class="tsd-kind-parameter">op</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></h5>
|
|
204
|
+
<div class="tsd-comment tsd-typography"><p>the function to call for every function</p>
|
|
205
|
+
</div>
|
|
206
|
+
<ul class="tsd-parameters">
|
|
207
|
+
<li class="tsd-parameter-signature">
|
|
208
|
+
<ul class="tsd-signatures">
|
|
209
|
+
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
210
|
+
<li class="tsd-description">
|
|
211
|
+
<div class="tsd-parameters">
|
|
212
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
213
|
+
<ul class="tsd-parameter-list">
|
|
214
|
+
<li>
|
|
215
|
+
<h5><span class="tsd-kind-parameter">fn</span>: <a href="LambdaFunction.html" class="tsd-signature-type tsd-kind-class">LambdaFunction</a></h5></li></ul></div>
|
|
216
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
|
|
217
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section>
|
|
187
218
|
<section class="tsd-panel tsd-member tsd-is-protected"><a id="patchSecurity" class="tsd-anchor"></a>
|
|
188
219
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>patch<wbr/>Security</span><a href="#patchSecurity" 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>
|
|
189
220
|
<ul class="tsd-signatures tsd-is-protected">
|
|
@@ -228,12 +259,10 @@ THIS DOES NOT HAPPEN ON AWS. IT JUST ALWAYS USES THE GLOBAL SETTING!</p>
|
|
|
228
259
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="isConstruct" class="tsd-anchor"></a>
|
|
229
260
|
<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 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>
|
|
230
261
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
|
231
|
-
<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-
|
|
262
|
+
<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 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>
|
|
232
263
|
<li class="tsd-description">
|
|
233
264
|
<div class="tsd-comment tsd-typography"><p>(deprecated) Checks if <code>x</code> is a construct.</p>
|
|
234
265
|
|
|
235
|
-
<h3>Returns</h3><p>true if <code>x</code> is an object created from a class which extends <code>Construct</code>.</p>
|
|
236
|
-
|
|
237
266
|
<h3>Deprecated</h3><p>use <code>x instanceof Construct</code> instead</p>
|
|
238
267
|
</div>
|
|
239
268
|
<div class="tsd-parameters">
|
|
@@ -243,7 +272,8 @@ THIS DOES NOT HAPPEN ON AWS. IT JUST ALWAYS USES THE GLOBAL SETTING!</p>
|
|
|
243
272
|
<h5><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">any</span></h5>
|
|
244
273
|
<div class="tsd-comment tsd-typography"><p>Any object.</p>
|
|
245
274
|
</div></li></ul></div>
|
|
246
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-
|
|
275
|
+
<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>
|
|
276
|
+
<aside class="tsd-sources">
|
|
247
277
|
<p>Inherited from <a href="BaseApi.html">BaseApi</a>.<a href="BaseApi.html#isConstruct">isConstruct</a></p></aside></li></ul></section></section></div>
|
|
248
278
|
<div class="col-sidebar">
|
|
249
279
|
<div class="page-menu">
|
|
@@ -275,6 +305,7 @@ THIS DOES NOT HAPPEN ON AWS. IT JUST ALWAYS USES THE GLOBAL SETTING!</p>
|
|
|
275
305
|
<li><a href="#cleanupSpec" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>cleanup<wbr/>Spec</span></a></li>
|
|
276
306
|
<li><a href="#getFunctionForOperation" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Function<wbr/>For<wbr/>Operation</span></a></li>
|
|
277
307
|
<li><a href="#getFunctions" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Functions</span></a></li>
|
|
308
|
+
<li><a href="#modifyOperationFunctions" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>modify<wbr/>Operation<wbr/>Functions</span></a></li>
|
|
278
309
|
<li><a href="#patchSecurity" class="tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>patch<wbr/>Security</span></a></li>
|
|
279
310
|
<li><a href="#tableWriteAccessForMethod" class="tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>table<wbr/>Write<wbr/>Access<wbr/>For<wbr/>Method</span></a></li>
|
|
280
311
|
<li><a href="#toString" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>to<wbr/>String</span></a></li>
|
|
@@ -87,12 +87,10 @@
|
|
|
87
87
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="isConstruct" class="tsd-anchor"></a>
|
|
88
88
|
<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 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>
|
|
89
89
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
|
90
|
-
<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-
|
|
90
|
+
<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 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>
|
|
91
91
|
<li class="tsd-description">
|
|
92
92
|
<div class="tsd-comment tsd-typography"><p>(deprecated) Checks if <code>x</code> is a construct.</p>
|
|
93
93
|
|
|
94
|
-
<h3>Returns</h3><p>true if <code>x</code> is an object created from a class which extends <code>Construct</code>.</p>
|
|
95
|
-
|
|
96
94
|
<h3>Deprecated</h3><p>use <code>x instanceof Construct</code> instead</p>
|
|
97
95
|
</div>
|
|
98
96
|
<div class="tsd-parameters">
|
|
@@ -102,7 +100,8 @@
|
|
|
102
100
|
<h5><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">any</span></h5>
|
|
103
101
|
<div class="tsd-comment tsd-typography"><p>Any object.</p>
|
|
104
102
|
</div></li></ul></div>
|
|
105
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-
|
|
103
|
+
<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>
|
|
104
|
+
<aside class="tsd-sources">
|
|
106
105
|
<p>Inherited from Construct.isConstruct</p></aside></li></ul></section></section></div>
|
|
107
106
|
<div class="col-sidebar">
|
|
108
107
|
<div class="page-menu">
|
|
@@ -100,12 +100,10 @@
|
|
|
100
100
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="isConstruct" class="tsd-anchor"></a>
|
|
101
101
|
<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 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>
|
|
102
102
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
|
103
|
-
<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-
|
|
103
|
+
<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 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>
|
|
104
104
|
<li class="tsd-description">
|
|
105
105
|
<div class="tsd-comment tsd-typography"><p>(deprecated) Checks if <code>x</code> is a construct.</p>
|
|
106
106
|
|
|
107
|
-
<h3>Returns</h3><p>true if <code>x</code> is an object created from a class which extends <code>Construct</code>.</p>
|
|
108
|
-
|
|
109
107
|
<h3>Deprecated</h3><p>use <code>x instanceof Construct</code> instead</p>
|
|
110
108
|
</div>
|
|
111
109
|
<div class="tsd-parameters">
|
|
@@ -115,7 +113,8 @@
|
|
|
115
113
|
<h5><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">any</span></h5>
|
|
116
114
|
<div class="tsd-comment tsd-typography"><p>Any object.</p>
|
|
117
115
|
</div></li></ul></div>
|
|
118
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-
|
|
116
|
+
<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>
|
|
117
|
+
<aside class="tsd-sources">
|
|
119
118
|
<p>Inherited from constructs.Construct.isConstruct</p></aside></li></ul></section></section></div>
|
|
120
119
|
<div class="col-sidebar">
|
|
121
120
|
<div class="page-menu">
|