cdk-serverless 2.14.6 → 2.15.0
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/hierarchy.js +1 -0
- package/docs/constructs/assets/icons.js +18 -0
- package/docs/constructs/assets/icons.svg +1 -0
- package/docs/constructs/assets/main.js +5 -3
- package/docs/constructs/assets/navigation.js +1 -0
- package/docs/constructs/assets/search.js +1 -1
- package/docs/constructs/assets/style.css +1424 -1193
- package/docs/constructs/classes/AssetCdn.html +21 -187
- package/docs/constructs/classes/BaseApi.html +15 -177
- package/docs/constructs/classes/CognitoAuthentication.html +26 -223
- package/docs/constructs/classes/GraphQlApi.html +37 -516
- package/docs/constructs/classes/LambdaFunction.html +213 -1159
- package/docs/constructs/classes/RestApi.html +43 -397
- package/docs/constructs/classes/SingleTableDatastore.html +20 -174
- package/docs/constructs/classes/Workflow.html +24 -195
- package/docs/constructs/hierarchy.html +1 -0
- package/docs/constructs/index.html +34 -110
- package/docs/constructs/interfaces/AssetCdnProps.html +6 -99
- package/docs/constructs/interfaces/BaseApiProps.html +45 -202
- package/docs/constructs/interfaces/CognitoAuthenticationProps.html +40 -188
- package/docs/constructs/interfaces/GraphQlApiProps.html +46 -218
- package/docs/constructs/interfaces/ICognitoAuthentication.html +3 -91
- package/docs/constructs/interfaces/IJwtAuthentication.html +7 -103
- package/docs/constructs/interfaces/JsResolverOptions.html +11 -106
- package/docs/constructs/interfaces/LambdaFunctionProps.html +35 -202
- package/docs/constructs/interfaces/LambdaTracingOptions.html +6 -90
- package/docs/constructs/interfaces/RestApiProps.html +62 -261
- package/docs/constructs/interfaces/SingleTableDatastoreProps.html +12 -111
- package/docs/constructs/interfaces/SingleTableDesign.html +12 -121
- package/docs/constructs/interfaces/VtlResolverOptions.html +8 -103
- package/docs/constructs/interfaces/WorkflowProps.html +6 -109
- package/docs/constructs/modules.html +1 -93
- package/docs/constructs/types/LambdaOptions.html +1 -62
- package/docs/lambda/assets/hierarchy.js +1 -0
- package/docs/lambda/assets/icons.js +18 -0
- package/docs/lambda/assets/icons.svg +1 -0
- package/docs/lambda/assets/main.js +5 -3
- package/docs/lambda/assets/navigation.js +1 -0
- package/docs/lambda/assets/search.js +1 -1
- package/docs/lambda/assets/style.css +1424 -1193
- package/docs/lambda/classes/auth.ApiGatewayv1CognitoAuthorizer.html +38 -309
- package/docs/lambda/classes/auth.ApiGatewayv1JwtAuthorizer.html +37 -308
- package/docs/lambda/classes/auth.ApiGatewayv2CognitoAuthorizer.html +38 -309
- package/docs/lambda/classes/auth.ApiGatewayv2JwtAuthorizer.html +37 -306
- package/docs/lambda/classes/auth.AppSyncCognitoAuthorizer.html +36 -299
- package/docs/lambda/classes/auth.CognitoAuthorizer.html +34 -288
- package/docs/lambda/classes/auth.JwtAuthorizer.html +34 -282
- package/docs/lambda/classes/errors.BadRequestError.html +16 -181
- package/docs/lambda/classes/errors.ForbiddenError.html +16 -181
- package/docs/lambda/classes/errors.HttpError.html +17 -189
- package/docs/lambda/classes/errors.NotFoundError.html +16 -181
- package/docs/lambda/classes/errors.UnauthenticatedError.html +16 -181
- package/docs/lambda/functions/api.createAppSyncHandler.html +3 -80
- package/docs/lambda/functions/api.createHttpHandler.html +2 -78
- package/docs/lambda/functions/api.createOpenApiHandler.html +2 -78
- package/docs/lambda/functions/api.createOpenApiHandlerWithRequestBody.html +2 -78
- package/docs/lambda/functions/api.createOpenApiHandlerWithRequestBodyNoResponse.html +2 -76
- package/docs/lambda/hierarchy.html +1 -0
- package/docs/lambda/index.html +34 -90
- package/docs/lambda/interfaces/api.AppSyncHandlerContext.html +6 -105
- package/docs/lambda/interfaces/api.HttpHandlerContext.html +7 -105
- package/docs/lambda/interfaces/api.HttpResponseContext.html +5 -100
- package/docs/lambda/interfaces/api.Operation.html +3 -92
- package/docs/lambda/interfaces/api.OperationWithRequestBody.html +4 -106
- package/docs/lambda/modules/api.html +1 -82
- package/docs/lambda/modules/auth.html +1 -64
- package/docs/lambda/modules/errors.html +1 -60
- package/docs/lambda/modules.html +1 -47
- package/docs/lambda/types/api.APIGatewayv1Handler.html +2 -62
- package/docs/lambda/types/api.AppSyncHandler.html +2 -82
- package/docs/lambda/types/api.HttpHandler.html +2 -84
- package/docs/projen/assets/hierarchy.js +1 -0
- package/docs/projen/assets/icons.js +18 -0
- package/docs/projen/assets/icons.svg +1 -0
- package/docs/projen/assets/main.js +5 -3
- package/docs/projen/assets/navigation.js +1 -0
- package/docs/projen/assets/search.js +1 -1
- package/docs/projen/assets/style.css +1424 -1193
- package/docs/projen/classes/Datastore.html +26 -246
- package/docs/projen/classes/GraphQlApi.html +25 -212
- package/docs/projen/classes/RestApi.html +49 -347
- package/docs/projen/classes/ServerlessProject.html +245 -1409
- package/docs/projen/classes/Workflow.html +39 -273
- package/docs/projen/index.html +34 -98
- package/docs/projen/interfaces/DatastoreOptions.html +3 -77
- package/docs/projen/interfaces/GraphQlApiOptions.html +3 -77
- package/docs/projen/interfaces/RestApiOptions.html +3 -77
- package/docs/projen/interfaces/ServerlessProjectOptions.html +822 -2053
- package/docs/projen/interfaces/WorkflowOptions.html +3 -77
- package/docs/projen/modules.html +1 -69
- package/docs/projen/variables/PACKAGE_NAME.html +1 -50
- package/lib/constructs/authentication.d.ts +13 -0
- package/lib/constructs/authentication.js +47 -13
- package/lib/constructs/base-api.js +1 -1
- package/lib/constructs/func.js +1 -1
- package/lib/constructs/graphql.js +21 -11
- package/lib/constructs/rest-api.js +18 -8
- package/lib/constructs/table.js +1 -1
- package/lib/constructs/workflow.js +18 -8
- package/lib/lambda/auth.js +1 -1
- package/lib/lambda/handler.d.ts +1 -1
- package/lib/lambda/handler.js +21 -11
- package/lib/lambda/index.js +18 -8
- package/lib/projen/core.js +18 -8
- package/lib/projen/datastore.js +18 -8
- package/lib/projen/graphql.js +21 -11
- package/lib/projen/lazy-sampledir.js +1 -1
- package/lib/projen/rest-api.js +18 -8
- package/lib/projen/workflow.js +18 -8
- package/lib/tests/integ-test-util.js +3 -3
- package/package.json +26 -25
package/package.json
CHANGED
|
@@ -32,57 +32,58 @@
|
|
|
32
32
|
"organization": true
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@aws-cdk/aws-cognito-identitypool-alpha": "2.
|
|
36
|
-
"@aws-sdk/client-cognito-identity-provider": "3.
|
|
37
|
-
"@aws-sdk/client-dynamodb": "3.
|
|
38
|
-
"@aws-sdk/client-s3": "3.
|
|
39
|
-
"@aws-sdk/lib-dynamodb": "3.
|
|
35
|
+
"@aws-cdk/aws-cognito-identitypool-alpha": "2.177.0-alpha.0",
|
|
36
|
+
"@aws-sdk/client-cognito-identity-provider": "3.726.0",
|
|
37
|
+
"@aws-sdk/client-dynamodb": "3.726.0",
|
|
38
|
+
"@aws-sdk/client-s3": "3.726.0",
|
|
39
|
+
"@aws-sdk/lib-dynamodb": "3.726.0",
|
|
40
40
|
"@hapi/boom": "^10.0.1",
|
|
41
|
-
"@
|
|
42
|
-
"@types/
|
|
41
|
+
"@stylistic/eslint-plugin": "^2",
|
|
42
|
+
"@types/aws-lambda": "^8.10.147",
|
|
43
|
+
"@types/jest": "^29.5.14",
|
|
43
44
|
"@types/js-yaml": "^4.0.9",
|
|
44
45
|
"@types/jsonwebtoken": "^9.0.7",
|
|
45
46
|
"@types/jwk-to-pem": "^2.0.3",
|
|
46
47
|
"@types/lambda-log": "^2.2.1",
|
|
47
48
|
"@types/node": "^18",
|
|
48
49
|
"@types/uuid": "^9.0.8",
|
|
49
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
50
|
-
"@typescript-eslint/parser": "^
|
|
51
|
-
"aws-cdk-lib": "2.
|
|
50
|
+
"@typescript-eslint/eslint-plugin": "^8",
|
|
51
|
+
"@typescript-eslint/parser": "^8",
|
|
52
|
+
"aws-cdk-lib": "2.177.0",
|
|
52
53
|
"commit-and-tag-version": "^12",
|
|
53
54
|
"constructs": "^10.0.0",
|
|
54
|
-
"dynamodb-onetable": "
|
|
55
|
-
"eslint": "^
|
|
56
|
-
"eslint-import-resolver-typescript": "^3.
|
|
55
|
+
"dynamodb-onetable": "2.7.5",
|
|
56
|
+
"eslint": "^9",
|
|
57
|
+
"eslint-import-resolver-typescript": "^3.7.0",
|
|
57
58
|
"eslint-plugin-import": "^2.31.0",
|
|
58
59
|
"jest": "^29.7.0",
|
|
59
|
-
"jest-junit": "^
|
|
60
|
+
"jest-junit": "^16",
|
|
60
61
|
"openapi-typescript": "6.7.6",
|
|
61
|
-
"projen": "
|
|
62
|
+
"projen": "0.91.6",
|
|
62
63
|
"ts-jest": "^29.2.5",
|
|
63
64
|
"ts-node": "^10.9.2",
|
|
64
|
-
"typedoc": "0.
|
|
65
|
-
"typescript": "^
|
|
65
|
+
"typedoc": "0.27.6",
|
|
66
|
+
"typescript": "^5.7.3"
|
|
66
67
|
},
|
|
67
68
|
"peerDependencies": {
|
|
68
|
-
"@aws-cdk/aws-cognito-identitypool-alpha": ">=2.
|
|
69
|
+
"@aws-cdk/aws-cognito-identitypool-alpha": ">=2.177.0-alpha.0 <3.0.0",
|
|
69
70
|
"@aws-sdk/client-cognito-identity-provider": "^3.668.0",
|
|
70
71
|
"@aws-sdk/client-dynamodb": "^3.668.0",
|
|
71
72
|
"@aws-sdk/client-s3": "^3.668.0",
|
|
72
73
|
"@aws-sdk/lib-dynamodb": "^3.668.0",
|
|
73
|
-
"aws-cdk-lib": ">=2.
|
|
74
|
-
"dynamodb-onetable": "
|
|
75
|
-
"openapi-typescript": "^6.7.6"
|
|
74
|
+
"aws-cdk-lib": ">=2.177.0 <3.0.0",
|
|
75
|
+
"dynamodb-onetable": "2.7.5",
|
|
76
|
+
"openapi-typescript": "^6.7.6",
|
|
77
|
+
"projen": ">=0.91.6 <1.0.0"
|
|
76
78
|
},
|
|
77
79
|
"dependencies": {
|
|
78
|
-
"axios": "^1.7.
|
|
80
|
+
"axios": "^1.7.9",
|
|
79
81
|
"constructs": "^10.3.0",
|
|
80
82
|
"date-fns": "^2.30.0",
|
|
81
83
|
"js-yaml": "^4.1.0",
|
|
82
84
|
"jsonwebtoken": "^9.0.2",
|
|
83
|
-
"jwk-to-pem": "^2.0.
|
|
85
|
+
"jwk-to-pem": "^2.0.7",
|
|
84
86
|
"lambda-log": "^3.1.0",
|
|
85
|
-
"projen": "^0.88.1",
|
|
86
87
|
"uuid": "^9.0.1"
|
|
87
88
|
},
|
|
88
89
|
"keywords": [
|
|
@@ -97,7 +98,7 @@
|
|
|
97
98
|
"publishConfig": {
|
|
98
99
|
"access": "public"
|
|
99
100
|
},
|
|
100
|
-
"version": "2.
|
|
101
|
+
"version": "2.15.0",
|
|
101
102
|
"jest": {
|
|
102
103
|
"coverageProvider": "v8",
|
|
103
104
|
"testMatch": [
|