cdk-serverless 2.22.5 → 3.1.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.
Files changed (42) hide show
  1. package/.agents/tasks/task-api-gateway-authorizer/2025-01-20-120000-review.md +79 -0
  2. package/.agents/tasks/task-api-gateway-authorizer/context.json +25 -0
  3. package/.agents/tasks/task-api-gateway-authorizer/features/FEAT-001.json +22 -0
  4. package/.agents/tasks/task-api-gateway-authorizer/features/FEAT-002.json +31 -0
  5. package/.agents/tasks/task-api-gateway-authorizer/features/FEAT-003.json +25 -0
  6. package/.agents/tasks/task-api-gateway-authorizer/features/FEAT-004.json +24 -0
  7. package/.agents/tasks/task-api-gateway-authorizer/features/FEAT-005.json +22 -0
  8. package/.agents/tasks/task-api-gateway-authorizer/task.json +14 -0
  9. package/README.md +64 -0
  10. package/docs/constructs/assets/hierarchy.js +1 -1
  11. package/docs/constructs/assets/highlight.css +4 -4
  12. package/docs/constructs/assets/search.js +1 -1
  13. package/docs/constructs/classes/LambdaFunction.html +8 -8
  14. package/docs/constructs/classes/RestApi.html +22 -5
  15. package/docs/constructs/classes/SingleTableDatastore.html +1 -1
  16. package/docs/constructs/classes/Workflow.html +1 -1
  17. package/docs/constructs/hierarchy.html +1 -1
  18. package/docs/constructs/index.html +45 -1
  19. package/docs/constructs/interfaces/RestApiProps.html +39 -14
  20. package/docs/lambda/assets/highlight.css +9 -2
  21. package/docs/lambda/classes/errors.BadRequestError.html +1 -1
  22. package/docs/lambda/classes/errors.ForbiddenError.html +1 -1
  23. package/docs/lambda/classes/errors.HttpError.html +1 -1
  24. package/docs/lambda/classes/errors.NotFoundError.html +1 -1
  25. package/docs/lambda/classes/errors.UnauthenticatedError.html +1 -1
  26. package/docs/lambda/index.html +45 -1
  27. package/docs/projen/assets/highlight.css +13 -6
  28. package/docs/projen/index.html +45 -1
  29. package/docs/projen/interfaces/ServerlessProjectOptions.html +4 -4
  30. package/lib/constructs/rest-api.d.ts +88 -0
  31. package/lib/constructs/rest-api.js +194 -3
  32. package/lib/lambda/auth.js +10 -4
  33. package/lib/lambda/rest-api.jwt-authorizer.d.ts +1 -0
  34. package/lib/lambda/rest-api.jwt-authorizer.js +154 -0
  35. package/lib/tests/http-client.d.ts +48 -0
  36. package/lib/tests/http-client.js +82 -0
  37. package/lib/tests/index.d.ts +1 -0
  38. package/lib/tests/index.js +2 -1
  39. package/lib/tests/integ-test-util.d.ts +4 -3
  40. package/lib/tests/integ-test-util.js +14 -27
  41. package/package.json +1 -2
  42. package/specs/remove-axios-dependency.md +240 -0
@@ -0,0 +1,79 @@
1
+ # API Gateway authorizer injection into RestApi OpenAPI spec
2
+
3
+ The change adds API Gateway-level authorizer configuration to the `RestApi` CDK construct. When `authentication` is provided, `patchSecuritySchemes()` injects either a Cognito User Pool authorizer or a Lambda token authorizer into the OpenAPI spec's `securityDefinitions` before the existing `patchSecurity()` distributes global security to per-operation. A new Lambda handler (`rest-api.jwt-authorizer.ts`) validates JWT signatures for the non-Cognito path, reusing the same `jsonwebtoken` + `jwk-to-pem` pattern from the existing `auth.ts` module.
4
+
5
+ **Watch for:** The OIDC discovery URL is constructed as `${issuerUrl}/.well-known` instead of the standard `${issuerUrl}/.well-known/openid-configuration`, which will fail against spec-compliant providers (confirmed). The JWKS key cache is never invalidated, so key rotation will cause persistent auth failures until the Lambda cold-starts (confirmed). The authorizer invoke permission's `sourceArn` uses `this.node.addr` as the API resource identifier, but at construction time the SpecRestApi hasn't been created yet, so this won't match the actual API's execution ARN (likely).
6
+
7
+ ## High-level view
8
+
9
+ The construct patches the OpenAPI spec in two phases: `patchSecuritySchemes` defines the authorizer (Cognito or Lambda token), then the pre-existing `patchSecurity` moves the global security reference down to each operation. The JWT path creates a full Lambda function with an invoke permission and wires its ARN into the spec as a token authorizer with 300-second TTL.
10
+
11
+ The Lambda authorizer handler is largely copy-pasted from `src/lambda/auth.ts` — ~80 lines of shared logic around JWKS fetching and JWT verification are duplicated. This is structural debt, not a bug, but divergence risk is real.
12
+
13
+ The test file covers four scenarios (Cognito auth, JWT auth, no auth, per-operation security distribution) using CDK template assertions. Not tested: the JWT authorizer Lambda handler itself — token parsing, signature validation, and error paths have zero coverage.
14
+
15
+ <details>
16
+ <summary>Issues (5)</summary>
17
+
18
+ 1. **Incorrect OIDC discovery URL** — `getJwksUri` constructs `${issuerUrl}/.well-known` but the OIDC standard path is `${issuerUrl}/.well-known/openid-configuration`. This will 404 against compliant providers. Fix the path.
19
+ 2. **JWKS cache never invalidates** — The module-level `cacheKeys` variable persists for the Lambda container lifetime. After key rotation, all requests will fail until a cold start. Add a TTL or catch verification failures with a cache-bust retry.
20
+ 3. **Authorizer sourceArn uses node.addr instead of API ID** — The permission's `resource: this.node.addr` produces a construct-tree address, not the actual API Gateway REST API ID. The permission may be overly broad or fail to match. Use `this.api.arnForExecuteApi()` or defer permission granting until after `SpecRestApi` is created.
21
+ 4. **Authentication type detection via hasOwnProperty** — Using `this.props.authentication.hasOwnProperty('userpool')` to discriminate between `ICognitoAuthentication` and `IJwtAuthentication` is fragile. A JWT config that happens to have a `userpool` key would misroute. Consider a discriminated union or explicit type guard.
22
+ 5. **No unit tests for JWT authorizer Lambda** — `rest-api.jwt-authorizer.ts` is a security-critical code path with zero test coverage. Token parsing, signature validation, error paths (missing Bearer prefix, expired token, unknown kid, JWKS fetch failure), and policy document generation are all untested.
23
+
24
+ </details>
25
+
26
+ <details>
27
+ <summary>Details</summary>
28
+
29
+ ## OIDC discovery path is non-standard
30
+
31
+ In `rest-api.jwt-authorizer.ts` line 67, `getJwksUri` falls back to fetching `${discoveryUri}/.well-known` when no explicit JWKS URL is provided. The OIDC Discovery specification (RFC 8414, OpenID Connect Discovery 1.0) defines the metadata endpoint as `/.well-known/openid-configuration`:
32
+
33
+ ```typescript
34
+ const wellKnownUri = `${discoveryUri}/.well-known`;
35
+ ```
36
+
37
+ This will return a 404 from any spec-compliant issuer (Keycloak, Auth0, Okta, Azure AD) unless the issuer happens to serve metadata at that non-standard path. The existing `auth.ts` has the same bug, but since this is new code it should be fixed here.
38
+
39
+ ## JWKS key cache has no invalidation strategy
40
+
41
+ The `cacheKeys` variable at module scope caches JWKS keys indefinitely for the lifetime of the Lambda execution environment. When a provider rotates signing keys, the authorizer will fail all token validations with signature errors. Combined with the 300-second authorizer result TTL, this creates a window where new tokens signed with the rotated key are rejected until the Lambda container is recycled.
42
+
43
+ The failure mode matters more here than in `auth.ts` because this is a gateway-level control — failure is a hard 401 for all callers, not a per-request soft failure the application handler can compensate for. A retry-with-cache-bust on signature failure would mitigate this.
44
+
45
+ ## Authorizer invoke permission sourceArn mismatch
46
+
47
+ The permission granted to `apigateway.amazonaws.com` uses:
48
+
49
+ ```typescript
50
+ sourceArn: cdk.Stack.of(this).formatArn({
51
+ service: 'execute-api',
52
+ resource: this.node.addr,
53
+ arnFormat: cdk.ArnFormat.SLASH_RESOURCE_NAME,
54
+ resourceName: 'authorizers/*',
55
+ })
56
+ ```
57
+
58
+ `this.node.addr` is the construct tree address (a hash), not the API Gateway REST API ID. The `SpecRestApi` hasn't been instantiated at this point in the constructor. The resulting ARN will be `arn:aws:execute-api:region:account:<construct-hash>/authorizers/*`, which won't match the actual API's execution ARN.
59
+
60
+ Compare with how operation Lambda permissions are granted later in the constructor — they use `this.api.arnForExecuteApi()` after the `SpecRestApi` is created. The authorizer permission should be deferred to the same location, or use a lazy reference.
61
+
62
+ ## Type discrimination via hasOwnProperty
63
+
64
+ `patchSecuritySchemes` uses `this.props.authentication.hasOwnProperty('userpool')` to distinguish between `ICognitoAuthentication` and `IJwtAuthentication`. This is a pre-existing pattern from `addCustomRestResource`, but `patchSecuritySchemes` doubles down on it. A type guard function would make the discrimination explicit and testable, and prevent silent misrouting if the interfaces ever overlap.
65
+
66
+ </details>
67
+
68
+ <details>
69
+ <summary>File map</summary>
70
+
71
+ | File | Change |
72
+ |------|--------|
73
+ | `src/constructs/rest-api.ts` | Added `patchSecuritySchemes()` method, `apiMethods` property, removed `@ts-expect-error` in `patchSecurity` |
74
+ | `src/lambda/rest-api.jwt-authorizer.ts` | New Lambda authorizer handler for JWT signature validation |
75
+ | `test/constructs/rest-api.test.ts` | New test file with 4 test cases covering Cognito/JWT/no-auth/per-operation scenarios |
76
+
77
+ Full diff: `git diff facd389..HEAD` (limited to source files, excludes `.agents/` task metadata)
78
+
79
+ </details>
@@ -0,0 +1,25 @@
1
+ {
2
+ "project_type": "AWS CDK construct library (L3 constructs for serverless apps) managed by projen",
3
+ "language": "TypeScript",
4
+ "build_system": "projen (npm run build triggers projen build which does: default, pre-compile, compile, post-compile, test, package)",
5
+ "test_framework": "jest with ts-jest, tests in test/ directory, uses aws-cdk-lib assertions (Template.fromStack), mocks LambdaFunction to avoid bundling",
6
+ "build_command": "npx projen compile",
7
+ "test_command": "npx jest --passWithNoTests",
8
+ "verification_instructions": "1) npm install, 2) npx projen compile (TypeScript compilation), 3) npx jest --passWithNoTests (run unit tests)",
9
+ "snapshot_or_generated_files": null,
10
+ "setup_instructions": "cd /projects/sandbox/cdk-serverless && npm install",
11
+ "environment_constraints": "Open internet - can install packages. Node.js available. No Docker needed.",
12
+ "contribution_requirements": "Standard projen project. Do not edit generated files. PR against main.",
13
+ "key_patterns": "RestApi construct loads OpenAPI yaml, patches it with x-amazon-apigateway-integration for Lambda proxy, uses patchSecurity to move global security to per-operation. Tests mock LambdaFunction (NodejsFunction) with plain aws_lambda.Function to avoid esbuild bundling. Authentication can be ICognitoAuthentication (has userpool: IUserPool) or IJwtAuthentication (has issuerUrl, audience?, jwksUrl?).",
14
+ "relevant_files": [
15
+ "src/constructs/rest-api.ts",
16
+ "src/constructs/authentication.ts",
17
+ "src/constructs/base-api.ts",
18
+ "src/constructs/func.ts",
19
+ "src/lambda/auth.ts",
20
+ "src/lambda/handler.ts",
21
+ "test/constructs/graphql.test.ts",
22
+ "test/util/synth.ts"
23
+ ],
24
+ "directory_structure": "src/constructs/ - CDK constructs (RestApi, BaseApi, authentication, func), src/lambda/ - Lambda runtime code (auth, handler, errors), test/ - jest tests, test/util/ - test utilities"
25
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "id": "FEAT-001",
3
+ "type": "chore",
4
+ "description": "Install dependencies and verify baseline build passes",
5
+ "status": "completed",
6
+ "steps": [
7
+ "Run 'npm install' in /projects/sandbox/cdk-serverless to install all dependencies",
8
+ "Run 'npx projen compile' to verify TypeScript compilation passes",
9
+ "Run 'npx jest --passWithNoTests' to verify existing tests pass"
10
+ ],
11
+ "acceptance_criteria": [
12
+ "npm install completes without errors",
13
+ "npx projen compile completes without TypeScript errors",
14
+ "npx jest passes all existing tests"
15
+ ],
16
+ "verification": [
17
+ "npx projen compile",
18
+ "npx jest --passWithNoTests"
19
+ ],
20
+ "blocked_reason": null,
21
+ "findings": "All 24 tests pass across 6 test suites. Deprecation warnings exist for aws-cdk-lib.aws_appsync.GraphqlApiProps#schema (should use Definition.schema) but these are non-blocking. npm install reports 9 vulnerabilities (2 low, 5 moderate, 2 high) but these are pre-existing and do not affect build/test."
22
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "id": "FEAT-002",
3
+ "type": "feat",
4
+ "description": "Add API Gateway authorizer injection into the OpenAPI spec for both Cognito User Pool and JWT (Lambda) authorizers in the RestApi construct. Create a Lambda authorizer handler for JWT signature validation.",
5
+ "status": "completed",
6
+ "steps": [
7
+ "In src/constructs/rest-api.ts, add a new method (e.g., patchSecuritySchemes) that injects the securityDefinitions/components.securitySchemes into the OpenAPI spec based on the authentication type. For Cognito: add a security scheme with x-amazon-apigateway-authorizer of type cognito_user_pools referencing the user pool ARN. For JWT: create a Lambda authorizer function and add a security scheme with x-amazon-apigateway-authorizer of type token referencing the Lambda authorizer ARN.",
8
+ "For the Cognito case in patchSecuritySchemes: Create the security scheme entry under (spec as any).securityDefinitions or spec.components.securitySchemes (use securityDefinitions for OpenAPI 2.0 compat which API Gateway REST API uses) with: { type: 'apiKey', name: 'Authorization', in: 'header', 'x-amazon-apigateway-authtype': 'cognito_user_pools', 'x-amazon-apigateway-authorizer': { type: 'cognito_user_pools', providerARNs: [userPoolArn] } }.",
9
+ "For the JWT/Lambda authorizer case in patchSecuritySchemes: Create a new LambdaFunction (for the authorizer) using an entry file at src/lambda/rest-api.jwt-authorizer.ts. The security scheme entry should use: { type: 'apiKey', name: 'Authorization', in: 'header', 'x-amazon-apigateway-authtype': 'custom', 'x-amazon-apigateway-authorizer': { type: 'token', authorizerUri: (formatArn for lambda invoke), authorizerResultTtlInSeconds: 300, identitySource: 'method.request.header.Authorization' } }. Grant API Gateway permission to invoke this Lambda.",
10
+ "Create the Lambda authorizer handler at src/lambda/rest-api.jwt-authorizer.ts that: takes an API Gateway token authorizer event, extracts the Bearer token, validates signature and expiry using the issuerUrl and JWKS URL (using the same promisedVerify / getPublicKeys pattern from src/lambda/auth.ts), and returns an IAM policy document allowing/denying invoke on the API. On success, return 'Allow' with the decoded claims in the context. On failure, throw 'Unauthorized' to return a 401.",
11
+ "Call the new patchSecuritySchemes method in the RestApi constructor BEFORE the call to patchSecurity(). This ensures the security scheme is defined before security references are moved to per-operation.",
12
+ "Ensure the patchSecurity method also applies the security scheme reference (e.g., [{ CognitoAuthorizer: [] }] or [{ JwtAuthorizer: [] }]) to each operation that has security defined. If the spec already has named security references, just ensure the scheme definition matches; if not, add the reference.",
13
+ "Ensure backward compatibility: if props.authentication is undefined/null, skip all authorizer injection - no security schemes are added.",
14
+ "Add invoke permissions for the JWT Lambda authorizer from apigateway.amazonaws.com (similar to how operation Lambda functions get invoke permissions)."
15
+ ],
16
+ "acceptance_criteria": [
17
+ "When authentication is ICognitoAuthentication, the synthesized OpenAPI spec contains securityDefinitions with a cognito_user_pools authorizer referencing the user pool ARN",
18
+ "When authentication is IJwtAuthentication, a Lambda authorizer function is created and the synthesized OpenAPI spec contains securityDefinitions with a token authorizer referencing the Lambda ARN",
19
+ "When no authentication is configured, no security schemes are added to the spec",
20
+ "The Lambda handler in src/lambda/handler.ts still calls authenticate() for fine-grained authorization (no changes to runtime handler)",
21
+ "The JWT authorizer Lambda handler validates JWT signature/expiry and returns an IAM policy",
22
+ "TypeScript compilation passes (npx projen compile)",
23
+ "All existing and new tests pass (npx jest --passWithNoTests)"
24
+ ],
25
+ "verification": [
26
+ "npx projen compile",
27
+ "npx jest --passWithNoTests"
28
+ ],
29
+ "blocked_reason": null,
30
+ "findings": "Implementation complete. The @ts-expect-error in patchSecurity was no longer needed after adding the apiMethods string[] property (includes() accepts any value without error). The StatementEffect type for the policy required using 'Allow' | 'Deny' literal types instead of plain string. All 24 existing tests pass. No new tests were added as part of this feature (FEAT-003 likely covers that)."
31
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "id": "FEAT-003",
3
+ "type": "feat",
4
+ "description": "Add unit tests for the API Gateway authorizer injection in the RestApi construct, covering Cognito, JWT, and no-auth scenarios.",
5
+ "status": "completed",
6
+ "steps": [
7
+ "Create test/constructs/rest-api.test.ts following the pattern in test/constructs/graphql.test.ts: mock LambdaFunction to avoid esbuild bundling, create a minimal OpenAPI spec inline (yaml dump to temp file), instantiate RestApi with different authentication configurations.",
8
+ "Test case 1 - Cognito authentication: Create a RestApi with ICognitoAuthentication (mock IUserPool). Use Template.fromStack() assertions to verify the SpecRestApi's Body property includes securityDefinitions with x-amazon-apigateway-authorizer of type cognito_user_pools and the correct providerARNs.",
9
+ "Test case 2 - JWT authentication: Create a RestApi with IJwtAuthentication ({ issuerUrl, audience, jwksUrl }). Assert the template includes an additional Lambda function for the authorizer and the spec includes a token-type authorizer in securityDefinitions.",
10
+ "Test case 3 - No authentication: Create a RestApi with no authentication prop. Assert no securityDefinitions or authorizer resources appear in the synthesized template.",
11
+ "Test case 4 - Verify security is applied per-operation: Create a RestApi with authentication and a spec that has global security set. Assert the synthesized spec has security on each operation (patchSecurity still works correctly with the new scheme)."
12
+ ],
13
+ "acceptance_criteria": [
14
+ "All new tests in test/constructs/rest-api.test.ts pass",
15
+ "Tests verify the Cognito authorizer configuration in the OpenAPI spec",
16
+ "Tests verify the JWT Lambda authorizer configuration in the OpenAPI spec",
17
+ "Tests verify backward compatibility when no auth is configured",
18
+ "npx jest passes"
19
+ ],
20
+ "verification": [
21
+ "npx jest test/constructs/rest-api.test.ts --passWithNoTests"
22
+ ],
23
+ "blocked_reason": null,
24
+ "findings": "All 4 test cases pass. Used toContainEqual instead of toContain for asymmetric matcher assertions. The SpecRestApi Body property contains the OpenAPI spec inline, making it straightforward to verify securityDefinitions and per-operation security. All 28 tests (including 24 pre-existing) pass. TypeScript compilation also succeeds."
25
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "id": "FEAT-004",
3
+ "type": "fix",
4
+ "description": "Address code review findings: fix OIDC discovery URL, add JWKS cache invalidation retry, and fix authorizer sourceArn permission",
5
+ "status": "completed",
6
+ "steps": [
7
+ "Fix OIDC discovery URL in src/lambda/rest-api.jwt-authorizer.ts: change '${discoveryUri}/.well-known' to '${discoveryUri}/.well-known/openid-configuration'",
8
+ "Add JWKS cache-bust retry mechanism in src/lambda/rest-api.jwt-authorizer.ts: when verification fails with a signature error, clear cacheKeys and retry once",
9
+ "Fix authorizer sourceArn in src/constructs/rest-api.ts: move the authorizer Lambda invoke permission to after SpecRestApi is created, using this.api.arnForExecuteApi()"
10
+ ],
11
+ "acceptance_criteria": [
12
+ "OIDC discovery URL uses the standard /.well-known/openid-configuration path",
13
+ "JWKS cache is cleared and verification retried when a signature error occurs",
14
+ "Authorizer Lambda invoke permission uses this.api.arnForExecuteApi() instead of this.node.addr",
15
+ "npx projen compile succeeds",
16
+ "npx jest --passWithNoTests passes all tests"
17
+ ],
18
+ "verification": [
19
+ "npx projen compile",
20
+ "npx jest --passWithNoTests"
21
+ ],
22
+ "blocked_reason": null,
23
+ "findings": "All three review findings addressed. Compilation and all 28 tests pass. The authorizer permission now correctly uses this.api.arnForExecuteApi() after the SpecRestApi is created, matching the pattern used for operation Lambda permissions."
24
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "id": "FEAT-005",
3
+ "type": "fix",
4
+ "description": "Address v2 review findings: guard against unknown kid in JWKS lookup and broaden retry condition to cover signing key not found errors",
5
+ "status": "completed",
6
+ "steps": [
7
+ "In src/lambda/rest-api.jwt-authorizer.ts, in the promisedVerify signing key callback, add a guard before accessing keys[header.kid!].pem to handle unknown kid gracefully",
8
+ "In the handler catch block, broaden the retry condition to also trigger on 'signing key not found' errors in addition to 'invalid signature'"
9
+ ],
10
+ "acceptance_criteria": [
11
+ "Unknown kid no longer crashes with TypeError; instead returns a clean error 'signing key not found for kid'",
12
+ "Retry logic triggers on both 'invalid signature' and 'signing key not found' error messages",
13
+ "npx projen compile succeeds",
14
+ "npx jest --passWithNoTests passes all tests"
15
+ ],
16
+ "verification": [
17
+ "npx projen compile",
18
+ "npx jest --passWithNoTests"
19
+ ],
20
+ "blocked_reason": null,
21
+ "findings": "Both v2 review issues fixed. Unknown kid now returns a clean error instead of crashing with TypeError. Retry condition covers both 'invalid signature' and 'signing key not found' messages. All 28 tests pass, compilation succeeds."
22
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "task_id": "task-api-gateway-authorizer",
3
+ "task_description": "Add API Gateway level authorizers (Cognito User Pool Authorizer for ICognitoAuthentication, Lambda token authorizer for IJwtAuthentication) to the RestApi construct. Inject authorizer configuration into the OpenAPI spec's securityDefinitions with x-amazon-apigateway-authorizer extensions. The Lambda handler continues doing fine-grained claims/groups validation.",
4
+ "status": "completed",
5
+ "feature_order": ["FEAT-001", "FEAT-002", "FEAT-003"],
6
+ "blocked_reason": null,
7
+ "verification": {
8
+ "build": "pass",
9
+ "tests": "pass",
10
+ "test_quality": "pass",
11
+ "docker_build": "skipped",
12
+ "summary": "TypeScript compilation passes (npx projen compile). All 28 tests pass (7 test suites). Tests exercise the new code paths: Cognito authorizer injection, JWT Lambda authorizer creation, no-auth backward compat, and per-operation security distribution."
13
+ }
14
+ }
package/README.md CHANGED
@@ -172,6 +172,70 @@ await test.cleanupItems();
172
172
  await test.removeUser('test@example.com');
173
173
  ```
174
174
 
175
+ ## Breaking Change: `axios` Removed
176
+
177
+ CDK Serverless no longer depends on `axios`. The library now uses the
178
+ platform-native `fetch` API (stable in Node.js 18+; the Lambda functions
179
+ created by this library use `Runtime.NODEJS_LATEST`, currently Node 22).
180
+
181
+ This removes one third-party runtime dependency from every Lambda bundle that
182
+ imports from `cdk-serverless/lambda` and from every test workspace that
183
+ imports from `cdk-serverless/tests`. It was motivated by repeated axios
184
+ security advisories — landing this as a deliberate breaking change so the
185
+ fix is permanent rather than chasing CVE upgrades.
186
+
187
+ ### Impact on Lambda handlers (`cdk-serverless/lambda`)
188
+
189
+ None. The internal JWKS / well-known-issuer fetches in the JWT authorizers
190
+ were the only axios call sites in the Lambda runtime code, and their public
191
+ behavior is unchanged. Errors now surface as `Error` (or a `TimeoutError`
192
+ from `AbortSignal.timeout`) instead of `AxiosError`; if you catch errors
193
+ inside the authorizer, the message text is similar but the type guard is
194
+ different.
195
+
196
+ ### Impact on `IntegTestUtil` (`cdk-serverless/tests`)
197
+
198
+ `IntegTestUtil.getClient()` and `IntegTestUtil.getAuthenticatedClient()`
199
+ previously returned an `Axios` instance. They now return a small
200
+ `HttpClient` exported from `cdk-serverless/tests`. The migration is
201
+ mechanical:
202
+
203
+ ```typescript
204
+ // Before
205
+ const client = await test.getAuthenticatedClient('test@example.com');
206
+ const response = await client.get('/items');
207
+ // response.data is the parsed JSON, response.status is the HTTP status code
208
+ const items = response.data.items;
209
+
210
+ // After
211
+ const client = await test.getAuthenticatedClient('test@example.com');
212
+ const response = await client.get('/items');
213
+ // response.body is the raw string, response.json() parses it, response.ok
214
+ // reports 2xx, response.status is the HTTP status code
215
+ const items = response.json<{ items: Item[] }>().items;
216
+ ```
217
+
218
+ The `HttpClient` exposes the methods that integration tests in this
219
+ ecosystem actually use:
220
+
221
+ - `get(path, options?)`
222
+ - `post(path, body?, options?)` — `body` may be a string or any JSON-serializable
223
+ value; objects are stringified and `Content-Type: application/json` is added
224
+ automatically if the caller did not set it.
225
+ - `put(path, body?, options?)`, `patch(path, body?, options?)`, `delete(path, options?)`
226
+
227
+ Configuration accepted by `HttpClient` and by `getClient(config)`:
228
+
229
+ - `baseURL` — prepended to relative paths.
230
+ - `headers` — default headers applied to every request; per-request `headers`
231
+ override these on collision.
232
+
233
+ If you relied on axios-specific features (interceptors, `defaults`,
234
+ `transformRequest` / `transformResponse`, automatic `data` parsing), implement
235
+ the equivalent in your test code or wrap `HttpClient`. If your use case
236
+ needs richer client features and we should expose them, please open an
237
+ issue.
238
+
175
239
  ## Contribute
176
240
 
177
241
  ### How to contribute to CDK Serverless
@@ -1 +1 @@
1
- window.hierarchyData = "eJyVlE1zwiAURf/LW2ONRCJhZ9uZjrt+7RwXND4NUwQHcOXkv3dobUtrJh+bLJL7OPcQkjM4a4MHseYlWeSEUsJKviHgcKexCsoaD+IMlMarkQcEAas7uzcq2OUp1GiCqmTMAYF3ZbYgKCsInJwGAcoEdDtZoZ+2D93U4aCBQKWl9yAg+O0krjL5mYwPa6W3Dg2I9bzcNATmZdKmu8yM8u8ynwz003FFvm40BBZ5Ar2VHpdH9ejs0feIp9GxujkrCMt4dOblNb7L8hLp8fpL4wVheRZpOSsS3IOTx/pJDxT+lx7gHIG8Hdil+Jvqf3ss48n6z+jDQJs0OkyF5dk1qsvjEhkgUaYSqxdl9hpf5ZvGexmkD9Zh31fYNjP2VBYzGs9IMUt/Cp1lWqRHFbnsQNN8ANq6jM4="
1
+ window.hierarchyData = "eJyVk0tzwiAYRf/Lt8aqRJCws+1Mx11fO8cFjWiYImQAV07+e4eatlgzeWxYhPtx7knIGZy1wQPfsBwtM4QxonO2ReDkXssiKGs88DNgHFcjjhI4rB/swahgV6dQShNUIWIOEHwqswOOCUVwcho4KBOk24tC+mn70F0ZjhoQFFp4DxyC303iKZPfybhZKr1z0gDfLPJtjWCRJ226y8wx+ynzzZB+Oq7I5UGNYJkl0Hvh5apSz85Wvkc8jY7VzQhFZMaiM8tv8V2WTaTH65rGKCIZjrSM0AT35ERVvuiBwv/SA5wjkLUDuxT/Uv1fj8xYcv6r9GGgTRodpkIyfIvq8mgi/RJ0nkqs35Q5aPkuPrR8FEH4YJ3s+wvbZsbeSnq5I/TKs7NMi/SoIs0bqOsvvTmMyA=="
@@ -15,10 +15,10 @@
15
15
  --dark-hl-6: #6A9955;
16
16
  --light-hl-7: #0070C1;
17
17
  --dark-hl-7: #4FC1FF;
18
- --light-hl-8: #098658;
19
- --dark-hl-8: #B5CEA8;
20
- --light-hl-9: #267F99;
21
- --dark-hl-9: #4EC9B0;
18
+ --light-hl-8: #267F99;
19
+ --dark-hl-8: #4EC9B0;
20
+ --light-hl-9: #098658;
21
+ --dark-hl-9: #B5CEA8;
22
22
  --light-code-background: #FFFFFF;
23
23
  --dark-code-background: #1E1E1E;
24
24
  }
@@ -1 +1 @@
1
- window.searchData = "eJy1XV2T2zay/Su3NK9aL5vfnDcn3uxNNpvNeuxs1Z1y3eKImDFjDaklKTuzLv/3WwBJqQE0yKbE+2TXiN19ABwAjdP8+Lpp6i/t5vb+6+ZTWRWbW/DT7abKn8XmdvO6bUX3fVFttptjs9/cbnb7vG1F++fxh1cfu+f9Zjv+fXO72Xzbjp4i8E+ednXVds1x19XNtLMb/UrkeLs55I2oOozrHAw8PzxFkzbdd8fdJ9HNRFNXPoxXXhHtTf2cl9Uv8i+MiIW6uuqvvizqf+pqLtRwCd8/Gvrv8la8PpRWhOHvqww89sUa9xGUayAO5cQwaNHyQ+kYg64t/lS2fzo0dSd2nSiWxf/hn29+mY38+G81pdaK+d9127Fa/LFuuzXbK/2J4n8oImqh++ssNi6MjMj5ff1UlV39+th9FFVX7vKurO1FirxqFeK6PbNoTMN3dPLu2Hb1899F2+ZP4odjtVvY1pvewXPv4PHsYAVsZSGv6V5+rev9Ekij3aG3WwHJoRF35VP1/nBJDx0a0ZZP1fGwbu8cGvGu/iSqv4pKNOrKC8F10svTycu6KI+taA4Lxw/ZXIbA98LzbM6L4n0rGkmi7/eldLAASl4UI5rdaHxhr6AF5q9Nfvj4zz21AZ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