├── .changeset ├── README.md └── config.json ├── .editorconfig ├── .github ├── PULL_REQUEST_TEMPLATE.md ├── dependabot.yml └── workflows │ ├── cd.yaml │ ├── ci-integration-test.yaml │ ├── ci.yaml │ ├── stale.yml │ └── update-aws-cdk.yaml ├── .gitignore ├── .nvmrc ├── .prettierrc ├── .vscode ├── extensions.json └── settings.json ├── CHANGELOG.md ├── CODEOWNERS ├── README.md ├── bin └── gu-cdk ├── docs ├── architecture-decision-records │ ├── 000-template.md │ ├── 001-constructs-and-patterns.md │ ├── 002-component-constuctors.md │ ├── 003-package-manager.md │ ├── 004-testing.md │ ├── 005-package-structure.md │ ├── 005-x01-package-structure.md │ └── 006-stage-awareness.md ├── best-practices.md ├── contributing.md ├── migration-guide-api-with-lambda.md ├── migration-guide-ec2.md ├── migration-guide-scheduled-lambda.md ├── migration-guide.md ├── setting-up-a-gucdk-project.md └── stateful-resources.md ├── eslint.config.mjs ├── jest.config.js ├── jest.setup.js ├── package.json ├── script ├── build ├── check-yarn-lock ├── ci ├── ci-project-generation ├── cli ├── lint ├── setup ├── start ├── start-docs ├── test └── update-aws-cdk ├── src ├── aspects │ ├── __data__ │ │ └── cfn.yaml │ ├── cfn-include-reporter.test.ts │ ├── cfn-include-reporter.ts │ ├── cfn-parameter-reporter.test.ts │ ├── cfn-parameter-reporter.ts │ ├── metadata.test.ts │ └── metadata.ts ├── bin │ ├── aws-credential-provider.ts │ ├── commands │ │ ├── account-readiness │ │ │ ├── index.ts │ │ │ └── ssm.ts │ │ ├── aws-cdk-version.ts │ │ └── new-project │ │ │ ├── index.ts │ │ │ ├── template │ │ │ ├── .gitignore.template │ │ │ ├── README.md │ │ │ ├── bin │ │ │ │ └── .ignore │ │ │ ├── cdk.json │ │ │ ├── eslint.config.mjs │ │ │ ├── jest.setup.js │ │ │ └── tsconfig.json.template │ │ │ └── utils │ │ │ ├── app.ts │ │ │ ├── imports.ts │ │ │ ├── init.ts │ │ │ ├── snapshot.ts │ │ │ ├── stack.ts │ │ │ └── utils.ts │ └── index.ts ├── constants │ ├── __mocks__ │ │ ├── library-info.ts │ │ └── tracking-tag.ts │ ├── access.ts │ ├── context-keys.ts │ ├── fastly-aws-account-id.ts │ ├── index.ts │ ├── library-info.ts │ ├── metadata-keys.ts │ ├── regex-pattern.test.ts │ ├── regex-pattern.ts │ ├── ssm-parameter-paths.ts │ └── tracking-tag.ts ├── constructs │ ├── acm │ │ ├── __snapshots__ │ │ │ └── certificate.test.ts.snap │ │ ├── certificate.test.ts │ │ ├── certificate.ts │ │ └── index.ts │ ├── autoscaling │ │ ├── asg.test.ts │ │ ├── asg.ts │ │ ├── index.ts │ │ ├── user-data.test.ts │ │ └── user-data.ts │ ├── cloudwatch │ │ ├── __snapshots__ │ │ │ ├── api-gateway-alarms.test.ts.snap │ │ │ ├── ec2-alarms.test.ts.snap │ │ │ └── lambda-alarms.test.ts.snap │ │ ├── alarm.test.ts │ │ ├── alarm.ts │ │ ├── api-gateway-alarms.test.ts │ │ ├── api-gateway-alarms.ts │ │ ├── ec2-alarms.test.ts │ │ ├── ec2-alarms.ts │ │ ├── index.ts │ │ ├── lambda-alarms.test.ts │ │ ├── lambda-alarms.ts │ │ └── no-monitoring.ts │ ├── core │ │ ├── identity.test.ts │ │ ├── identity.ts │ │ ├── index.ts │ │ ├── migrating.ts │ │ ├── parameters │ │ │ ├── acm.ts │ │ │ ├── anghammarad.ts │ │ │ ├── base.test.ts │ │ │ ├── base.ts │ │ │ ├── ec2.ts │ │ │ ├── fastly.ts │ │ │ ├── index.ts │ │ │ ├── log-shipping.ts │ │ │ ├── s3.test.ts │ │ │ ├── s3.ts │ │ │ ├── vpc.test.ts │ │ │ └── vpc.ts │ │ ├── stack.test.ts │ │ └── stack.ts │ ├── dns │ │ ├── __snapshots__ │ │ │ └── dns-records.test.ts.snap │ │ ├── dns-records.test.ts │ │ ├── dns-records.ts │ │ └── index.ts │ ├── dynamodb │ │ ├── dynamodb.test.ts │ │ ├── dynamodb.ts │ │ └── index.ts │ ├── ec2 │ │ ├── index.ts │ │ ├── security-groups │ │ │ ├── base.test.ts │ │ │ ├── base.ts │ │ │ └── index.ts │ │ ├── vpc.test.ts │ │ └── vpc.ts │ ├── ecs │ │ ├── __snapshots__ │ │ │ └── ecs-task.test.ts.snap │ │ ├── ecs-task.test.ts │ │ ├── ecs-task.ts │ │ └── index.ts │ ├── iam │ │ ├── __snapshots__ │ │ │ └── fastly-logs-iam.test.ts.snap │ │ ├── fastly-logs-iam.test.ts │ │ ├── fastly-logs-iam.ts │ │ ├── index.ts │ │ ├── policies │ │ │ ├── __snapshots__ │ │ │ │ └── log-shipping.test.ts.snap │ │ │ ├── anghammarad.test.ts │ │ │ ├── anghammarad.ts │ │ │ ├── assume-role.test.ts │ │ │ ├── assume-role.ts │ │ │ ├── base-policy.test.ts │ │ │ ├── base-policy.ts │ │ │ ├── cloudwatch.test.ts │ │ │ ├── cloudwatch.ts │ │ │ ├── describe-ec2.test.ts │ │ │ ├── describe-ec2.ts │ │ │ ├── dynamodb.test.ts │ │ │ ├── dynamodb.ts │ │ │ ├── index.ts │ │ │ ├── kcl.test.ts │ │ │ ├── kcl.ts │ │ │ ├── log-shipping.test.ts │ │ │ ├── log-shipping.ts │ │ │ ├── parameter-store-read.test.ts │ │ │ ├── parameter-store-read.ts │ │ │ ├── s3-get-object.test.ts │ │ │ ├── s3-get-object.ts │ │ │ ├── s3-put-object.test.ts │ │ │ ├── s3-put-object.ts │ │ │ ├── ses.test.ts │ │ │ ├── ses.ts │ │ │ └── ssm-ssh.ts │ │ └── roles │ │ │ ├── __snapshots__ │ │ │ ├── github-actions.test.ts.snap │ │ │ └── instance-role.test.ts.snap │ │ │ ├── github-actions.test.ts │ │ │ ├── github-actions.ts │ │ │ ├── index.ts │ │ │ ├── instance-role.test.ts │ │ │ ├── instance-role.ts │ │ │ └── roles.ts │ ├── kinesis │ │ ├── index.ts │ │ └── kinesis-stream.ts │ ├── lambda │ │ ├── index.ts │ │ ├── lambda.test.ts │ │ └── lambda.ts │ ├── loadbalancing │ │ ├── alb │ │ │ ├── application-listener.test.ts │ │ │ ├── application-listener.ts │ │ │ ├── application-load-balancer.test.ts │ │ │ ├── application-load-balancer.ts │ │ │ ├── application-target-group.test.ts │ │ │ ├── application-target-group.ts │ │ │ └── index.ts │ │ └── index.ts │ ├── rds │ │ ├── index.ts │ │ ├── instance.test.ts │ │ └── instance.ts │ ├── root.ts │ ├── s3 │ │ ├── __snapshots__ │ │ │ └── index.test.ts.snap │ │ ├── index.test.ts │ │ └── index.ts │ ├── ses │ │ ├── index.test.ts │ │ └── index.ts │ └── vpc │ │ ├── __snapshots__ │ │ └── vpc.test.ts.snap │ │ ├── index.ts │ │ ├── vpc.test.ts │ │ └── vpc.ts ├── experimental │ ├── README.md │ ├── constructs │ │ ├── iam │ │ │ ├── index.ts │ │ │ └── roles │ │ │ │ ├── __snapshots__ │ │ │ │ └── fastly-kinesis-log.test.ts.snap │ │ │ │ ├── fastly-kinesis-log.test.ts │ │ │ │ ├── fastly-kinesis-log.ts │ │ │ │ └── index.ts │ │ └── policies │ │ │ ├── index.ts │ │ │ ├── kinesis-put-records.test.ts │ │ │ └── kinesis-put-records.ts │ └── patterns │ │ ├── __snapshots__ │ │ ├── ec2-app.test.ts.snap │ │ ├── kinesis-lambda.test.ts.snap │ │ └── sns-lambda.test.ts.snap │ │ ├── ec2-app.test.ts │ │ ├── ec2-app.ts │ │ ├── index.ts │ │ ├── kinesis-lambda.test.ts │ │ ├── kinesis-lambda.ts │ │ ├── sns-lambda.test.ts │ │ └── sns-lambda.ts ├── index.ts ├── patterns │ ├── __snapshots__ │ │ ├── api-lambda.test.ts.snap │ │ ├── api-multiple-lambdas.test.ts.snap │ │ └── scheduled-lambda.test.ts.snap │ ├── api-lambda.test.ts │ ├── api-lambda.ts │ ├── api-multiple-lambdas.test.ts │ ├── api-multiple-lambdas.ts │ ├── ec2-app │ │ ├── __snapshots__ │ │ │ └── base.test.ts.snap │ │ ├── base.test.ts │ │ ├── base.ts │ │ ├── framework.test.ts │ │ ├── framework.ts │ │ └── index.ts │ ├── index.ts │ ├── scheduled-ecs-task.test.ts │ ├── scheduled-ecs-task.ts │ ├── scheduled-lambda.test.ts │ └── scheduled-lambda.ts ├── riff-raff-yaml-file │ ├── README.md │ ├── deployments │ │ ├── autoscaling.ts │ │ ├── cloudformation.ts │ │ └── lambda.ts │ ├── group-by.ts │ ├── index.test.ts │ ├── index.ts │ └── types.ts ├── types │ ├── access.test.ts │ ├── access.ts │ ├── amigo.ts │ ├── asg.ts │ ├── cli.ts │ ├── distributable.ts │ ├── domain-names.ts │ └── index.ts └── utils │ ├── array.test.ts │ ├── array.ts │ ├── cli │ ├── vpc.test.ts │ └── vpc.ts │ ├── cognito │ ├── cognito.test.ts │ └── cognito.ts │ ├── ec2 │ ├── index.ts │ └── private-config.ts │ ├── exec.ts │ ├── git.ts │ ├── lambda │ ├── event-source.ts │ └── index.ts │ ├── math.test.ts │ ├── math.ts │ ├── mixin │ ├── __snapshots__ │ │ └── app-aware-contruct.test.ts.snap │ ├── app-aware-construct.ts │ ├── app-aware-contruct.test.ts │ └── types.ts │ ├── security-groups │ ├── helpers.test.ts │ ├── helpers.ts │ └── index.ts │ ├── singleton.ts │ ├── string.test.ts │ ├── string.ts │ └── test │ ├── assertions.ts │ ├── attach-policy-to-test-role.ts │ ├── index.ts │ ├── simple-gu-stack.ts │ └── template.ts ├── tools ├── eslint │ ├── README.md │ ├── index.js │ ├── package.json │ └── rules │ │ ├── experimental-classes.js │ │ ├── experimental-classes.test.ts │ │ ├── valid-constructors.js │ │ └── valid-constructors.test.ts └── integration-test │ ├── .gitignore │ ├── .nvmrc │ ├── .prettierrc │ ├── README.md │ ├── bin │ └── cdk.ts │ ├── cdk.json │ ├── eslint.config.mjs │ ├── jest.config.js │ ├── package.json │ ├── script │ ├── build │ ├── ci │ ├── lint │ ├── setup │ ├── start │ └── test │ ├── src │ ├── __snapshots__ │ │ └── integration-test-stack.test.ts.snap │ ├── integration-test-stack.test.ts │ └── integration-test-stack.ts │ └── tsconfig.json ├── tsconfig.eslint.json ├── tsconfig.json ├── tsconfig.test.json └── typedoc.js /.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/.changeset/README.md -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/cd.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/.github/workflows/cd.yaml -------------------------------------------------------------------------------- /.github/workflows/ci-integration-test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/.github/workflows/ci-integration-test.yaml -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.github/workflows/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/.github/workflows/stale.yml -------------------------------------------------------------------------------- /.github/workflows/update-aws-cdk.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/.github/workflows/update-aws-cdk.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/.gitignore -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v22.16.0 2 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 120 3 | } 4 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @guardian/devx-operations 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/README.md -------------------------------------------------------------------------------- /bin/gu-cdk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/bin/gu-cdk -------------------------------------------------------------------------------- /docs/architecture-decision-records/000-template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/docs/architecture-decision-records/000-template.md -------------------------------------------------------------------------------- /docs/architecture-decision-records/001-constructs-and-patterns.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/docs/architecture-decision-records/001-constructs-and-patterns.md -------------------------------------------------------------------------------- /docs/architecture-decision-records/002-component-constuctors.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/docs/architecture-decision-records/002-component-constuctors.md -------------------------------------------------------------------------------- /docs/architecture-decision-records/003-package-manager.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/docs/architecture-decision-records/003-package-manager.md -------------------------------------------------------------------------------- /docs/architecture-decision-records/004-testing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/docs/architecture-decision-records/004-testing.md -------------------------------------------------------------------------------- /docs/architecture-decision-records/005-package-structure.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/docs/architecture-decision-records/005-package-structure.md -------------------------------------------------------------------------------- /docs/architecture-decision-records/005-x01-package-structure.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/docs/architecture-decision-records/005-x01-package-structure.md -------------------------------------------------------------------------------- /docs/architecture-decision-records/006-stage-awareness.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/docs/architecture-decision-records/006-stage-awareness.md -------------------------------------------------------------------------------- /docs/best-practices.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/docs/best-practices.md -------------------------------------------------------------------------------- /docs/contributing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/docs/contributing.md -------------------------------------------------------------------------------- /docs/migration-guide-api-with-lambda.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/docs/migration-guide-api-with-lambda.md -------------------------------------------------------------------------------- /docs/migration-guide-ec2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/docs/migration-guide-ec2.md -------------------------------------------------------------------------------- /docs/migration-guide-scheduled-lambda.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/docs/migration-guide-scheduled-lambda.md -------------------------------------------------------------------------------- /docs/migration-guide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/docs/migration-guide.md -------------------------------------------------------------------------------- /docs/setting-up-a-gucdk-project.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/docs/setting-up-a-gucdk-project.md -------------------------------------------------------------------------------- /docs/stateful-resources.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/docs/stateful-resources.md -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/jest.config.js -------------------------------------------------------------------------------- /jest.setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/jest.setup.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/package.json -------------------------------------------------------------------------------- /script/build: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/script/build -------------------------------------------------------------------------------- /script/check-yarn-lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/script/check-yarn-lock -------------------------------------------------------------------------------- /script/ci: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/script/ci -------------------------------------------------------------------------------- /script/ci-project-generation: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/script/ci-project-generation -------------------------------------------------------------------------------- /script/cli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/script/cli -------------------------------------------------------------------------------- /script/lint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/script/lint -------------------------------------------------------------------------------- /script/setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | npm install 6 | -------------------------------------------------------------------------------- /script/start: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | npm run test:dev 6 | -------------------------------------------------------------------------------- /script/start-docs: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | npm run serve:docs 6 | -------------------------------------------------------------------------------- /script/test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/script/test -------------------------------------------------------------------------------- /script/update-aws-cdk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/script/update-aws-cdk -------------------------------------------------------------------------------- /src/aspects/__data__/cfn.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/aspects/__data__/cfn.yaml -------------------------------------------------------------------------------- /src/aspects/cfn-include-reporter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/aspects/cfn-include-reporter.test.ts -------------------------------------------------------------------------------- /src/aspects/cfn-include-reporter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/aspects/cfn-include-reporter.ts -------------------------------------------------------------------------------- /src/aspects/cfn-parameter-reporter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/aspects/cfn-parameter-reporter.test.ts -------------------------------------------------------------------------------- /src/aspects/cfn-parameter-reporter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/aspects/cfn-parameter-reporter.ts -------------------------------------------------------------------------------- /src/aspects/metadata.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/aspects/metadata.test.ts -------------------------------------------------------------------------------- /src/aspects/metadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/aspects/metadata.ts -------------------------------------------------------------------------------- /src/bin/aws-credential-provider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/bin/aws-credential-provider.ts -------------------------------------------------------------------------------- /src/bin/commands/account-readiness/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/bin/commands/account-readiness/index.ts -------------------------------------------------------------------------------- /src/bin/commands/account-readiness/ssm.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/bin/commands/account-readiness/ssm.ts -------------------------------------------------------------------------------- /src/bin/commands/aws-cdk-version.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/bin/commands/aws-cdk-version.ts -------------------------------------------------------------------------------- /src/bin/commands/new-project/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/bin/commands/new-project/index.ts -------------------------------------------------------------------------------- /src/bin/commands/new-project/template/.gitignore.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/bin/commands/new-project/template/.gitignore.template -------------------------------------------------------------------------------- /src/bin/commands/new-project/template/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/bin/commands/new-project/template/README.md -------------------------------------------------------------------------------- /src/bin/commands/new-project/template/bin/.ignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/bin/commands/new-project/template/bin/.ignore -------------------------------------------------------------------------------- /src/bin/commands/new-project/template/cdk.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/bin/commands/new-project/template/cdk.json -------------------------------------------------------------------------------- /src/bin/commands/new-project/template/eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/bin/commands/new-project/template/eslint.config.mjs -------------------------------------------------------------------------------- /src/bin/commands/new-project/template/jest.setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/bin/commands/new-project/template/jest.setup.js -------------------------------------------------------------------------------- /src/bin/commands/new-project/template/tsconfig.json.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/bin/commands/new-project/template/tsconfig.json.template -------------------------------------------------------------------------------- /src/bin/commands/new-project/utils/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/bin/commands/new-project/utils/app.ts -------------------------------------------------------------------------------- /src/bin/commands/new-project/utils/imports.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/bin/commands/new-project/utils/imports.ts -------------------------------------------------------------------------------- /src/bin/commands/new-project/utils/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/bin/commands/new-project/utils/init.ts -------------------------------------------------------------------------------- /src/bin/commands/new-project/utils/snapshot.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/bin/commands/new-project/utils/snapshot.ts -------------------------------------------------------------------------------- /src/bin/commands/new-project/utils/stack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/bin/commands/new-project/utils/stack.ts -------------------------------------------------------------------------------- /src/bin/commands/new-project/utils/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/bin/commands/new-project/utils/utils.ts -------------------------------------------------------------------------------- /src/bin/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/bin/index.ts -------------------------------------------------------------------------------- /src/constants/__mocks__/library-info.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constants/__mocks__/library-info.ts -------------------------------------------------------------------------------- /src/constants/__mocks__/tracking-tag.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constants/__mocks__/tracking-tag.ts -------------------------------------------------------------------------------- /src/constants/access.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constants/access.ts -------------------------------------------------------------------------------- /src/constants/context-keys.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constants/context-keys.ts -------------------------------------------------------------------------------- /src/constants/fastly-aws-account-id.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constants/fastly-aws-account-id.ts -------------------------------------------------------------------------------- /src/constants/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constants/index.ts -------------------------------------------------------------------------------- /src/constants/library-info.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constants/library-info.ts -------------------------------------------------------------------------------- /src/constants/metadata-keys.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constants/metadata-keys.ts -------------------------------------------------------------------------------- /src/constants/regex-pattern.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constants/regex-pattern.test.ts -------------------------------------------------------------------------------- /src/constants/regex-pattern.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constants/regex-pattern.ts -------------------------------------------------------------------------------- /src/constants/ssm-parameter-paths.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constants/ssm-parameter-paths.ts -------------------------------------------------------------------------------- /src/constants/tracking-tag.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constants/tracking-tag.ts -------------------------------------------------------------------------------- /src/constructs/acm/__snapshots__/certificate.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/acm/__snapshots__/certificate.test.ts.snap -------------------------------------------------------------------------------- /src/constructs/acm/certificate.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/acm/certificate.test.ts -------------------------------------------------------------------------------- /src/constructs/acm/certificate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/acm/certificate.ts -------------------------------------------------------------------------------- /src/constructs/acm/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./certificate"; 2 | -------------------------------------------------------------------------------- /src/constructs/autoscaling/asg.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/autoscaling/asg.test.ts -------------------------------------------------------------------------------- /src/constructs/autoscaling/asg.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/autoscaling/asg.ts -------------------------------------------------------------------------------- /src/constructs/autoscaling/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/autoscaling/index.ts -------------------------------------------------------------------------------- /src/constructs/autoscaling/user-data.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/autoscaling/user-data.test.ts -------------------------------------------------------------------------------- /src/constructs/autoscaling/user-data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/autoscaling/user-data.ts -------------------------------------------------------------------------------- /src/constructs/cloudwatch/__snapshots__/api-gateway-alarms.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/cloudwatch/__snapshots__/api-gateway-alarms.test.ts.snap -------------------------------------------------------------------------------- /src/constructs/cloudwatch/__snapshots__/ec2-alarms.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/cloudwatch/__snapshots__/ec2-alarms.test.ts.snap -------------------------------------------------------------------------------- /src/constructs/cloudwatch/__snapshots__/lambda-alarms.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/cloudwatch/__snapshots__/lambda-alarms.test.ts.snap -------------------------------------------------------------------------------- /src/constructs/cloudwatch/alarm.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/cloudwatch/alarm.test.ts -------------------------------------------------------------------------------- /src/constructs/cloudwatch/alarm.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/cloudwatch/alarm.ts -------------------------------------------------------------------------------- /src/constructs/cloudwatch/api-gateway-alarms.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/cloudwatch/api-gateway-alarms.test.ts -------------------------------------------------------------------------------- /src/constructs/cloudwatch/api-gateway-alarms.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/cloudwatch/api-gateway-alarms.ts -------------------------------------------------------------------------------- /src/constructs/cloudwatch/ec2-alarms.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/cloudwatch/ec2-alarms.test.ts -------------------------------------------------------------------------------- /src/constructs/cloudwatch/ec2-alarms.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/cloudwatch/ec2-alarms.ts -------------------------------------------------------------------------------- /src/constructs/cloudwatch/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/cloudwatch/index.ts -------------------------------------------------------------------------------- /src/constructs/cloudwatch/lambda-alarms.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/cloudwatch/lambda-alarms.test.ts -------------------------------------------------------------------------------- /src/constructs/cloudwatch/lambda-alarms.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/cloudwatch/lambda-alarms.ts -------------------------------------------------------------------------------- /src/constructs/cloudwatch/no-monitoring.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/cloudwatch/no-monitoring.ts -------------------------------------------------------------------------------- /src/constructs/core/identity.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/core/identity.test.ts -------------------------------------------------------------------------------- /src/constructs/core/identity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/core/identity.ts -------------------------------------------------------------------------------- /src/constructs/core/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/core/index.ts -------------------------------------------------------------------------------- /src/constructs/core/migrating.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/core/migrating.ts -------------------------------------------------------------------------------- /src/constructs/core/parameters/acm.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/core/parameters/acm.ts -------------------------------------------------------------------------------- /src/constructs/core/parameters/anghammarad.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/core/parameters/anghammarad.ts -------------------------------------------------------------------------------- /src/constructs/core/parameters/base.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/core/parameters/base.test.ts -------------------------------------------------------------------------------- /src/constructs/core/parameters/base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/core/parameters/base.ts -------------------------------------------------------------------------------- /src/constructs/core/parameters/ec2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/core/parameters/ec2.ts -------------------------------------------------------------------------------- /src/constructs/core/parameters/fastly.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/core/parameters/fastly.ts -------------------------------------------------------------------------------- /src/constructs/core/parameters/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/core/parameters/index.ts -------------------------------------------------------------------------------- /src/constructs/core/parameters/log-shipping.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/core/parameters/log-shipping.ts -------------------------------------------------------------------------------- /src/constructs/core/parameters/s3.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/core/parameters/s3.test.ts -------------------------------------------------------------------------------- /src/constructs/core/parameters/s3.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/core/parameters/s3.ts -------------------------------------------------------------------------------- /src/constructs/core/parameters/vpc.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/core/parameters/vpc.test.ts -------------------------------------------------------------------------------- /src/constructs/core/parameters/vpc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/core/parameters/vpc.ts -------------------------------------------------------------------------------- /src/constructs/core/stack.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/core/stack.test.ts -------------------------------------------------------------------------------- /src/constructs/core/stack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/core/stack.ts -------------------------------------------------------------------------------- /src/constructs/dns/__snapshots__/dns-records.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/dns/__snapshots__/dns-records.test.ts.snap -------------------------------------------------------------------------------- /src/constructs/dns/dns-records.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/dns/dns-records.test.ts -------------------------------------------------------------------------------- /src/constructs/dns/dns-records.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/dns/dns-records.ts -------------------------------------------------------------------------------- /src/constructs/dns/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./dns-records"; 2 | -------------------------------------------------------------------------------- /src/constructs/dynamodb/dynamodb.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/dynamodb/dynamodb.test.ts -------------------------------------------------------------------------------- /src/constructs/dynamodb/dynamodb.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/dynamodb/dynamodb.ts -------------------------------------------------------------------------------- /src/constructs/dynamodb/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./dynamodb"; 2 | -------------------------------------------------------------------------------- /src/constructs/ec2/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/ec2/index.ts -------------------------------------------------------------------------------- /src/constructs/ec2/security-groups/base.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/ec2/security-groups/base.test.ts -------------------------------------------------------------------------------- /src/constructs/ec2/security-groups/base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/ec2/security-groups/base.ts -------------------------------------------------------------------------------- /src/constructs/ec2/security-groups/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./base"; 2 | -------------------------------------------------------------------------------- /src/constructs/ec2/vpc.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/ec2/vpc.test.ts -------------------------------------------------------------------------------- /src/constructs/ec2/vpc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/ec2/vpc.ts -------------------------------------------------------------------------------- /src/constructs/ecs/__snapshots__/ecs-task.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/ecs/__snapshots__/ecs-task.test.ts.snap -------------------------------------------------------------------------------- /src/constructs/ecs/ecs-task.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/ecs/ecs-task.test.ts -------------------------------------------------------------------------------- /src/constructs/ecs/ecs-task.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/ecs/ecs-task.ts -------------------------------------------------------------------------------- /src/constructs/ecs/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./ecs-task"; 2 | -------------------------------------------------------------------------------- /src/constructs/iam/__snapshots__/fastly-logs-iam.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/__snapshots__/fastly-logs-iam.test.ts.snap -------------------------------------------------------------------------------- /src/constructs/iam/fastly-logs-iam.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/fastly-logs-iam.test.ts -------------------------------------------------------------------------------- /src/constructs/iam/fastly-logs-iam.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/fastly-logs-iam.ts -------------------------------------------------------------------------------- /src/constructs/iam/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/index.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/__snapshots__/log-shipping.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/__snapshots__/log-shipping.test.ts.snap -------------------------------------------------------------------------------- /src/constructs/iam/policies/anghammarad.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/anghammarad.test.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/anghammarad.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/anghammarad.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/assume-role.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/assume-role.test.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/assume-role.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/assume-role.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/base-policy.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/base-policy.test.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/base-policy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/base-policy.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/cloudwatch.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/cloudwatch.test.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/cloudwatch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/cloudwatch.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/describe-ec2.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/describe-ec2.test.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/describe-ec2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/describe-ec2.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/dynamodb.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/dynamodb.test.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/dynamodb.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/dynamodb.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/index.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/kcl.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/kcl.test.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/kcl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/kcl.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/log-shipping.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/log-shipping.test.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/log-shipping.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/log-shipping.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/parameter-store-read.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/parameter-store-read.test.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/parameter-store-read.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/parameter-store-read.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/s3-get-object.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/s3-get-object.test.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/s3-get-object.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/s3-get-object.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/s3-put-object.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/s3-put-object.test.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/s3-put-object.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/s3-put-object.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/ses.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/ses.test.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/ses.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/ses.ts -------------------------------------------------------------------------------- /src/constructs/iam/policies/ssm-ssh.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/policies/ssm-ssh.ts -------------------------------------------------------------------------------- /src/constructs/iam/roles/__snapshots__/github-actions.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/roles/__snapshots__/github-actions.test.ts.snap -------------------------------------------------------------------------------- /src/constructs/iam/roles/__snapshots__/instance-role.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/roles/__snapshots__/instance-role.test.ts.snap -------------------------------------------------------------------------------- /src/constructs/iam/roles/github-actions.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/roles/github-actions.test.ts -------------------------------------------------------------------------------- /src/constructs/iam/roles/github-actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/roles/github-actions.ts -------------------------------------------------------------------------------- /src/constructs/iam/roles/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/roles/index.ts -------------------------------------------------------------------------------- /src/constructs/iam/roles/instance-role.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/roles/instance-role.test.ts -------------------------------------------------------------------------------- /src/constructs/iam/roles/instance-role.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/roles/instance-role.ts -------------------------------------------------------------------------------- /src/constructs/iam/roles/roles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/iam/roles/roles.ts -------------------------------------------------------------------------------- /src/constructs/kinesis/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./kinesis-stream"; 2 | -------------------------------------------------------------------------------- /src/constructs/kinesis/kinesis-stream.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/kinesis/kinesis-stream.ts -------------------------------------------------------------------------------- /src/constructs/lambda/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./lambda"; 2 | -------------------------------------------------------------------------------- /src/constructs/lambda/lambda.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/lambda/lambda.test.ts -------------------------------------------------------------------------------- /src/constructs/lambda/lambda.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/lambda/lambda.ts -------------------------------------------------------------------------------- /src/constructs/loadbalancing/alb/application-listener.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/loadbalancing/alb/application-listener.test.ts -------------------------------------------------------------------------------- /src/constructs/loadbalancing/alb/application-listener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/loadbalancing/alb/application-listener.ts -------------------------------------------------------------------------------- /src/constructs/loadbalancing/alb/application-load-balancer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/loadbalancing/alb/application-load-balancer.test.ts -------------------------------------------------------------------------------- /src/constructs/loadbalancing/alb/application-load-balancer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/loadbalancing/alb/application-load-balancer.ts -------------------------------------------------------------------------------- /src/constructs/loadbalancing/alb/application-target-group.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/loadbalancing/alb/application-target-group.test.ts -------------------------------------------------------------------------------- /src/constructs/loadbalancing/alb/application-target-group.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/loadbalancing/alb/application-target-group.ts -------------------------------------------------------------------------------- /src/constructs/loadbalancing/alb/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/loadbalancing/alb/index.ts -------------------------------------------------------------------------------- /src/constructs/loadbalancing/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./alb"; 2 | -------------------------------------------------------------------------------- /src/constructs/rds/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./instance"; 2 | -------------------------------------------------------------------------------- /src/constructs/rds/instance.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/rds/instance.test.ts -------------------------------------------------------------------------------- /src/constructs/rds/instance.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/rds/instance.ts -------------------------------------------------------------------------------- /src/constructs/root.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/root.ts -------------------------------------------------------------------------------- /src/constructs/s3/__snapshots__/index.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/s3/__snapshots__/index.test.ts.snap -------------------------------------------------------------------------------- /src/constructs/s3/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/s3/index.test.ts -------------------------------------------------------------------------------- /src/constructs/s3/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/s3/index.ts -------------------------------------------------------------------------------- /src/constructs/ses/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/ses/index.test.ts -------------------------------------------------------------------------------- /src/constructs/ses/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/ses/index.ts -------------------------------------------------------------------------------- /src/constructs/vpc/__snapshots__/vpc.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/vpc/__snapshots__/vpc.test.ts.snap -------------------------------------------------------------------------------- /src/constructs/vpc/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./vpc"; 2 | -------------------------------------------------------------------------------- /src/constructs/vpc/vpc.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/vpc/vpc.test.ts -------------------------------------------------------------------------------- /src/constructs/vpc/vpc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/constructs/vpc/vpc.ts -------------------------------------------------------------------------------- /src/experimental/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/experimental/README.md -------------------------------------------------------------------------------- /src/experimental/constructs/iam/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./roles"; 2 | -------------------------------------------------------------------------------- /src/experimental/constructs/iam/roles/__snapshots__/fastly-kinesis-log.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/experimental/constructs/iam/roles/__snapshots__/fastly-kinesis-log.test.ts.snap -------------------------------------------------------------------------------- /src/experimental/constructs/iam/roles/fastly-kinesis-log.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/experimental/constructs/iam/roles/fastly-kinesis-log.test.ts -------------------------------------------------------------------------------- /src/experimental/constructs/iam/roles/fastly-kinesis-log.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/experimental/constructs/iam/roles/fastly-kinesis-log.ts -------------------------------------------------------------------------------- /src/experimental/constructs/iam/roles/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./fastly-kinesis-log"; 2 | -------------------------------------------------------------------------------- /src/experimental/constructs/policies/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./kinesis-put-records"; 2 | -------------------------------------------------------------------------------- /src/experimental/constructs/policies/kinesis-put-records.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/experimental/constructs/policies/kinesis-put-records.test.ts -------------------------------------------------------------------------------- /src/experimental/constructs/policies/kinesis-put-records.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/experimental/constructs/policies/kinesis-put-records.ts -------------------------------------------------------------------------------- /src/experimental/patterns/__snapshots__/ec2-app.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/experimental/patterns/__snapshots__/ec2-app.test.ts.snap -------------------------------------------------------------------------------- /src/experimental/patterns/__snapshots__/kinesis-lambda.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/experimental/patterns/__snapshots__/kinesis-lambda.test.ts.snap -------------------------------------------------------------------------------- /src/experimental/patterns/__snapshots__/sns-lambda.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/experimental/patterns/__snapshots__/sns-lambda.test.ts.snap -------------------------------------------------------------------------------- /src/experimental/patterns/ec2-app.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/experimental/patterns/ec2-app.test.ts -------------------------------------------------------------------------------- /src/experimental/patterns/ec2-app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/experimental/patterns/ec2-app.ts -------------------------------------------------------------------------------- /src/experimental/patterns/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/experimental/patterns/index.ts -------------------------------------------------------------------------------- /src/experimental/patterns/kinesis-lambda.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/experimental/patterns/kinesis-lambda.test.ts -------------------------------------------------------------------------------- /src/experimental/patterns/kinesis-lambda.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/experimental/patterns/kinesis-lambda.ts -------------------------------------------------------------------------------- /src/experimental/patterns/sns-lambda.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/experimental/patterns/sns-lambda.test.ts -------------------------------------------------------------------------------- /src/experimental/patterns/sns-lambda.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/experimental/patterns/sns-lambda.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./patterns"; 2 | -------------------------------------------------------------------------------- /src/patterns/__snapshots__/api-lambda.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/patterns/__snapshots__/api-lambda.test.ts.snap -------------------------------------------------------------------------------- /src/patterns/__snapshots__/api-multiple-lambdas.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/patterns/__snapshots__/api-multiple-lambdas.test.ts.snap -------------------------------------------------------------------------------- /src/patterns/__snapshots__/scheduled-lambda.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/patterns/__snapshots__/scheduled-lambda.test.ts.snap -------------------------------------------------------------------------------- /src/patterns/api-lambda.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/patterns/api-lambda.test.ts -------------------------------------------------------------------------------- /src/patterns/api-lambda.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/patterns/api-lambda.ts -------------------------------------------------------------------------------- /src/patterns/api-multiple-lambdas.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/patterns/api-multiple-lambdas.test.ts -------------------------------------------------------------------------------- /src/patterns/api-multiple-lambdas.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/patterns/api-multiple-lambdas.ts -------------------------------------------------------------------------------- /src/patterns/ec2-app/__snapshots__/base.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/patterns/ec2-app/__snapshots__/base.test.ts.snap -------------------------------------------------------------------------------- /src/patterns/ec2-app/base.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/patterns/ec2-app/base.test.ts -------------------------------------------------------------------------------- /src/patterns/ec2-app/base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/patterns/ec2-app/base.ts -------------------------------------------------------------------------------- /src/patterns/ec2-app/framework.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/patterns/ec2-app/framework.test.ts -------------------------------------------------------------------------------- /src/patterns/ec2-app/framework.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/patterns/ec2-app/framework.ts -------------------------------------------------------------------------------- /src/patterns/ec2-app/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/patterns/ec2-app/index.ts -------------------------------------------------------------------------------- /src/patterns/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/patterns/index.ts -------------------------------------------------------------------------------- /src/patterns/scheduled-ecs-task.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/patterns/scheduled-ecs-task.test.ts -------------------------------------------------------------------------------- /src/patterns/scheduled-ecs-task.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/patterns/scheduled-ecs-task.ts -------------------------------------------------------------------------------- /src/patterns/scheduled-lambda.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/patterns/scheduled-lambda.test.ts -------------------------------------------------------------------------------- /src/patterns/scheduled-lambda.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/patterns/scheduled-lambda.ts -------------------------------------------------------------------------------- /src/riff-raff-yaml-file/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/riff-raff-yaml-file/README.md -------------------------------------------------------------------------------- /src/riff-raff-yaml-file/deployments/autoscaling.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/riff-raff-yaml-file/deployments/autoscaling.ts -------------------------------------------------------------------------------- /src/riff-raff-yaml-file/deployments/cloudformation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/riff-raff-yaml-file/deployments/cloudformation.ts -------------------------------------------------------------------------------- /src/riff-raff-yaml-file/deployments/lambda.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/riff-raff-yaml-file/deployments/lambda.ts -------------------------------------------------------------------------------- /src/riff-raff-yaml-file/group-by.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/riff-raff-yaml-file/group-by.ts -------------------------------------------------------------------------------- /src/riff-raff-yaml-file/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/riff-raff-yaml-file/index.test.ts -------------------------------------------------------------------------------- /src/riff-raff-yaml-file/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/riff-raff-yaml-file/index.ts -------------------------------------------------------------------------------- /src/riff-raff-yaml-file/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/riff-raff-yaml-file/types.ts -------------------------------------------------------------------------------- /src/types/access.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/types/access.test.ts -------------------------------------------------------------------------------- /src/types/access.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/types/access.ts -------------------------------------------------------------------------------- /src/types/amigo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/types/amigo.ts -------------------------------------------------------------------------------- /src/types/asg.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/types/asg.ts -------------------------------------------------------------------------------- /src/types/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/types/cli.ts -------------------------------------------------------------------------------- /src/types/distributable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/types/distributable.ts -------------------------------------------------------------------------------- /src/types/domain-names.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/types/domain-names.ts -------------------------------------------------------------------------------- /src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/types/index.ts -------------------------------------------------------------------------------- /src/utils/array.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/array.test.ts -------------------------------------------------------------------------------- /src/utils/array.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/array.ts -------------------------------------------------------------------------------- /src/utils/cli/vpc.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/cli/vpc.test.ts -------------------------------------------------------------------------------- /src/utils/cli/vpc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/cli/vpc.ts -------------------------------------------------------------------------------- /src/utils/cognito/cognito.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/cognito/cognito.test.ts -------------------------------------------------------------------------------- /src/utils/cognito/cognito.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/cognito/cognito.ts -------------------------------------------------------------------------------- /src/utils/ec2/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./private-config"; 2 | -------------------------------------------------------------------------------- /src/utils/ec2/private-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/ec2/private-config.ts -------------------------------------------------------------------------------- /src/utils/exec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/exec.ts -------------------------------------------------------------------------------- /src/utils/git.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/git.ts -------------------------------------------------------------------------------- /src/utils/lambda/event-source.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/lambda/event-source.ts -------------------------------------------------------------------------------- /src/utils/lambda/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./event-source"; 2 | -------------------------------------------------------------------------------- /src/utils/math.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/math.test.ts -------------------------------------------------------------------------------- /src/utils/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/math.ts -------------------------------------------------------------------------------- /src/utils/mixin/__snapshots__/app-aware-contruct.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/mixin/__snapshots__/app-aware-contruct.test.ts.snap -------------------------------------------------------------------------------- /src/utils/mixin/app-aware-construct.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/mixin/app-aware-construct.ts -------------------------------------------------------------------------------- /src/utils/mixin/app-aware-contruct.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/mixin/app-aware-contruct.test.ts -------------------------------------------------------------------------------- /src/utils/mixin/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/mixin/types.ts -------------------------------------------------------------------------------- /src/utils/security-groups/helpers.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/security-groups/helpers.test.ts -------------------------------------------------------------------------------- /src/utils/security-groups/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/security-groups/helpers.ts -------------------------------------------------------------------------------- /src/utils/security-groups/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./helpers"; 2 | -------------------------------------------------------------------------------- /src/utils/singleton.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/singleton.ts -------------------------------------------------------------------------------- /src/utils/string.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/string.test.ts -------------------------------------------------------------------------------- /src/utils/string.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/string.ts -------------------------------------------------------------------------------- /src/utils/test/assertions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/test/assertions.ts -------------------------------------------------------------------------------- /src/utils/test/attach-policy-to-test-role.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/test/attach-policy-to-test-role.ts -------------------------------------------------------------------------------- /src/utils/test/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/test/index.ts -------------------------------------------------------------------------------- /src/utils/test/simple-gu-stack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/test/simple-gu-stack.ts -------------------------------------------------------------------------------- /src/utils/test/template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/src/utils/test/template.ts -------------------------------------------------------------------------------- /tools/eslint/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/tools/eslint/README.md -------------------------------------------------------------------------------- /tools/eslint/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/tools/eslint/index.js -------------------------------------------------------------------------------- /tools/eslint/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/tools/eslint/package.json -------------------------------------------------------------------------------- /tools/eslint/rules/experimental-classes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/tools/eslint/rules/experimental-classes.js -------------------------------------------------------------------------------- /tools/eslint/rules/experimental-classes.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/tools/eslint/rules/experimental-classes.test.ts -------------------------------------------------------------------------------- /tools/eslint/rules/valid-constructors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/tools/eslint/rules/valid-constructors.js -------------------------------------------------------------------------------- /tools/eslint/rules/valid-constructors.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/tools/eslint/rules/valid-constructors.test.ts -------------------------------------------------------------------------------- /tools/integration-test/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/tools/integration-test/.gitignore -------------------------------------------------------------------------------- /tools/integration-test/.nvmrc: -------------------------------------------------------------------------------- 1 | ../../.nvmrc -------------------------------------------------------------------------------- /tools/integration-test/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 120 3 | } 4 | -------------------------------------------------------------------------------- /tools/integration-test/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/tools/integration-test/README.md -------------------------------------------------------------------------------- /tools/integration-test/bin/cdk.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/tools/integration-test/bin/cdk.ts -------------------------------------------------------------------------------- /tools/integration-test/cdk.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/tools/integration-test/cdk.json -------------------------------------------------------------------------------- /tools/integration-test/eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/tools/integration-test/eslint.config.mjs -------------------------------------------------------------------------------- /tools/integration-test/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/tools/integration-test/jest.config.js -------------------------------------------------------------------------------- /tools/integration-test/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/tools/integration-test/package.json -------------------------------------------------------------------------------- /tools/integration-test/script/build: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/tools/integration-test/script/build -------------------------------------------------------------------------------- /tools/integration-test/script/ci: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/tools/integration-test/script/ci -------------------------------------------------------------------------------- /tools/integration-test/script/lint: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | npm run lint 6 | -------------------------------------------------------------------------------- /tools/integration-test/script/setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | npm install 6 | -------------------------------------------------------------------------------- /tools/integration-test/script/start: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | npm run test:dev 6 | -------------------------------------------------------------------------------- /tools/integration-test/script/test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/tools/integration-test/script/test -------------------------------------------------------------------------------- /tools/integration-test/src/__snapshots__/integration-test-stack.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/tools/integration-test/src/__snapshots__/integration-test-stack.test.ts.snap -------------------------------------------------------------------------------- /tools/integration-test/src/integration-test-stack.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/tools/integration-test/src/integration-test-stack.test.ts -------------------------------------------------------------------------------- /tools/integration-test/src/integration-test-stack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/tools/integration-test/src/integration-test-stack.ts -------------------------------------------------------------------------------- /tools/integration-test/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/tools/integration-test/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.eslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/tsconfig.eslint.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/tsconfig.test.json -------------------------------------------------------------------------------- /typedoc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/cdk/HEAD/typedoc.js --------------------------------------------------------------------------------