├── .github └── issue_template.md ├── .gitignore ├── .idea ├── .gitignore └── aws.xml ├── README.md ├── api-endpoint ├── .eslintrc.json ├── .gitattributes ├── .github │ ├── pull_request_template.md │ └── workflows │ │ ├── build.yml │ │ ├── pull-request-lint.yml │ │ └── upgrade.yml ├── .gitignore ├── .mergify.yml ├── .npmignore ├── .projen │ ├── deps.json │ ├── files.json │ └── tasks.json ├── .projenrc.js ├── LICENSE ├── README.md ├── cdk.json ├── package.json ├── src │ ├── MyApiGatewayStack.ts │ ├── handlers │ │ ├── newsletter │ │ │ ├── newsletter-function.ts │ │ │ └── newsletter.lambda.ts │ │ └── reviews │ │ │ ├── reviews-handler-function.ts │ │ │ └── reviews-handler.lambda.ts │ └── main.ts ├── test │ └── main.test.ts ├── tsconfig.dev.json ├── tsconfig.json └── yarn.lock └── chapters ├── project-layout ├── lots-of-lambdas │ └── README.md └── more-complexity │ └── README.md └── testing ├── basic-snapshot-test └── README.md ├── infra-apig ├── .eslintrc.json ├── .gitattributes ├── .github │ ├── pull_request_template.md │ └── workflows │ │ ├── build.yml │ │ └── upgrade-dependencies.yml ├── .gitignore ├── .idea │ ├── infra-apig.iml │ ├── inspectionProfiles │ │ └── Project_Default.xml │ ├── jsLinters │ │ └── eslint.xml │ ├── modules.xml │ └── vcs.xml ├── .mergify.yml ├── .npmignore ├── .projen │ ├── deps.json │ └── tasks.json ├── .projenrc.js ├── .versionrc.json ├── LICENSE ├── README.md ├── cdk.json ├── package-lock.json ├── package.json ├── src │ ├── ApiTester.ts │ ├── SimpleApiWithTestsStack.ts │ ├── handlers │ │ ├── custom-resource.ts │ │ ├── proxy.ts │ │ └── runTest.ts │ └── main.ts ├── test │ └── main.test.ts ├── tsconfig.eslint.json ├── tsconfig.jest.json ├── tsconfig.json └── yarn.lock ├── infra-async ├── .eslintrc.json ├── .gitattributes ├── .github │ ├── pull_request_template.md │ └── workflows │ │ ├── build.yml │ │ └── upgrade-dependencies.yml ├── .gitignore ├── .idea │ ├── .gitignore │ ├── aws.xml │ ├── infra-async.iml │ ├── inspectionProfiles │ │ └── Project_Default.xml │ ├── jsLinters │ │ └── eslint.xml │ ├── modules.xml │ └── vcs.xml ├── .mergify.yml ├── .npmignore ├── .projen │ ├── deps.json │ └── tasks.json ├── .projenrc.js ├── .versionrc.json ├── LICENSE ├── README.md ├── cdk.json ├── package.json ├── src │ ├── PubSubStack.QueueHandler.ts │ ├── PubSubStack.ts │ ├── main.ts │ └── test-handlers │ │ ├── CheckForDLQMessage.handler.ts │ │ ├── SendCfnResponse.handler.ts │ │ └── StartTests.handler.ts ├── test │ ├── __snapshots__ │ │ └── main.test.ts.snap │ └── main.test.ts ├── tsconfig.eslint.json ├── tsconfig.jest.json ├── tsconfig.json └── yarn.lock └── refactoring ├── .eslintrc.json ├── .gitattributes ├── .github ├── pull_request_template.md └── workflows │ ├── build.yml │ ├── stale.yml │ └── upgrade.yml ├── .gitignore ├── .idea ├── .gitignore ├── aws.xml ├── inspectionProfiles │ └── Project_Default.xml ├── jsLibraryMappings.xml ├── jsLinters │ └── eslint.xml ├── modules.xml ├── refactoring.iml └── vcs.xml ├── .mergify.yml ├── .npmignore ├── .projen ├── deps.json └── tasks.json ├── .projenrc.js ├── LICENSE ├── README.md ├── cdk.json ├── package-lock.json ├── package.json ├── src ├── LogicalIdMapper.ts ├── OriginalStack.ts ├── RefactoredStack.ts ├── SomeConstruct.ts └── main.ts ├── test ├── __snapshots__ │ └── main.test.ts.snap └── main.test.ts ├── tsconfig.eslint.json ├── tsconfig.jest.json ├── tsconfig.json └── yarn.lock /.github/issue_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/.github/issue_template.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/.idea/.gitignore -------------------------------------------------------------------------------- /.idea/aws.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/.idea/aws.xml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/README.md -------------------------------------------------------------------------------- /api-endpoint/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/.eslintrc.json -------------------------------------------------------------------------------- /api-endpoint/.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/.gitattributes -------------------------------------------------------------------------------- /api-endpoint/.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | Fixes # -------------------------------------------------------------------------------- /api-endpoint/.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/.github/workflows/build.yml -------------------------------------------------------------------------------- /api-endpoint/.github/workflows/pull-request-lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/.github/workflows/pull-request-lint.yml -------------------------------------------------------------------------------- /api-endpoint/.github/workflows/upgrade.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/.github/workflows/upgrade.yml -------------------------------------------------------------------------------- /api-endpoint/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/.gitignore -------------------------------------------------------------------------------- /api-endpoint/.mergify.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/.mergify.yml -------------------------------------------------------------------------------- /api-endpoint/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/.npmignore -------------------------------------------------------------------------------- /api-endpoint/.projen/deps.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/.projen/deps.json -------------------------------------------------------------------------------- /api-endpoint/.projen/files.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/.projen/files.json -------------------------------------------------------------------------------- /api-endpoint/.projen/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/.projen/tasks.json -------------------------------------------------------------------------------- /api-endpoint/.projenrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/.projenrc.js -------------------------------------------------------------------------------- /api-endpoint/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/LICENSE -------------------------------------------------------------------------------- /api-endpoint/README.md: -------------------------------------------------------------------------------- 1 | # replace this -------------------------------------------------------------------------------- /api-endpoint/cdk.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/cdk.json -------------------------------------------------------------------------------- /api-endpoint/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/package.json -------------------------------------------------------------------------------- /api-endpoint/src/MyApiGatewayStack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/src/MyApiGatewayStack.ts -------------------------------------------------------------------------------- /api-endpoint/src/handlers/newsletter/newsletter-function.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/src/handlers/newsletter/newsletter-function.ts -------------------------------------------------------------------------------- /api-endpoint/src/handlers/newsletter/newsletter.lambda.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/src/handlers/newsletter/newsletter.lambda.ts -------------------------------------------------------------------------------- /api-endpoint/src/handlers/reviews/reviews-handler-function.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/src/handlers/reviews/reviews-handler-function.ts -------------------------------------------------------------------------------- /api-endpoint/src/handlers/reviews/reviews-handler.lambda.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/src/handlers/reviews/reviews-handler.lambda.ts -------------------------------------------------------------------------------- /api-endpoint/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/src/main.ts -------------------------------------------------------------------------------- /api-endpoint/test/main.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/test/main.test.ts -------------------------------------------------------------------------------- /api-endpoint/tsconfig.dev.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/tsconfig.dev.json -------------------------------------------------------------------------------- /api-endpoint/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/tsconfig.json -------------------------------------------------------------------------------- /api-endpoint/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/api-endpoint/yarn.lock -------------------------------------------------------------------------------- /chapters/project-layout/lots-of-lambdas/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapters/project-layout/more-complexity/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapters/testing/basic-snapshot-test/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapters/testing/infra-apig/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/.eslintrc.json -------------------------------------------------------------------------------- /chapters/testing/infra-apig/.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/.gitattributes -------------------------------------------------------------------------------- /chapters/testing/infra-apig/.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | Fixes # -------------------------------------------------------------------------------- /chapters/testing/infra-apig/.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/.github/workflows/build.yml -------------------------------------------------------------------------------- /chapters/testing/infra-apig/.github/workflows/upgrade-dependencies.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/.github/workflows/upgrade-dependencies.yml -------------------------------------------------------------------------------- /chapters/testing/infra-apig/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/.gitignore -------------------------------------------------------------------------------- /chapters/testing/infra-apig/.idea/infra-apig.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/.idea/infra-apig.iml -------------------------------------------------------------------------------- /chapters/testing/infra-apig/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/.idea/inspectionProfiles/Project_Default.xml -------------------------------------------------------------------------------- /chapters/testing/infra-apig/.idea/jsLinters/eslint.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/.idea/jsLinters/eslint.xml -------------------------------------------------------------------------------- /chapters/testing/infra-apig/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/.idea/modules.xml -------------------------------------------------------------------------------- /chapters/testing/infra-apig/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/.idea/vcs.xml -------------------------------------------------------------------------------- /chapters/testing/infra-apig/.mergify.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/.mergify.yml -------------------------------------------------------------------------------- /chapters/testing/infra-apig/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/.npmignore -------------------------------------------------------------------------------- /chapters/testing/infra-apig/.projen/deps.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/.projen/deps.json -------------------------------------------------------------------------------- /chapters/testing/infra-apig/.projen/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/.projen/tasks.json -------------------------------------------------------------------------------- /chapters/testing/infra-apig/.projenrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/.projenrc.js -------------------------------------------------------------------------------- /chapters/testing/infra-apig/.versionrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/.versionrc.json -------------------------------------------------------------------------------- /chapters/testing/infra-apig/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/LICENSE -------------------------------------------------------------------------------- /chapters/testing/infra-apig/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/README.md -------------------------------------------------------------------------------- /chapters/testing/infra-apig/cdk.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/cdk.json -------------------------------------------------------------------------------- /chapters/testing/infra-apig/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/package-lock.json -------------------------------------------------------------------------------- /chapters/testing/infra-apig/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/package.json -------------------------------------------------------------------------------- /chapters/testing/infra-apig/src/ApiTester.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/src/ApiTester.ts -------------------------------------------------------------------------------- /chapters/testing/infra-apig/src/SimpleApiWithTestsStack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/src/SimpleApiWithTestsStack.ts -------------------------------------------------------------------------------- /chapters/testing/infra-apig/src/handlers/custom-resource.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/src/handlers/custom-resource.ts -------------------------------------------------------------------------------- /chapters/testing/infra-apig/src/handlers/proxy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/src/handlers/proxy.ts -------------------------------------------------------------------------------- /chapters/testing/infra-apig/src/handlers/runTest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/src/handlers/runTest.ts -------------------------------------------------------------------------------- /chapters/testing/infra-apig/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/src/main.ts -------------------------------------------------------------------------------- /chapters/testing/infra-apig/test/main.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/test/main.test.ts -------------------------------------------------------------------------------- /chapters/testing/infra-apig/tsconfig.eslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/tsconfig.eslint.json -------------------------------------------------------------------------------- /chapters/testing/infra-apig/tsconfig.jest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/tsconfig.jest.json -------------------------------------------------------------------------------- /chapters/testing/infra-apig/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/tsconfig.json -------------------------------------------------------------------------------- /chapters/testing/infra-apig/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-apig/yarn.lock -------------------------------------------------------------------------------- /chapters/testing/infra-async/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/.eslintrc.json -------------------------------------------------------------------------------- /chapters/testing/infra-async/.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/.gitattributes -------------------------------------------------------------------------------- /chapters/testing/infra-async/.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | Fixes # -------------------------------------------------------------------------------- /chapters/testing/infra-async/.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/.github/workflows/build.yml -------------------------------------------------------------------------------- /chapters/testing/infra-async/.github/workflows/upgrade-dependencies.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/.github/workflows/upgrade-dependencies.yml -------------------------------------------------------------------------------- /chapters/testing/infra-async/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/.gitignore -------------------------------------------------------------------------------- /chapters/testing/infra-async/.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/.idea/.gitignore -------------------------------------------------------------------------------- /chapters/testing/infra-async/.idea/aws.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/.idea/aws.xml -------------------------------------------------------------------------------- /chapters/testing/infra-async/.idea/infra-async.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/.idea/infra-async.iml -------------------------------------------------------------------------------- /chapters/testing/infra-async/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/.idea/inspectionProfiles/Project_Default.xml -------------------------------------------------------------------------------- /chapters/testing/infra-async/.idea/jsLinters/eslint.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/.idea/jsLinters/eslint.xml -------------------------------------------------------------------------------- /chapters/testing/infra-async/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/.idea/modules.xml -------------------------------------------------------------------------------- /chapters/testing/infra-async/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/.idea/vcs.xml -------------------------------------------------------------------------------- /chapters/testing/infra-async/.mergify.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/.mergify.yml -------------------------------------------------------------------------------- /chapters/testing/infra-async/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/.npmignore -------------------------------------------------------------------------------- /chapters/testing/infra-async/.projen/deps.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/.projen/deps.json -------------------------------------------------------------------------------- /chapters/testing/infra-async/.projen/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/.projen/tasks.json -------------------------------------------------------------------------------- /chapters/testing/infra-async/.projenrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/.projenrc.js -------------------------------------------------------------------------------- /chapters/testing/infra-async/.versionrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/.versionrc.json -------------------------------------------------------------------------------- /chapters/testing/infra-async/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/LICENSE -------------------------------------------------------------------------------- /chapters/testing/infra-async/README.md: -------------------------------------------------------------------------------- 1 | # replace this -------------------------------------------------------------------------------- /chapters/testing/infra-async/cdk.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/cdk.json -------------------------------------------------------------------------------- /chapters/testing/infra-async/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/package.json -------------------------------------------------------------------------------- /chapters/testing/infra-async/src/PubSubStack.QueueHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/src/PubSubStack.QueueHandler.ts -------------------------------------------------------------------------------- /chapters/testing/infra-async/src/PubSubStack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/src/PubSubStack.ts -------------------------------------------------------------------------------- /chapters/testing/infra-async/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/src/main.ts -------------------------------------------------------------------------------- /chapters/testing/infra-async/src/test-handlers/CheckForDLQMessage.handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/src/test-handlers/CheckForDLQMessage.handler.ts -------------------------------------------------------------------------------- /chapters/testing/infra-async/src/test-handlers/SendCfnResponse.handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/src/test-handlers/SendCfnResponse.handler.ts -------------------------------------------------------------------------------- /chapters/testing/infra-async/src/test-handlers/StartTests.handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/src/test-handlers/StartTests.handler.ts -------------------------------------------------------------------------------- /chapters/testing/infra-async/test/__snapshots__/main.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/test/__snapshots__/main.test.ts.snap -------------------------------------------------------------------------------- /chapters/testing/infra-async/test/main.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/test/main.test.ts -------------------------------------------------------------------------------- /chapters/testing/infra-async/tsconfig.eslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/tsconfig.eslint.json -------------------------------------------------------------------------------- /chapters/testing/infra-async/tsconfig.jest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/tsconfig.jest.json -------------------------------------------------------------------------------- /chapters/testing/infra-async/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/tsconfig.json -------------------------------------------------------------------------------- /chapters/testing/infra-async/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/infra-async/yarn.lock -------------------------------------------------------------------------------- /chapters/testing/refactoring/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/.eslintrc.json -------------------------------------------------------------------------------- /chapters/testing/refactoring/.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/.gitattributes -------------------------------------------------------------------------------- /chapters/testing/refactoring/.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | Fixes # -------------------------------------------------------------------------------- /chapters/testing/refactoring/.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/.github/workflows/build.yml -------------------------------------------------------------------------------- /chapters/testing/refactoring/.github/workflows/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/.github/workflows/stale.yml -------------------------------------------------------------------------------- /chapters/testing/refactoring/.github/workflows/upgrade.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/.github/workflows/upgrade.yml -------------------------------------------------------------------------------- /chapters/testing/refactoring/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/.gitignore -------------------------------------------------------------------------------- /chapters/testing/refactoring/.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/.idea/.gitignore -------------------------------------------------------------------------------- /chapters/testing/refactoring/.idea/aws.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/.idea/aws.xml -------------------------------------------------------------------------------- /chapters/testing/refactoring/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/.idea/inspectionProfiles/Project_Default.xml -------------------------------------------------------------------------------- /chapters/testing/refactoring/.idea/jsLibraryMappings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/.idea/jsLibraryMappings.xml -------------------------------------------------------------------------------- /chapters/testing/refactoring/.idea/jsLinters/eslint.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/.idea/jsLinters/eslint.xml -------------------------------------------------------------------------------- /chapters/testing/refactoring/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/.idea/modules.xml -------------------------------------------------------------------------------- /chapters/testing/refactoring/.idea/refactoring.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/.idea/refactoring.iml -------------------------------------------------------------------------------- /chapters/testing/refactoring/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/.idea/vcs.xml -------------------------------------------------------------------------------- /chapters/testing/refactoring/.mergify.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/.mergify.yml -------------------------------------------------------------------------------- /chapters/testing/refactoring/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/.npmignore -------------------------------------------------------------------------------- /chapters/testing/refactoring/.projen/deps.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/.projen/deps.json -------------------------------------------------------------------------------- /chapters/testing/refactoring/.projen/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/.projen/tasks.json -------------------------------------------------------------------------------- /chapters/testing/refactoring/.projenrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/.projenrc.js -------------------------------------------------------------------------------- /chapters/testing/refactoring/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/LICENSE -------------------------------------------------------------------------------- /chapters/testing/refactoring/README.md: -------------------------------------------------------------------------------- 1 | # replace this -------------------------------------------------------------------------------- /chapters/testing/refactoring/cdk.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/cdk.json -------------------------------------------------------------------------------- /chapters/testing/refactoring/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/package-lock.json -------------------------------------------------------------------------------- /chapters/testing/refactoring/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/package.json -------------------------------------------------------------------------------- /chapters/testing/refactoring/src/LogicalIdMapper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/src/LogicalIdMapper.ts -------------------------------------------------------------------------------- /chapters/testing/refactoring/src/OriginalStack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/src/OriginalStack.ts -------------------------------------------------------------------------------- /chapters/testing/refactoring/src/RefactoredStack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/src/RefactoredStack.ts -------------------------------------------------------------------------------- /chapters/testing/refactoring/src/SomeConstruct.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/src/SomeConstruct.ts -------------------------------------------------------------------------------- /chapters/testing/refactoring/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/src/main.ts -------------------------------------------------------------------------------- /chapters/testing/refactoring/test/__snapshots__/main.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/test/__snapshots__/main.test.ts.snap -------------------------------------------------------------------------------- /chapters/testing/refactoring/test/main.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/test/main.test.ts -------------------------------------------------------------------------------- /chapters/testing/refactoring/tsconfig.eslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/tsconfig.eslint.json -------------------------------------------------------------------------------- /chapters/testing/refactoring/tsconfig.jest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/tsconfig.jest.json -------------------------------------------------------------------------------- /chapters/testing/refactoring/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/tsconfig.json -------------------------------------------------------------------------------- /chapters/testing/refactoring/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdkbook/examples/HEAD/chapters/testing/refactoring/yarn.lock --------------------------------------------------------------------------------