cdk-serverless 2.10.2 → 2.11.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/docs/constructs/assets/main.js +3 -4
- package/docs/constructs/assets/search.js +1 -1
- package/docs/constructs/assets/style.css +18 -53
- package/docs/constructs/classes/AssetCdn.html +174 -13
- package/docs/constructs/classes/BaseApi.html +181 -13
- package/docs/constructs/classes/CognitoAuthentication.html +190 -14
- package/docs/constructs/classes/GraphQlApi.html +473 -14
- package/docs/constructs/classes/LambdaFunction.html +1085 -81
- package/docs/constructs/classes/RestApi.html +358 -20
- package/docs/constructs/classes/SingleTableDatastore.html +166 -13
- package/docs/constructs/classes/Workflow.html +179 -13
- package/docs/constructs/index.html +83 -2
- package/docs/constructs/interfaces/AssetCdnProps.html +94 -4
- package/docs/constructs/interfaces/BaseApiProps.html +184 -20
- package/docs/constructs/interfaces/CognitoAuthenticationProps.html +177 -18
- package/docs/constructs/interfaces/GraphQlApiProps.html +199 -20
- package/docs/constructs/interfaces/ICognitoAuthentication.html +91 -3
- package/docs/constructs/interfaces/IJwtAuthentication.html +101 -5
- package/docs/constructs/interfaces/JsResolverOptions.html +103 -6
- package/docs/constructs/interfaces/LambdaFunctionProps.html +187 -18
- package/docs/constructs/interfaces/LambdaTracingOptions.html +89 -4
- package/docs/constructs/interfaces/RestApiProps.html +235 -26
- package/docs/constructs/interfaces/SingleTableDatastoreProps.html +107 -7
- package/docs/constructs/interfaces/SingleTableDesign.html +117 -7
- package/docs/constructs/interfaces/VtlResolverOptions.html +101 -5
- package/docs/constructs/interfaces/WorkflowProps.html +105 -2
- package/docs/constructs/modules.html +73 -4
- package/docs/constructs/types/LambdaOptions.html +62 -1
- package/docs/lambda/assets/main.js +3 -4
- package/docs/lambda/assets/search.js +1 -1
- package/docs/lambda/assets/style.css +18 -53
- package/docs/lambda/classes/auth.ApiGatewayv1CognitoAuthorizer.html +292 -21
- package/docs/lambda/classes/auth.ApiGatewayv1JwtAuthorizer.html +291 -20
- package/docs/lambda/classes/auth.ApiGatewayv2CognitoAuthorizer.html +292 -21
- package/docs/lambda/classes/auth.ApiGatewayv2JwtAuthorizer.html +289 -20
- package/docs/lambda/classes/auth.AppSyncCognitoAuthorizer.html +284 -21
- package/docs/lambda/classes/auth.CognitoAuthorizer.html +274 -20
- package/docs/lambda/classes/auth.JwtAuthorizer.html +268 -20
- package/docs/lambda/classes/errors.BadRequestError.html +164 -9
- package/docs/lambda/classes/errors.ForbiddenError.html +164 -9
- package/docs/lambda/classes/errors.HttpError.html +170 -9
- package/docs/lambda/classes/errors.NotFoundError.html +164 -9
- package/docs/lambda/classes/errors.UnauthenticatedError.html +164 -9
- package/docs/lambda/functions/api.createAppSyncHandler.html +80 -3
- package/docs/lambda/functions/api.createHttpHandler.html +78 -2
- package/docs/lambda/functions/api.createOpenApiHandler.html +78 -2
- package/docs/lambda/functions/api.createOpenApiHandlerWithRequestBody.html +78 -2
- package/docs/lambda/functions/api.createOpenApiHandlerWithRequestBodyNoResponse.html +76 -2
- package/docs/lambda/index.html +63 -2
- package/docs/lambda/interfaces/api.AppSyncHandlerContext.html +102 -3
- package/docs/lambda/interfaces/api.HttpHandlerContext.html +101 -3
- package/docs/lambda/interfaces/api.HttpResponseContext.html +98 -3
- package/docs/lambda/interfaces/api.Operation.html +92 -3
- package/docs/lambda/interfaces/api.OperationWithRequestBody.html +105 -3
- package/docs/lambda/modules/api.html +72 -4
- package/docs/lambda/modules/auth.html +58 -2
- package/docs/lambda/modules/errors.html +56 -2
- package/docs/lambda/modules.html +45 -2
- package/docs/lambda/types/api.APIGatewayv1Handler.html +62 -2
- package/docs/lambda/types/api.AppSyncHandler.html +82 -2
- package/docs/lambda/types/api.HttpHandler.html +84 -2
- package/docs/projen/assets/main.js +3 -4
- package/docs/projen/assets/search.js +1 -1
- package/docs/projen/assets/style.css +18 -53
- package/docs/projen/classes/Datastore.html +230 -13
- package/docs/projen/classes/GraphQlApi.html +198 -14
- package/docs/projen/classes/RestApi.html +280 -13
- package/docs/projen/classes/ServerlessProject.html +1295 -138
- package/docs/projen/classes/Workflow.html +230 -13
- package/docs/projen/index.html +71 -2
- package/docs/projen/interfaces/DatastoreOptions.html +76 -2
- package/docs/projen/interfaces/GraphQlApiOptions.html +76 -2
- package/docs/projen/interfaces/RestApiOptions.html +76 -2
- package/docs/projen/interfaces/ServerlessProjectOptions.html +1826 -426
- package/docs/projen/interfaces/WorkflowOptions.html +76 -2
- package/docs/projen/modules.html +61 -4
- package/docs/projen/variables/PACKAGE_NAME.html +50 -1
- package/lib/constructs/graphql.js +6 -5
- package/lib/projen/datastore.d.ts +2 -4
- package/lib/projen/datastore.js +45 -50
- package/lib/projen/graphql.d.ts +0 -2
- package/lib/projen/graphql.js +9 -19
- package/lib/projen/lazy-sampledir.d.ts +27 -0
- package/lib/projen/lazy-sampledir.js +43 -0
- package/lib/projen/lazy-textfile.d.ts +20 -0
- package/lib/projen/lazy-textfile.js +23 -0
- package/lib/projen/rest-api.d.ts +6 -4
- package/lib/projen/rest-api.js +52 -54
- package/lib/projen/workflow.d.ts +1 -2
- package/lib/projen/workflow.js +32 -37
- package/package.json +8 -8
- package/docs/constructs/assets/navigation.js +0 -1
- package/docs/constructs/hierarchy.html +0 -1
- package/docs/lambda/assets/navigation.js +0 -1
- package/docs/lambda/hierarchy.html +0 -1
- package/docs/projen/assets/navigation.js +0 -1
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
--light-color-text-aside: #6e6e6e;
|
|
12
12
|
--light-color-link: #1f70c2;
|
|
13
13
|
|
|
14
|
-
--light-color-ts-keyword: #056bd6;
|
|
15
14
|
--light-color-ts-project: #b111c9;
|
|
16
15
|
--light-color-ts-module: var(--light-color-ts-project);
|
|
17
16
|
--light-color-ts-namespace: var(--light-color-ts-project);
|
|
@@ -29,7 +28,7 @@
|
|
|
29
28
|
--light-color-ts-constructor-signature: var(--light-color-ts-constructor);
|
|
30
29
|
--light-color-ts-parameter: var(--light-color-ts-variable);
|
|
31
30
|
/* type literal not included as links will never be generated to it */
|
|
32
|
-
--light-color-ts-type-parameter:
|
|
31
|
+
--light-color-ts-type-parameter: var(--light-color-ts-type-alias);
|
|
33
32
|
--light-color-ts-accessor: var(--light-color-ts-property);
|
|
34
33
|
--light-color-ts-get-signature: var(--light-color-ts-accessor);
|
|
35
34
|
--light-color-ts-set-signature: var(--light-color-ts-accessor);
|
|
@@ -51,7 +50,6 @@
|
|
|
51
50
|
--dark-color-text-aside: #dddddd;
|
|
52
51
|
--dark-color-link: #00aff4;
|
|
53
52
|
|
|
54
|
-
--dark-color-ts-keyword: #3399ff;
|
|
55
53
|
--dark-color-ts-project: #e358ff;
|
|
56
54
|
--dark-color-ts-module: var(--dark-color-ts-project);
|
|
57
55
|
--dark-color-ts-namespace: var(--dark-color-ts-project);
|
|
@@ -69,7 +67,7 @@
|
|
|
69
67
|
--dark-color-ts-constructor-signature: var(--dark-color-ts-constructor);
|
|
70
68
|
--dark-color-ts-parameter: var(--dark-color-ts-variable);
|
|
71
69
|
/* type literal not included as links will never be generated to it */
|
|
72
|
-
--dark-color-ts-type-parameter:
|
|
70
|
+
--dark-color-ts-type-parameter: var(--dark-color-ts-type-alias);
|
|
73
71
|
--dark-color-ts-accessor: var(--dark-color-ts-property);
|
|
74
72
|
--dark-color-ts-get-signature: var(--dark-color-ts-accessor);
|
|
75
73
|
--dark-color-ts-set-signature: var(--dark-color-ts-accessor);
|
|
@@ -93,7 +91,6 @@
|
|
|
93
91
|
--color-text-aside: var(--light-color-text-aside);
|
|
94
92
|
--color-link: var(--light-color-link);
|
|
95
93
|
|
|
96
|
-
--color-ts-keyword: var(--light-color-ts-keyword);
|
|
97
94
|
--color-ts-module: var(--light-color-ts-module);
|
|
98
95
|
--color-ts-namespace: var(--light-color-ts-namespace);
|
|
99
96
|
--color-ts-enum: var(--light-color-ts-enum);
|
|
@@ -135,7 +132,6 @@
|
|
|
135
132
|
--color-text-aside: var(--dark-color-text-aside);
|
|
136
133
|
--color-link: var(--dark-color-link);
|
|
137
134
|
|
|
138
|
-
--color-ts-keyword: var(--dark-color-ts-keyword);
|
|
139
135
|
--color-ts-module: var(--dark-color-ts-module);
|
|
140
136
|
--color-ts-namespace: var(--dark-color-ts-namespace);
|
|
141
137
|
--color-ts-enum: var(--dark-color-ts-enum);
|
|
@@ -184,7 +180,6 @@ body {
|
|
|
184
180
|
--color-text-aside: var(--light-color-text-aside);
|
|
185
181
|
--color-link: var(--light-color-link);
|
|
186
182
|
|
|
187
|
-
--color-ts-keyword: var(--light-color-ts-keyword);
|
|
188
183
|
--color-ts-module: var(--light-color-ts-module);
|
|
189
184
|
--color-ts-namespace: var(--light-color-ts-namespace);
|
|
190
185
|
--color-ts-enum: var(--light-color-ts-enum);
|
|
@@ -224,7 +219,6 @@ body {
|
|
|
224
219
|
--color-text-aside: var(--dark-color-text-aside);
|
|
225
220
|
--color-link: var(--dark-color-link);
|
|
226
221
|
|
|
227
|
-
--color-ts-keyword: var(--dark-color-ts-keyword);
|
|
228
222
|
--color-ts-module: var(--dark-color-ts-module);
|
|
229
223
|
--color-ts-namespace: var(--dark-color-ts-namespace);
|
|
230
224
|
--color-ts-enum: var(--dark-color-ts-enum);
|
|
@@ -266,12 +260,12 @@ h6 {
|
|
|
266
260
|
line-height: 1.2;
|
|
267
261
|
}
|
|
268
262
|
|
|
269
|
-
h1 > a
|
|
270
|
-
h2 > a
|
|
271
|
-
h3 > a
|
|
272
|
-
h4 > a
|
|
273
|
-
h5 > a
|
|
274
|
-
h6 > a
|
|
263
|
+
h1 > a,
|
|
264
|
+
h2 > a,
|
|
265
|
+
h3 > a,
|
|
266
|
+
h4 > a,
|
|
267
|
+
h5 > a,
|
|
268
|
+
h6 > a {
|
|
275
269
|
text-decoration: none;
|
|
276
270
|
color: var(--color-text);
|
|
277
271
|
}
|
|
@@ -649,28 +643,6 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
|
|
|
649
643
|
font-weight: bold;
|
|
650
644
|
}
|
|
651
645
|
|
|
652
|
-
.tsd-full-hierarchy:not(:last-child) {
|
|
653
|
-
margin-bottom: 1em;
|
|
654
|
-
padding-bottom: 1em;
|
|
655
|
-
border-bottom: 1px solid var(--color-accent);
|
|
656
|
-
}
|
|
657
|
-
.tsd-full-hierarchy,
|
|
658
|
-
.tsd-full-hierarchy ul {
|
|
659
|
-
list-style: none;
|
|
660
|
-
margin: 0;
|
|
661
|
-
padding: 0;
|
|
662
|
-
}
|
|
663
|
-
.tsd-full-hierarchy ul {
|
|
664
|
-
padding-left: 1.5rem;
|
|
665
|
-
}
|
|
666
|
-
.tsd-full-hierarchy a {
|
|
667
|
-
padding: 0.25rem 0 !important;
|
|
668
|
-
font-size: 1rem;
|
|
669
|
-
display: inline-flex;
|
|
670
|
-
align-items: center;
|
|
671
|
-
color: var(--color-text);
|
|
672
|
-
}
|
|
673
|
-
|
|
674
646
|
.tsd-panel-group.tsd-index-group {
|
|
675
647
|
margin-bottom: 0;
|
|
676
648
|
}
|
|
@@ -736,15 +708,12 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
|
|
|
736
708
|
}
|
|
737
709
|
.tsd-navigation > a,
|
|
738
710
|
.tsd-navigation .tsd-accordion-summary {
|
|
739
|
-
width: calc(100% - 0.
|
|
740
|
-
display: flex;
|
|
741
|
-
align-items: center;
|
|
711
|
+
width: calc(100% - 0.5rem);
|
|
742
712
|
}
|
|
743
713
|
.tsd-navigation a,
|
|
744
714
|
.tsd-navigation summary > span,
|
|
745
715
|
.tsd-page-navigation a {
|
|
746
|
-
display: flex;
|
|
747
|
-
width: calc(100% - 0.25rem);
|
|
716
|
+
display: inline-flex;
|
|
748
717
|
align-items: center;
|
|
749
718
|
padding: 0.25rem;
|
|
750
719
|
color: var(--color-text);
|
|
@@ -784,6 +753,11 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
|
|
|
784
753
|
margin-left: -1.5rem;
|
|
785
754
|
}
|
|
786
755
|
|
|
756
|
+
.tsd-nested-navigation > li > a,
|
|
757
|
+
.tsd-nested-navigation > li > span {
|
|
758
|
+
width: calc(100% - 1.75rem - 0.5rem);
|
|
759
|
+
}
|
|
760
|
+
|
|
787
761
|
.tsd-page-navigation ul {
|
|
788
762
|
padding-left: 1.75rem;
|
|
789
763
|
}
|
|
@@ -936,9 +910,8 @@ a.tsd-index-link {
|
|
|
936
910
|
box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
|
|
937
911
|
}
|
|
938
912
|
#tsd-search .results li {
|
|
913
|
+
padding: 0 10px;
|
|
939
914
|
background-color: var(--color-background);
|
|
940
|
-
line-height: initial;
|
|
941
|
-
padding: 4px;
|
|
942
915
|
}
|
|
943
916
|
#tsd-search .results li:nth-child(even) {
|
|
944
917
|
background-color: var(--color-background-secondary);
|
|
@@ -951,10 +924,7 @@ a.tsd-index-link {
|
|
|
951
924
|
background-color: var(--color-accent);
|
|
952
925
|
}
|
|
953
926
|
#tsd-search .results a {
|
|
954
|
-
display:
|
|
955
|
-
align-items: center;
|
|
956
|
-
padding: 0.25rem;
|
|
957
|
-
box-sizing: border-box;
|
|
927
|
+
display: block;
|
|
958
928
|
}
|
|
959
929
|
#tsd-search .results a:before {
|
|
960
930
|
top: 10px;
|
|
@@ -1010,11 +980,6 @@ a.tsd-index-link {
|
|
|
1010
980
|
overflow-x: auto;
|
|
1011
981
|
}
|
|
1012
982
|
|
|
1013
|
-
.tsd-signature-keyword {
|
|
1014
|
-
color: var(--color-ts-keyword);
|
|
1015
|
-
font-weight: normal;
|
|
1016
|
-
}
|
|
1017
|
-
|
|
1018
983
|
.tsd-signature-symbol {
|
|
1019
984
|
color: var(--color-text-aside);
|
|
1020
985
|
font-weight: normal;
|
|
@@ -1169,7 +1134,7 @@ img {
|
|
|
1169
1134
|
}
|
|
1170
1135
|
|
|
1171
1136
|
.deprecated {
|
|
1172
|
-
text-decoration: line-through
|
|
1137
|
+
text-decoration: line-through;
|
|
1173
1138
|
}
|
|
1174
1139
|
|
|
1175
1140
|
.warning {
|