projen 0.71.13 → 0.71.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/awscdk/auto-discover.js +5 -5
- package/lib/awscdk/awscdk-app-java.js +1 -1
- package/lib/awscdk/awscdk-app-py.js +1 -1
- package/lib/awscdk/awscdk-app-ts.js +1 -1
- package/lib/awscdk/awscdk-construct.js +2 -2
- package/lib/awscdk/awscdk-deps-java.js +1 -1
- package/lib/awscdk/awscdk-deps-js.js +1 -1
- package/lib/awscdk/awscdk-deps-py.js +1 -1
- package/lib/awscdk/awscdk-deps.js +1 -1
- package/lib/awscdk/cdk-config.js +1 -1
- package/lib/awscdk/cdk-tasks.js +1 -1
- package/lib/awscdk/integration-test.js +1 -1
- package/lib/awscdk/lambda-extension.js +1 -1
- package/lib/awscdk/lambda-function.js +2 -2
- package/lib/build/build-workflow.js +1 -1
- package/lib/cdk/auto-discover-base.js +2 -2
- package/lib/cdk/construct-lib.js +1 -1
- package/lib/cdk/integration-test-base.js +1 -1
- package/lib/cdk/jsii-docgen.js +1 -1
- package/lib/cdk/jsii-project.js +1 -1
- package/lib/cdk8s/auto-discover.js +2 -2
- package/lib/cdk8s/cdk8s-app-py.js +1 -1
- package/lib/cdk8s/cdk8s-app-ts.js +1 -1
- package/lib/cdk8s/cdk8s-construct.js +1 -1
- package/lib/cdk8s/cdk8s-deps-py.js +1 -1
- package/lib/cdk8s/cdk8s-deps.js +1 -1
- package/lib/cdk8s/integration-test.js +1 -1
- package/lib/cdktf/cdktf-construct.js +1 -1
- package/lib/circleci/circleci.js +1 -1
- package/lib/component.js +1 -1
- package/lib/dependencies.js +1 -1
- package/lib/dev-env.js +1 -1
- package/lib/docker-compose/docker-compose-service.js +1 -1
- package/lib/docker-compose/docker-compose.js +1 -1
- package/lib/file.js +1 -1
- package/lib/gitattributes.js +1 -1
- package/lib/github/actions-provider.js +1 -1
- package/lib/github/auto-approve.js +1 -1
- package/lib/github/auto-merge.js +1 -1
- package/lib/github/dependabot.js +1 -1
- package/lib/github/github-credentials.js +1 -1
- package/lib/github/github-project.js +1 -1
- package/lib/github/github.js +1 -1
- package/lib/github/mergify.js +1 -1
- package/lib/github/pr-template.js +1 -1
- package/lib/github/pull-request-lint.js +1 -1
- package/lib/github/stale.js +1 -1
- package/lib/github/task-workflow.js +1 -1
- package/lib/github/workflow-actions.js +1 -1
- package/lib/github/workflow-jobs.js +1 -1
- package/lib/github/workflows.js +1 -1
- package/lib/gitlab/configuration.js +1 -1
- package/lib/gitlab/gitlab-configuration.js +1 -1
- package/lib/gitlab/nested-configuration.js +1 -1
- package/lib/gitpod.js +1 -1
- package/lib/ignore-file.js +1 -1
- package/lib/ini.js +1 -1
- package/lib/java/java-project.js +1 -1
- package/lib/java/junit.js +1 -1
- package/lib/java/maven-compile.js +1 -1
- package/lib/java/maven-packaging.js +1 -1
- package/lib/java/maven-sample.js +1 -1
- package/lib/java/pom.js +1 -1
- package/lib/java/projenrc.js +1 -1
- package/lib/javascript/bundler.js +1 -1
- package/lib/javascript/eslint.js +1 -1
- package/lib/javascript/jest.js +4 -4
- package/lib/javascript/node-package.js +1 -1
- package/lib/javascript/node-project.js +1 -1
- package/lib/javascript/npm-config.js +1 -1
- package/lib/javascript/prettier.js +1 -1
- package/lib/javascript/projenrc.js +1 -1
- package/lib/javascript/typescript-config.js +1 -1
- package/lib/javascript/upgrade-dependencies.js +2 -2
- package/lib/json-patch.js +1 -1
- package/lib/json.js +1 -1
- package/lib/license.js +1 -1
- package/lib/logger.js +1 -1
- package/lib/makefile.js +1 -1
- package/lib/object-file.js +1 -1
- package/lib/project-build.js +1 -1
- package/lib/project.js +1 -1
- package/lib/projects.js +1 -1
- package/lib/projenrc-json.js +2 -2
- package/lib/projenrc.js +1 -1
- package/lib/python/pip.js +1 -1
- package/lib/python/poetry.js +2 -2
- package/lib/python/projenrc.js +1 -1
- package/lib/python/pytest-sample.js +1 -1
- package/lib/python/pytest.js +1 -1
- package/lib/python/python-project.js +1 -1
- package/lib/python/python-sample.js +1 -1
- package/lib/python/requirements-file.js +1 -1
- package/lib/python/setuppy.js +1 -1
- package/lib/python/setuptools.js +1 -1
- package/lib/python/venv.js +1 -1
- package/lib/readme.js +1 -1
- package/lib/release/publisher.js +1 -1
- package/lib/release/release-trigger.js +1 -1
- package/lib/release/release.js +1 -1
- package/lib/renovatebot.js +1 -1
- package/lib/sample-file.js +2 -2
- package/lib/semver.js +1 -1
- package/lib/source-code.js +1 -1
- package/lib/task-runtime.js +1 -1
- package/lib/task.js +1 -1
- package/lib/tasks.js +1 -1
- package/lib/testing.js +1 -1
- package/lib/textfile.js +1 -1
- package/lib/toml.js +1 -1
- package/lib/typescript/projenrc-ts.js +1 -1
- package/lib/typescript/projenrc.js +1 -1
- package/lib/typescript/typescript-typedoc.js +1 -1
- package/lib/typescript/typescript.js +3 -3
- package/lib/version.js +1 -1
- package/lib/vscode/devcontainer.js +1 -1
- package/lib/vscode/extensions.js +1 -1
- package/lib/vscode/launch-config.js +1 -1
- package/lib/vscode/settings.js +1 -1
- package/lib/vscode/vscode.js +1 -1
- package/lib/web/next.js +3 -3
- package/lib/web/postcss.js +1 -1
- package/lib/web/react.js +4 -4
- package/lib/web/tailwind.js +1 -1
- package/lib/xmlfile.js +1 -1
- package/lib/yaml.js +1 -1
- package/package.json +3 -11
- package/lib/.types-compat/ts3.9/lib/_resolve.d.ts +0 -2
- package/lib/.types-compat/ts3.9/lib/awscdk/auto-discover.d.ts +0 -129
- package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-app-java.d.ts +0 -53
- package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-app-py.d.ts +0 -49
- package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-app-ts.d.ts +0 -81
- package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-construct.d.ts +0 -89
- package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-deps-java.d.ts +0 -7
- package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-deps-js.d.ts +0 -7
- package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-deps-py.d.ts +0 -7
- package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-deps.d.ts +0 -168
- package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-pytest-sample.d.ts +0 -5
- package/lib/.types-compat/ts3.9/lib/awscdk/cdk-config.d.ts +0 -122
- package/lib/.types-compat/ts3.9/lib/awscdk/cdk-tasks.d.ts +0 -33
- package/lib/.types-compat/ts3.9/lib/awscdk/index.d.ts +0 -14
- package/lib/.types-compat/ts3.9/lib/awscdk/integration-test.d.ts +0 -46
- package/lib/.types-compat/ts3.9/lib/awscdk/internal.d.ts +0 -20
- package/lib/.types-compat/ts3.9/lib/awscdk/lambda-extension.d.ts +0 -68
- package/lib/.types-compat/ts3.9/lib/awscdk/lambda-function.d.ts +0 -171
- package/lib/.types-compat/ts3.9/lib/build/build-workflow.d.ts +0 -180
- package/lib/.types-compat/ts3.9/lib/build/index.d.ts +0 -1
- package/lib/.types-compat/ts3.9/lib/builtin-example.task.d.ts +0 -0
- package/lib/.types-compat/ts3.9/lib/cdk/auto-discover-base.d.ts +0 -45
- package/lib/.types-compat/ts3.9/lib/cdk/construct-lib.d.ts +0 -38
- package/lib/.types-compat/ts3.9/lib/cdk/consts.d.ts +0 -6
- package/lib/.types-compat/ts3.9/lib/cdk/index.d.ts +0 -5
- package/lib/.types-compat/ts3.9/lib/cdk/integration-test-base.d.ts +0 -53
- package/lib/.types-compat/ts3.9/lib/cdk/internal.d.ts +0 -4
- package/lib/.types-compat/ts3.9/lib/cdk/jsii-docgen.d.ts +0 -20
- package/lib/.types-compat/ts3.9/lib/cdk/jsii-project.d.ts +0 -154
- package/lib/.types-compat/ts3.9/lib/cdk8s/auto-discover.d.ts +0 -33
- package/lib/.types-compat/ts3.9/lib/cdk8s/cdk8s-app-py.d.ts +0 -39
- package/lib/.types-compat/ts3.9/lib/cdk8s/cdk8s-app-ts.d.ts +0 -45
- package/lib/.types-compat/ts3.9/lib/cdk8s/cdk8s-construct.d.ts +0 -71
- package/lib/.types-compat/ts3.9/lib/cdk8s/cdk8s-deps-js.d.ts +0 -4
- package/lib/.types-compat/ts3.9/lib/cdk8s/cdk8s-deps-py.d.ts +0 -4
- package/lib/.types-compat/ts3.9/lib/cdk8s/cdk8s-deps.d.ts +0 -144
- package/lib/.types-compat/ts3.9/lib/cdk8s/index.d.ts +0 -7
- package/lib/.types-compat/ts3.9/lib/cdk8s/integration-test.d.ts +0 -13
- package/lib/.types-compat/ts3.9/lib/cdktf/cdktf-construct.d.ts +0 -26
- package/lib/.types-compat/ts3.9/lib/cdktf/index.d.ts +0 -1
- package/lib/.types-compat/ts3.9/lib/circleci/circleci.d.ts +0 -132
- package/lib/.types-compat/ts3.9/lib/circleci/constant.d.ts +0 -5
- package/lib/.types-compat/ts3.9/lib/circleci/index.d.ts +0 -3
- package/lib/.types-compat/ts3.9/lib/circleci/model.d.ts +0 -260
- package/lib/.types-compat/ts3.9/lib/cleanup.d.ts +0 -2
- package/lib/.types-compat/ts3.9/lib/cli/cmds/new.d.ts +0 -9
- package/lib/.types-compat/ts3.9/lib/cli/index.d.ts +0 -1
- package/lib/.types-compat/ts3.9/lib/cli/macros.d.ts +0 -1
- package/lib/.types-compat/ts3.9/lib/cli/synth.d.ts +0 -19
- package/lib/.types-compat/ts3.9/lib/cli/tasks.d.ts +0 -7
- package/lib/.types-compat/ts3.9/lib/cli/util.d.ts +0 -19
- package/lib/.types-compat/ts3.9/lib/clobber.d.ts +0 -5
- package/lib/.types-compat/ts3.9/lib/common.d.ts +0 -5
- package/lib/.types-compat/ts3.9/lib/component.d.ts +0 -20
- package/lib/.types-compat/ts3.9/lib/dependencies.d.ts +0 -160
- package/lib/.types-compat/ts3.9/lib/dev-env.d.ts +0 -80
- package/lib/.types-compat/ts3.9/lib/docker-compose/docker-compose-network.d.ts +0 -103
- package/lib/.types-compat/ts3.9/lib/docker-compose/docker-compose-port.d.ts +0 -44
- package/lib/.types-compat/ts3.9/lib/docker-compose/docker-compose-render.d.ts +0 -2
- package/lib/.types-compat/ts3.9/lib/docker-compose/docker-compose-service.d.ts +0 -155
- package/lib/.types-compat/ts3.9/lib/docker-compose/docker-compose-volume.d.ts +0 -64
- package/lib/.types-compat/ts3.9/lib/docker-compose/docker-compose.d.ts +0 -99
- package/lib/.types-compat/ts3.9/lib/docker-compose/index.d.ts +0 -5
- package/lib/.types-compat/ts3.9/lib/file.d.ts +0 -120
- package/lib/.types-compat/ts3.9/lib/gitattributes.d.ts +0 -26
- package/lib/.types-compat/ts3.9/lib/github/actions-provider.d.ts +0 -28
- package/lib/.types-compat/ts3.9/lib/github/auto-approve.d.ts +0 -44
- package/lib/.types-compat/ts3.9/lib/github/auto-merge.d.ts +0 -41
- package/lib/.types-compat/ts3.9/lib/github/constants.d.ts +0 -20
- package/lib/.types-compat/ts3.9/lib/github/dependabot.d.ts +0 -247
- package/lib/.types-compat/ts3.9/lib/github/github-credentials.d.ts +0 -58
- package/lib/.types-compat/ts3.9/lib/github/github-project.d.ts +0 -177
- package/lib/.types-compat/ts3.9/lib/github/github.d.ts +0 -110
- package/lib/.types-compat/ts3.9/lib/github/index.d.ts +0 -17
- package/lib/.types-compat/ts3.9/lib/github/mergify.d.ts +0 -81
- package/lib/.types-compat/ts3.9/lib/github/pr-template.d.ts +0 -19
- package/lib/.types-compat/ts3.9/lib/github/pull-request-lint.d.ts +0 -48
- package/lib/.types-compat/ts3.9/lib/github/stale-util.d.ts +0 -8
- package/lib/.types-compat/ts3.9/lib/github/stale.d.ts +0 -85
- package/lib/.types-compat/ts3.9/lib/github/task-workflow.d.ts +0 -119
- package/lib/.types-compat/ts3.9/lib/github/util.d.ts +0 -1
- package/lib/.types-compat/ts3.9/lib/github/workflow-actions.d.ts +0 -169
- package/lib/.types-compat/ts3.9/lib/github/workflow-jobs.d.ts +0 -39
- package/lib/.types-compat/ts3.9/lib/github/workflows-model.d.ts +0 -1031
- package/lib/.types-compat/ts3.9/lib/github/workflows.d.ts +0 -108
- package/lib/.types-compat/ts3.9/lib/gitlab/configuration-model.d.ts +0 -536
- package/lib/.types-compat/ts3.9/lib/gitlab/configuration.d.ts +0 -170
- package/lib/.types-compat/ts3.9/lib/gitlab/gitlab-configuration.d.ts +0 -19
- package/lib/.types-compat/ts3.9/lib/gitlab/index.d.ts +0 -4
- package/lib/.types-compat/ts3.9/lib/gitlab/nested-configuration.d.ts +0 -11
- package/lib/.types-compat/ts3.9/lib/gitpod.d.ts +0 -301
- package/lib/.types-compat/ts3.9/lib/ignore-file.d.ts +0 -59
- package/lib/.types-compat/ts3.9/lib/index.d.ts +0 -51
- package/lib/.types-compat/ts3.9/lib/ini.d.ts +0 -15
- package/lib/.types-compat/ts3.9/lib/inventory.d.ts +0 -94
- package/lib/.types-compat/ts3.9/lib/java/index.d.ts +0 -7
- package/lib/.types-compat/ts3.9/lib/java/java-project.d.ts +0 -141
- package/lib/.types-compat/ts3.9/lib/java/junit.d.ts +0 -29
- package/lib/.types-compat/ts3.9/lib/java/maven-compile.d.ts +0 -26
- package/lib/.types-compat/ts3.9/lib/java/maven-packaging.d.ts +0 -34
- package/lib/.types-compat/ts3.9/lib/java/maven-sample.d.ts +0 -14
- package/lib/.types-compat/ts3.9/lib/java/pom.d.ts +0 -214
- package/lib/.types-compat/ts3.9/lib/java/projenrc.d.ts +0 -59
- package/lib/.types-compat/ts3.9/lib/javascript/bundler.d.ts +0 -174
- package/lib/.types-compat/ts3.9/lib/javascript/eslint.d.ts +0 -175
- package/lib/.types-compat/ts3.9/lib/javascript/index.d.ts +0 -10
- package/lib/.types-compat/ts3.9/lib/javascript/jest.d.ts +0 -599
- package/lib/.types-compat/ts3.9/lib/javascript/node-package.d.ts +0 -616
- package/lib/.types-compat/ts3.9/lib/javascript/node-project.d.ts +0 -465
- package/lib/.types-compat/ts3.9/lib/javascript/npm-config.d.ts +0 -40
- package/lib/.types-compat/ts3.9/lib/javascript/prettier.d.ts +0 -358
- package/lib/.types-compat/ts3.9/lib/javascript/projenrc.d.ts +0 -18
- package/lib/.types-compat/ts3.9/lib/javascript/render-options.d.ts +0 -88
- package/lib/.types-compat/ts3.9/lib/javascript/typescript-config.d.ts +0 -403
- package/lib/.types-compat/ts3.9/lib/javascript/upgrade-dependencies.d.ts +0 -188
- package/lib/.types-compat/ts3.9/lib/javascript/util.d.ts +0 -19
- package/lib/.types-compat/ts3.9/lib/json-patch.d.ts +0 -75
- package/lib/.types-compat/ts3.9/lib/json.d.ts +0 -27
- package/lib/.types-compat/ts3.9/lib/license.d.ts +0 -31
- package/lib/.types-compat/ts3.9/lib/logger.d.ts +0 -73
- package/lib/.types-compat/ts3.9/lib/logging.d.ts +0 -9
- package/lib/.types-compat/ts3.9/lib/makefile.d.ts +0 -77
- package/lib/.types-compat/ts3.9/lib/object-file.d.ts +0 -155
- package/lib/.types-compat/ts3.9/lib/option-hints.d.ts +0 -18
- package/lib/.types-compat/ts3.9/lib/project-build.d.ts +0 -41
- package/lib/.types-compat/ts3.9/lib/project.d.ts +0 -374
- package/lib/.types-compat/ts3.9/lib/projects.d.ts +0 -63
- package/lib/.types-compat/ts3.9/lib/projenrc-json.d.ts +0 -27
- package/lib/.types-compat/ts3.9/lib/projenrc.d.ts +0 -18
- package/lib/.types-compat/ts3.9/lib/python/index.d.ts +0 -14
- package/lib/.types-compat/ts3.9/lib/python/pip.d.ts +0 -32
- package/lib/.types-compat/ts3.9/lib/python/poetry.d.ts +0 -183
- package/lib/.types-compat/ts3.9/lib/python/projenrc.d.ts +0 -32
- package/lib/.types-compat/ts3.9/lib/python/pytest-sample.d.ts +0 -21
- package/lib/.types-compat/ts3.9/lib/python/pytest.d.ts +0 -24
- package/lib/.types-compat/ts3.9/lib/python/python-deps.d.ts +0 -30
- package/lib/.types-compat/ts3.9/lib/python/python-env.d.ts +0 -6
- package/lib/.types-compat/ts3.9/lib/python/python-packaging.d.ts +0 -62
- package/lib/.types-compat/ts3.9/lib/python/python-project.d.ts +0 -190
- package/lib/.types-compat/ts3.9/lib/python/python-sample.d.ts +0 -17
- package/lib/.types-compat/ts3.9/lib/python/requirements-file.d.ts +0 -29
- package/lib/.types-compat/ts3.9/lib/python/setuppy.d.ts +0 -70
- package/lib/.types-compat/ts3.9/lib/python/setuptools.d.ts +0 -15
- package/lib/.types-compat/ts3.9/lib/python/venv.d.ts +0 -28
- package/lib/.types-compat/ts3.9/lib/readme.d.ts +0 -28
- package/lib/.types-compat/ts3.9/lib/release/bump-version.d.ts +0 -72
- package/lib/.types-compat/ts3.9/lib/release/bump-version.task.d.ts +0 -1
- package/lib/.types-compat/ts3.9/lib/release/index.d.ts +0 -3
- package/lib/.types-compat/ts3.9/lib/release/publisher.d.ts +0 -533
- package/lib/.types-compat/ts3.9/lib/release/release-trigger.d.ts +0 -97
- package/lib/.types-compat/ts3.9/lib/release/release.d.ts +0 -338
- package/lib/.types-compat/ts3.9/lib/release/reset-version.task.d.ts +0 -1
- package/lib/.types-compat/ts3.9/lib/release/tag-version.d.ts +0 -31
- package/lib/.types-compat/ts3.9/lib/release/tag-version.task.d.ts +0 -1
- package/lib/.types-compat/ts3.9/lib/release/update-changelog.d.ts +0 -36
- package/lib/.types-compat/ts3.9/lib/release/update-changelog.task.d.ts +0 -1
- package/lib/.types-compat/ts3.9/lib/renovatebot.d.ts +0 -99
- package/lib/.types-compat/ts3.9/lib/run-projenrc-json.task.d.ts +0 -1
- package/lib/.types-compat/ts3.9/lib/sample-file.d.ts +0 -88
- package/lib/.types-compat/ts3.9/lib/semver.d.ts +0 -34
- package/lib/.types-compat/ts3.9/lib/smithy/smithy-build.d.ts +0 -156
- package/lib/.types-compat/ts3.9/lib/source-code.d.ts +0 -46
- package/lib/.types-compat/ts3.9/lib/task-model.d.ts +0 -151
- package/lib/.types-compat/ts3.9/lib/task-runtime.d.ts +0 -32
- package/lib/.types-compat/ts3.9/lib/task.d.ts +0 -136
- package/lib/.types-compat/ts3.9/lib/tasks.d.ts +0 -51
- package/lib/.types-compat/ts3.9/lib/testing.d.ts +0 -18
- package/lib/.types-compat/ts3.9/lib/textfile.d.ts +0 -33
- package/lib/.types-compat/ts3.9/lib/toml.d.ts +0 -15
- package/lib/.types-compat/ts3.9/lib/typescript/index.d.ts +0 -4
- package/lib/.types-compat/ts3.9/lib/typescript/projenrc-ts.d.ts +0 -43
- package/lib/.types-compat/ts3.9/lib/typescript/projenrc.d.ts +0 -27
- package/lib/.types-compat/ts3.9/lib/typescript/typescript-typedoc.d.ts +0 -7
- package/lib/.types-compat/ts3.9/lib/typescript/typescript.d.ts +0 -170
- package/lib/.types-compat/ts3.9/lib/util/semver.d.ts +0 -43
- package/lib/.types-compat/ts3.9/lib/util/synth.d.ts +0 -42
- package/lib/.types-compat/ts3.9/lib/util.d.ts +0 -131
- package/lib/.types-compat/ts3.9/lib/version.d.ts +0 -45
- package/lib/.types-compat/ts3.9/lib/vscode/devcontainer.d.ts +0 -86
- package/lib/.types-compat/ts3.9/lib/vscode/extensions.d.ts +0 -36
- package/lib/.types-compat/ts3.9/lib/vscode/index.d.ts +0 -5
- package/lib/.types-compat/ts3.9/lib/vscode/launch-config.d.ts +0 -90
- package/lib/.types-compat/ts3.9/lib/vscode/settings.d.ts +0 -24
- package/lib/.types-compat/ts3.9/lib/vscode/vscode.d.ts +0 -14
- package/lib/.types-compat/ts3.9/lib/web/index.d.ts +0 -4
- package/lib/.types-compat/ts3.9/lib/web/next.d.ts +0 -100
- package/lib/.types-compat/ts3.9/lib/web/postcss.d.ts +0 -28
- package/lib/.types-compat/ts3.9/lib/web/react.d.ts +0 -105
- package/lib/.types-compat/ts3.9/lib/web/tailwind.d.ts +0 -21
- package/lib/.types-compat/ts3.9/lib/xmlfile.d.ts +0 -18
- package/lib/.types-compat/ts3.9/lib/yaml.d.ts +0 -25
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { AwsCdkDeps, AwsCdkDepsCommonOptions, CdkConfig, CdkConfigCommonOptions, CdkTasks } from ".";
|
|
2
|
-
import { PythonProject, PythonProjectOptions } from "../python/python-project";
|
|
3
|
-
/**
|
|
4
|
-
* Options for `AwsCdkPythonApp`
|
|
5
|
-
*/
|
|
6
|
-
export interface AwsCdkPythonAppOptions extends PythonProjectOptions, CdkConfigCommonOptions, AwsCdkDepsCommonOptions {
|
|
7
|
-
/**
|
|
8
|
-
* The CDK app's entrypoint (relative to the source directory, which is
|
|
9
|
-
* "src" by default).
|
|
10
|
-
*
|
|
11
|
-
* @default "app.py"
|
|
12
|
-
*/
|
|
13
|
-
readonly appEntrypoint?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Python sources directory.
|
|
16
|
-
*
|
|
17
|
-
* @default "tests"
|
|
18
|
-
*/
|
|
19
|
-
readonly testdir?: string;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* AWS CDK app in Python
|
|
23
|
-
*
|
|
24
|
-
* @pjid awscdk-app-py
|
|
25
|
-
*/
|
|
26
|
-
export declare class AwsCdkPythonApp extends PythonProject {
|
|
27
|
-
/**
|
|
28
|
-
* Common CDK tasks.
|
|
29
|
-
*/
|
|
30
|
-
readonly cdkTasks: CdkTasks;
|
|
31
|
-
/**
|
|
32
|
-
* cdk.json configuration.
|
|
33
|
-
*/
|
|
34
|
-
readonly cdkConfig: CdkConfig;
|
|
35
|
-
readonly cdkDeps: AwsCdkDeps;
|
|
36
|
-
/**
|
|
37
|
-
* The CDK app entrypoint
|
|
38
|
-
*/
|
|
39
|
-
readonly appEntrypoint: string;
|
|
40
|
-
/**
|
|
41
|
-
* The directory in which the python tests reside.
|
|
42
|
-
*/
|
|
43
|
-
readonly testdir: string;
|
|
44
|
-
/**
|
|
45
|
-
* The CDK version this app is using.
|
|
46
|
-
*/
|
|
47
|
-
get cdkVersion(): string;
|
|
48
|
-
constructor(options: AwsCdkPythonAppOptions);
|
|
49
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { AwsCdkDeps, AwsCdkDepsCommonOptions } from "./awscdk-deps";
|
|
2
|
-
import { CdkConfig, CdkConfigCommonOptions } from "./cdk-config";
|
|
3
|
-
import { CdkTasks } from "./cdk-tasks";
|
|
4
|
-
import { LambdaFunctionCommonOptions } from "./lambda-function";
|
|
5
|
-
import { TypeScriptAppProject, TypeScriptProjectOptions } from "../typescript";
|
|
6
|
-
export interface AwsCdkTypeScriptAppOptions extends TypeScriptProjectOptions, CdkConfigCommonOptions, AwsCdkDepsCommonOptions {
|
|
7
|
-
/**
|
|
8
|
-
* The CDK app's entrypoint (relative to the source directory, which is
|
|
9
|
-
* "src" by default).
|
|
10
|
-
*
|
|
11
|
-
* @default "main.ts"
|
|
12
|
-
*/
|
|
13
|
-
readonly appEntrypoint?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Automatically adds an `awscdk.LambdaFunction` for each `.lambda.ts` handler
|
|
16
|
-
* in your source tree. If this is disabled, you can manually add an
|
|
17
|
-
* `awscdk.AutoDiscover` component to your project.
|
|
18
|
-
*
|
|
19
|
-
* @default true
|
|
20
|
-
*/
|
|
21
|
-
readonly lambdaAutoDiscover?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Automatically adds an `cloudfront.experimental.EdgeFunction` for each
|
|
24
|
-
* `.edge-lambda.ts` handler in your source tree. If this is disabled, you can
|
|
25
|
-
* manually add an `awscdk.AutoDiscover` component to your project.
|
|
26
|
-
*
|
|
27
|
-
* @default true
|
|
28
|
-
*/
|
|
29
|
-
readonly edgeLambdaAutoDiscover?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Automatically adds an `awscdk.LambdaExtension` for each `.lambda-extension.ts`
|
|
32
|
-
* entrypoint in your source tree. If this is disabled, you can manually add an
|
|
33
|
-
* `awscdk.AutoDiscover` component to your project
|
|
34
|
-
*
|
|
35
|
-
* @default true
|
|
36
|
-
*/
|
|
37
|
-
readonly lambdaExtensionAutoDiscover?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Automatically discovers and creates integration tests for each `.integ.ts`
|
|
40
|
-
* file in under your test directory.
|
|
41
|
-
*
|
|
42
|
-
* @default true
|
|
43
|
-
*/
|
|
44
|
-
readonly integrationTestAutoDiscover?: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Common options for all AWS Lambda functions.
|
|
47
|
-
*
|
|
48
|
-
* @default - default options
|
|
49
|
-
*/
|
|
50
|
-
readonly lambdaOptions?: LambdaFunctionCommonOptions;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* AWS CDK app in TypeScript
|
|
54
|
-
*
|
|
55
|
-
* @pjid awscdk-app-ts
|
|
56
|
-
*/
|
|
57
|
-
export declare class AwsCdkTypeScriptApp extends TypeScriptAppProject {
|
|
58
|
-
/**
|
|
59
|
-
* The CDK version this app is using.
|
|
60
|
-
*/
|
|
61
|
-
get cdkVersion(): string;
|
|
62
|
-
/**
|
|
63
|
-
* The CDK app entrypoint
|
|
64
|
-
*/
|
|
65
|
-
readonly appEntrypoint: string;
|
|
66
|
-
/**
|
|
67
|
-
* Common CDK tasks.
|
|
68
|
-
*/
|
|
69
|
-
readonly cdkTasks: CdkTasks;
|
|
70
|
-
/**
|
|
71
|
-
* cdk.json configuration.
|
|
72
|
-
*/
|
|
73
|
-
readonly cdkConfig: CdkConfig;
|
|
74
|
-
readonly cdkDeps: AwsCdkDeps;
|
|
75
|
-
constructor(options: AwsCdkTypeScriptAppOptions);
|
|
76
|
-
/**
|
|
77
|
-
* Adds an AWS CDK module dependencies
|
|
78
|
-
* @param modules The list of modules to depend on
|
|
79
|
-
*/
|
|
80
|
-
addCdkDependency(...modules: string[]): void;
|
|
81
|
-
}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { AwsCdkDeps, AwsCdkDepsCommonOptions } from "./awscdk-deps";
|
|
2
|
-
import { LambdaFunctionCommonOptions } from "./lambda-function";
|
|
3
|
-
import { ConstructLibrary, ConstructLibraryOptions } from "../cdk";
|
|
4
|
-
/**
|
|
5
|
-
* Options for `AwsCdkConstructLibrary`.
|
|
6
|
-
*/
|
|
7
|
-
export interface AwsCdkConstructLibraryOptions extends ConstructLibraryOptions, AwsCdkDepsCommonOptions {
|
|
8
|
-
/**
|
|
9
|
-
* Automatically adds an `aws_lambda.Function` for each `.lambda.ts` handler
|
|
10
|
-
* in your source tree. If this is disabled, you either need to explicitly
|
|
11
|
-
* call `aws_lambda.Function.autoDiscover()` or define a `new
|
|
12
|
-
* aws_lambda.Function()` for each handler.
|
|
13
|
-
*
|
|
14
|
-
* @default true
|
|
15
|
-
*/
|
|
16
|
-
readonly lambdaAutoDiscover?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Automatically adds an `cloudfront.experimental.EdgeFunction` for each
|
|
19
|
-
* `.edge-lambda.ts` handler in your source tree. If this is disabled, you can
|
|
20
|
-
* manually add an `awscdk.AutoDiscover` component to your project.
|
|
21
|
-
*
|
|
22
|
-
* @default true
|
|
23
|
-
*/
|
|
24
|
-
readonly edgeLambdaAutoDiscover?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Automatically adds an `awscdk.LambdaExtension` for each `.lambda-extension.ts`
|
|
27
|
-
* entrypoint in your source tree. If this is disabled, you can manually add an
|
|
28
|
-
* `awscdk.AutoDiscover` component to your project
|
|
29
|
-
*
|
|
30
|
-
* @default true
|
|
31
|
-
*/
|
|
32
|
-
readonly lambdaExtensionAutoDiscover?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Automatically discovers and creates integration tests for each `.integ.ts`
|
|
35
|
-
* file in under your test directory.
|
|
36
|
-
*
|
|
37
|
-
* @default true
|
|
38
|
-
*/
|
|
39
|
-
readonly integrationTestAutoDiscover?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Common options for all AWS Lambda functions.
|
|
42
|
-
*
|
|
43
|
-
* @default - default options
|
|
44
|
-
*/
|
|
45
|
-
readonly lambdaOptions?: LambdaFunctionCommonOptions;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* AWS CDK construct library project
|
|
49
|
-
*
|
|
50
|
-
* A multi-language (jsii) construct library which vends constructs designed to
|
|
51
|
-
* use within the AWS CDK with a friendly workflow and automatic publishing to
|
|
52
|
-
* the construct catalog.
|
|
53
|
-
*
|
|
54
|
-
* @pjid awscdk-construct
|
|
55
|
-
*/
|
|
56
|
-
export declare class AwsCdkConstructLibrary extends ConstructLibrary {
|
|
57
|
-
readonly cdkDeps: AwsCdkDeps;
|
|
58
|
-
constructor(options: AwsCdkConstructLibraryOptions);
|
|
59
|
-
/**
|
|
60
|
-
* The target CDK version for this library.
|
|
61
|
-
*/
|
|
62
|
-
get cdkVersion(): string;
|
|
63
|
-
/**
|
|
64
|
-
* @deprecated use `cdkVersion`
|
|
65
|
-
*/
|
|
66
|
-
get version(): string;
|
|
67
|
-
/**
|
|
68
|
-
* Adds dependencies to AWS CDK modules.
|
|
69
|
-
*
|
|
70
|
-
* Since this is a library project, dependencies will be added as peer dependencies.
|
|
71
|
-
*
|
|
72
|
-
* @param deps names of cdk modules (e.g. `@aws-cdk/aws-lambda`).
|
|
73
|
-
* @deprecated Not supported in v2. For v1, use `project.cdkDeps.addV1Dependencies()`
|
|
74
|
-
*/
|
|
75
|
-
addCdkDependencies(...deps: string[]): void;
|
|
76
|
-
/**
|
|
77
|
-
* Adds AWS CDK modules as dev dependencies.
|
|
78
|
-
*
|
|
79
|
-
* @param deps names of cdk modules (e.g. `@aws-cdk/aws-lambda`).
|
|
80
|
-
* @deprecated Not supported in v2. For v1, use `project.cdkDeps.addV1DevDependencies()`
|
|
81
|
-
*/
|
|
82
|
-
addCdkTestDependencies(...deps: string[]): void;
|
|
83
|
-
}
|
|
84
|
-
/** @deprecated use `AwsCdkConstructLibraryOptions` */
|
|
85
|
-
export interface ConstructLibraryAwsOptions extends AwsCdkConstructLibraryOptions {
|
|
86
|
-
}
|
|
87
|
-
/** @deprecated use `AwsCdkConstructLibrary` */
|
|
88
|
-
export declare class ConstructLibraryAws extends AwsCdkConstructLibrary {
|
|
89
|
-
}
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
import { Component } from "../component";
|
|
2
|
-
import { DependencyType } from "../dependencies";
|
|
3
|
-
import { Project } from "../project";
|
|
4
|
-
/**
|
|
5
|
-
* Options for `AwsCdkDeps`
|
|
6
|
-
*/
|
|
7
|
-
export interface AwsCdkDepsCommonOptions {
|
|
8
|
-
/**
|
|
9
|
-
* Minimum version of the AWS CDK to depend on.
|
|
10
|
-
*
|
|
11
|
-
* @default "2.1.0"
|
|
12
|
-
*/
|
|
13
|
-
readonly cdkVersion: string;
|
|
14
|
-
/**
|
|
15
|
-
* Minimum version of the `constructs` library to depend on.
|
|
16
|
-
*
|
|
17
|
-
* @default - for CDK 1.x the default is "3.2.27", for CDK 2.x the default is
|
|
18
|
-
* "10.0.5".
|
|
19
|
-
*/
|
|
20
|
-
readonly constructsVersion?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Use pinned version instead of caret version for CDK.
|
|
23
|
-
*
|
|
24
|
-
* You can use this to prevent mixed versions for your CDK dependencies and to prevent auto-updates.
|
|
25
|
-
* If you use experimental features this will let you define the moment you include breaking changes.
|
|
26
|
-
*/
|
|
27
|
-
readonly cdkVersionPinning?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Which AWS CDKv1 modules this project requires
|
|
30
|
-
*
|
|
31
|
-
* @deprecated For CDK 2.x use "deps" instead. (or "peerDeps" if you're building a library)
|
|
32
|
-
*/
|
|
33
|
-
readonly cdkDependencies?: string[];
|
|
34
|
-
/**
|
|
35
|
-
* If this is enabled (default), all modules declared in `cdkDependencies` will be also added as
|
|
36
|
-
* normal `dependencies` (as well as `peerDependencies`).
|
|
37
|
-
*
|
|
38
|
-
* This is to ensure that downstream consumers actually have your CDK dependencies installed
|
|
39
|
-
* when using npm < 7 or yarn, where peer dependencies are not automatically installed.
|
|
40
|
-
* If this is disabled, `cdkDependencies` will be added to `devDependencies` to ensure
|
|
41
|
-
* they are present during development.
|
|
42
|
-
*
|
|
43
|
-
* Note: this setting only applies to construct library projects
|
|
44
|
-
*
|
|
45
|
-
* @default true
|
|
46
|
-
* @deprecated Not supported in CDK v2.
|
|
47
|
-
*/
|
|
48
|
-
readonly cdkDependenciesAsDeps?: boolean;
|
|
49
|
-
/**
|
|
50
|
-
* Warning: NodeJS only.
|
|
51
|
-
* Install the @aws-cdk/assert library?
|
|
52
|
-
*
|
|
53
|
-
* @default - will be included by default for AWS CDK >= 1.0.0 < 2.0.0
|
|
54
|
-
* @deprecated The @aws-cdk/assert library is deprecated in favor of
|
|
55
|
-
* @aws-cdk/assertions (in V1) and included in `aws-cdk-lib` for V2.
|
|
56
|
-
*/
|
|
57
|
-
readonly cdkAssert?: boolean;
|
|
58
|
-
/**
|
|
59
|
-
* Install the assertions library?
|
|
60
|
-
*
|
|
61
|
-
* Only needed for CDK 1.x. If using CDK 2.x then
|
|
62
|
-
* assertions is already included in 'aws-cdk-lib'
|
|
63
|
-
*
|
|
64
|
-
* @default - will be included by default for AWS CDK >= 1.111.0 < 2.0.0
|
|
65
|
-
*/
|
|
66
|
-
readonly cdkAssertions?: boolean;
|
|
67
|
-
/**
|
|
68
|
-
* AWS CDK modules required for testing.
|
|
69
|
-
*
|
|
70
|
-
* @deprecated For CDK 2.x use 'devDeps' (in node.js projects) or 'testDeps' (in java projects) instead
|
|
71
|
-
*/
|
|
72
|
-
readonly cdkTestDependencies?: string[];
|
|
73
|
-
}
|
|
74
|
-
export interface AwsCdkDepsOptions extends AwsCdkDepsCommonOptions {
|
|
75
|
-
/**
|
|
76
|
-
* The type of dependency to use for runtime AWS CDK and `constructs` modules.
|
|
77
|
-
*
|
|
78
|
-
* For libraries, use peer dependencies and for apps use runtime dependencies.
|
|
79
|
-
*/
|
|
80
|
-
readonly dependencyType: DependencyType;
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* Language-specific AWS CDK package names.
|
|
84
|
-
*/
|
|
85
|
-
export interface AwsCdkPackageNames {
|
|
86
|
-
/**
|
|
87
|
-
* Fully qualified name of the core framework package for CDKv1
|
|
88
|
-
*/
|
|
89
|
-
readonly coreV1: string;
|
|
90
|
-
/**
|
|
91
|
-
* Fully qualified name of the core framework package for CDKv2
|
|
92
|
-
*/
|
|
93
|
-
readonly coreV2: string;
|
|
94
|
-
/**
|
|
95
|
-
* Fully qualified name of the constructs library package
|
|
96
|
-
*/
|
|
97
|
-
readonly constructs: string;
|
|
98
|
-
/**
|
|
99
|
-
* Fully qualified name of the assertions library package
|
|
100
|
-
*/
|
|
101
|
-
readonly assertions: string;
|
|
102
|
-
/**
|
|
103
|
-
* Fully qualified name of the assert library package
|
|
104
|
-
* Can be empty as it's only really available for javascript projects
|
|
105
|
-
*/
|
|
106
|
-
readonly assert?: string;
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* Manages dependencies on the AWS CDK.
|
|
110
|
-
*/
|
|
111
|
-
export declare abstract class AwsCdkDeps extends Component {
|
|
112
|
-
/**
|
|
113
|
-
* The dependency requirement for AWS CDK (e.g. `^2.0.0`).
|
|
114
|
-
*/
|
|
115
|
-
readonly cdkVersion: string;
|
|
116
|
-
/**
|
|
117
|
-
* The minimum version of the AWS CDK (e.g. `2.0.0`).
|
|
118
|
-
*/
|
|
119
|
-
readonly cdkMinimumVersion: string;
|
|
120
|
-
/**
|
|
121
|
-
* Whether CDK dependencies are added as normal dependencies (and peer dependencies).
|
|
122
|
-
* @deprecated Not used for CDK 2.x
|
|
123
|
-
*/
|
|
124
|
-
readonly cdkDependenciesAsDeps: boolean;
|
|
125
|
-
/**
|
|
126
|
-
* The major version of the AWS CDK (e.g. 1, 2, ...)
|
|
127
|
-
*/
|
|
128
|
-
readonly cdkMajorVersion: number;
|
|
129
|
-
private readonly dependencyType;
|
|
130
|
-
private readonly _packageNames;
|
|
131
|
-
constructor(project: Project, options: AwsCdkDepsOptions);
|
|
132
|
-
preSynthesize(): void;
|
|
133
|
-
/**
|
|
134
|
-
* Adds dependencies to AWS CDK modules.
|
|
135
|
-
*
|
|
136
|
-
* The type of dependency is determined by the `dependencyType` option.
|
|
137
|
-
*
|
|
138
|
-
* This method is not supported in CDK v2. Use `project.addPeerDeps()` or
|
|
139
|
-
* `project.addDeps()` as appropriate.
|
|
140
|
-
*
|
|
141
|
-
* @param deps names of cdk modules (e.g. `@aws-cdk/aws-lambda`).
|
|
142
|
-
*/
|
|
143
|
-
addV1Dependencies(...deps: string[]): void;
|
|
144
|
-
/**
|
|
145
|
-
* Adds AWS CDK modules as dev dependencies.
|
|
146
|
-
*
|
|
147
|
-
* This method is not supported in CDK v2. Use `project.addPeerDeps()` or
|
|
148
|
-
* `project.addDeps()` as appropriate.
|
|
149
|
-
*
|
|
150
|
-
* @param deps fully qualified names of cdk modules (e.g. `@aws-cdk/aws-lambda`).
|
|
151
|
-
*/
|
|
152
|
-
addV1DevDependencies(...deps: string[]): void;
|
|
153
|
-
private addConstructsDependency;
|
|
154
|
-
/**
|
|
155
|
-
* Adds a dependency on the AWS CDK framework (e.g. `@aws-cdk/core` for V1 or `aws-cdk-lib` for V1).
|
|
156
|
-
*/
|
|
157
|
-
private addFrameworkDependency;
|
|
158
|
-
private addV1AssertionLibraryDependency;
|
|
159
|
-
/**
|
|
160
|
-
* Adds a set of dependencies with the user-specified dependency type.
|
|
161
|
-
* @param deps The set of dependency specifications
|
|
162
|
-
*/
|
|
163
|
-
private addV1DependenciesByType;
|
|
164
|
-
/**
|
|
165
|
-
* Return a configuration object with information about package naming in various languages
|
|
166
|
-
*/
|
|
167
|
-
protected abstract packageNames(): AwsCdkPackageNames;
|
|
168
|
-
}
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import { Component } from "../component";
|
|
2
|
-
import { JsonFile } from "../json";
|
|
3
|
-
import { Project } from "../project";
|
|
4
|
-
/**
|
|
5
|
-
* Common options for `cdk.json`.
|
|
6
|
-
*/
|
|
7
|
-
export interface CdkConfigCommonOptions {
|
|
8
|
-
/**
|
|
9
|
-
* Additional context to include in `cdk.json`.
|
|
10
|
-
*
|
|
11
|
-
* @default - no additional context
|
|
12
|
-
*/
|
|
13
|
-
readonly context?: {
|
|
14
|
-
[key: string]: any;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Include all feature flags in cdk.json
|
|
18
|
-
*
|
|
19
|
-
* @default true
|
|
20
|
-
*/
|
|
21
|
-
readonly featureFlags?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* To protect you against unintended changes that affect your security posture,
|
|
24
|
-
* the AWS CDK Toolkit prompts you to approve security-related changes before deploying them.
|
|
25
|
-
*
|
|
26
|
-
* @default ApprovalLevel.BROADENING
|
|
27
|
-
*/
|
|
28
|
-
readonly requireApproval?: ApprovalLevel;
|
|
29
|
-
/**
|
|
30
|
-
* cdk.out directory.
|
|
31
|
-
*
|
|
32
|
-
* @default "cdk.out"
|
|
33
|
-
*/
|
|
34
|
-
readonly cdkout?: string;
|
|
35
|
-
/**
|
|
36
|
-
* A command to execute before synthesis. This command will be called when
|
|
37
|
-
* running `cdk synth` or when `cdk watch` identifies a change in your source
|
|
38
|
-
* code before redeployment.
|
|
39
|
-
*
|
|
40
|
-
* @default - no build command
|
|
41
|
-
*/
|
|
42
|
-
readonly buildCommand?: string;
|
|
43
|
-
/**
|
|
44
|
-
* Glob patterns to include in `cdk watch`.
|
|
45
|
-
*
|
|
46
|
-
* @default []
|
|
47
|
-
*/
|
|
48
|
-
readonly watchIncludes?: string[];
|
|
49
|
-
/**
|
|
50
|
-
* Glob patterns to exclude from `cdk watch`.
|
|
51
|
-
*
|
|
52
|
-
* @default []
|
|
53
|
-
*/
|
|
54
|
-
readonly watchExcludes?: string[];
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Options for `CdkJson`.
|
|
58
|
-
*/
|
|
59
|
-
export interface CdkConfigOptions extends CdkConfigCommonOptions {
|
|
60
|
-
/**
|
|
61
|
-
* The command line to execute in order to synthesize the CDK application
|
|
62
|
-
* (language specific).
|
|
63
|
-
*/
|
|
64
|
-
readonly app: string;
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Represents cdk.json file.
|
|
68
|
-
*/
|
|
69
|
-
export declare class CdkConfig extends Component {
|
|
70
|
-
/**
|
|
71
|
-
* Represents the JSON file.
|
|
72
|
-
*/
|
|
73
|
-
readonly json: JsonFile;
|
|
74
|
-
/**
|
|
75
|
-
* Name of the cdk.out directory.
|
|
76
|
-
*/
|
|
77
|
-
readonly cdkout: string;
|
|
78
|
-
/**
|
|
79
|
-
* List of glob patterns to be included by CDK.
|
|
80
|
-
*/
|
|
81
|
-
private readonly _include;
|
|
82
|
-
/**
|
|
83
|
-
* List of glob patterns to be excluded by CDK.
|
|
84
|
-
*/
|
|
85
|
-
private readonly _exclude;
|
|
86
|
-
constructor(project: Project, options: CdkConfigOptions);
|
|
87
|
-
/**
|
|
88
|
-
* Add includes to `cdk.json`.
|
|
89
|
-
* @param patterns The includes to add.
|
|
90
|
-
*/
|
|
91
|
-
addIncludes(...patterns: string[]): void;
|
|
92
|
-
/**
|
|
93
|
-
* Add excludes to `cdk.json`.
|
|
94
|
-
* @param patterns The excludes to add.
|
|
95
|
-
*/
|
|
96
|
-
addExcludes(...patterns: string[]): void;
|
|
97
|
-
/**
|
|
98
|
-
* List of glob patterns to be included by CDK.
|
|
99
|
-
*/
|
|
100
|
-
get include(): string[];
|
|
101
|
-
/**
|
|
102
|
-
* List of glob patterns to be excluded by CDK.
|
|
103
|
-
*/
|
|
104
|
-
get exclude(): string[];
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* Which approval is required when deploying CDK apps.
|
|
108
|
-
*/
|
|
109
|
-
export declare enum ApprovalLevel {
|
|
110
|
-
/**
|
|
111
|
-
* Approval is never required
|
|
112
|
-
*/
|
|
113
|
-
NEVER = "never",
|
|
114
|
-
/**
|
|
115
|
-
* Requires approval on any IAM or security-group-related change
|
|
116
|
-
*/
|
|
117
|
-
ANY_CHANGE = "any-change",
|
|
118
|
-
/**
|
|
119
|
-
* Requires approval when IAM statements or traffic rules are added; removals don't require approval
|
|
120
|
-
*/
|
|
121
|
-
BROADENING = "broadening"
|
|
122
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Component } from "../component";
|
|
2
|
-
import { Project } from "../project";
|
|
3
|
-
import { Task } from "../task";
|
|
4
|
-
/**
|
|
5
|
-
* Adds standard AWS CDK tasks to your project.
|
|
6
|
-
*/
|
|
7
|
-
export declare class CdkTasks extends Component {
|
|
8
|
-
/**
|
|
9
|
-
* Synthesizes your app.
|
|
10
|
-
*/
|
|
11
|
-
readonly synth: Task;
|
|
12
|
-
/**
|
|
13
|
-
* Synthesizes your app and suppresses stdout.
|
|
14
|
-
*/
|
|
15
|
-
readonly synthSilent: Task;
|
|
16
|
-
/**
|
|
17
|
-
* Deploys your app.
|
|
18
|
-
*/
|
|
19
|
-
readonly deploy: Task;
|
|
20
|
-
/**
|
|
21
|
-
* Destroys all the stacks.
|
|
22
|
-
*/
|
|
23
|
-
readonly destroy: Task;
|
|
24
|
-
/**
|
|
25
|
-
* Diff against production.
|
|
26
|
-
*/
|
|
27
|
-
readonly diff: Task;
|
|
28
|
-
/**
|
|
29
|
-
* Watch task.
|
|
30
|
-
*/
|
|
31
|
-
readonly watch: Task;
|
|
32
|
-
constructor(project: Project);
|
|
33
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export * from "./auto-discover";
|
|
2
|
-
export * from "./awscdk-app-java";
|
|
3
|
-
export * from "./awscdk-app-py";
|
|
4
|
-
export * from "./awscdk-app-ts";
|
|
5
|
-
export * from "./awscdk-construct";
|
|
6
|
-
export * from "./awscdk-deps";
|
|
7
|
-
export * from "./awscdk-deps-java";
|
|
8
|
-
export * from "./awscdk-deps-js";
|
|
9
|
-
export * from "./awscdk-deps-py";
|
|
10
|
-
export * from "./cdk-config";
|
|
11
|
-
export * from "./cdk-tasks";
|
|
12
|
-
export * from "./integration-test";
|
|
13
|
-
export * from "./lambda-function";
|
|
14
|
-
export * from "./lambda-extension";
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { AwsCdkDeps } from "./awscdk-deps";
|
|
2
|
-
import { IntegrationTestBase, IntegrationTestBaseOptions } from "../cdk";
|
|
3
|
-
import { Project } from "../project";
|
|
4
|
-
import { Task } from "../task";
|
|
5
|
-
export interface IntegrationTestCommonOptions {
|
|
6
|
-
/**
|
|
7
|
-
* Destroy the test app after a successful deployment. If disabled, leaves the
|
|
8
|
-
* app deployed in the dev account.
|
|
9
|
-
* @default true
|
|
10
|
-
*/
|
|
11
|
-
readonly destroyAfterDeploy?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* Enables path metadata, adding `aws:cdk:path`, with the defining construct's
|
|
14
|
-
* path, to the CloudFormation metadata for each synthesized resource.
|
|
15
|
-
* @default false
|
|
16
|
-
*/
|
|
17
|
-
readonly pathMetadata?: boolean;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Options for `IntegrationTest`.
|
|
21
|
-
*/
|
|
22
|
-
export interface IntegrationTestOptions extends IntegrationTestCommonOptions, IntegrationTestBaseOptions {
|
|
23
|
-
/**
|
|
24
|
-
* A list of stacks within the integration test to deploy/destroy.
|
|
25
|
-
* @default ["**"]
|
|
26
|
-
*/
|
|
27
|
-
readonly stacks?: string[];
|
|
28
|
-
/**
|
|
29
|
-
* AWS CDK dependency manager.
|
|
30
|
-
*/
|
|
31
|
-
readonly cdkDeps: AwsCdkDeps;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Cloud integration tests.
|
|
35
|
-
*/
|
|
36
|
-
export declare class IntegrationTest extends IntegrationTestBase {
|
|
37
|
-
/**
|
|
38
|
-
* Destroy the integration test resources
|
|
39
|
-
*/
|
|
40
|
-
readonly destroyTask: Task;
|
|
41
|
-
/**
|
|
42
|
-
* The watch task.
|
|
43
|
-
*/
|
|
44
|
-
readonly watchTask: Task;
|
|
45
|
-
constructor(project: Project, options: IntegrationTestOptions);
|
|
46
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Feature flags as of v1.130.0
|
|
3
|
-
*/
|
|
4
|
-
export declare const FEATURE_FLAGS: string[];
|
|
5
|
-
/**
|
|
6
|
-
* Suffix for AWS Lambda handlers.
|
|
7
|
-
*/
|
|
8
|
-
export declare const TYPESCRIPT_LAMBDA_EXT = ".lambda.ts";
|
|
9
|
-
/**
|
|
10
|
-
* Suffix for AWS Edge Lambda handlers.
|
|
11
|
-
*/
|
|
12
|
-
export declare const TYPESCRIPT_EDGE_LAMBDA_EXT = ".edge-lambda.ts";
|
|
13
|
-
/**
|
|
14
|
-
* Suffix for AWS Lambda Extensions.
|
|
15
|
-
*/
|
|
16
|
-
export declare const TYPESCRIPT_LAMBDA_EXTENSION_EXT = ".lambda-extension.ts";
|
|
17
|
-
/**
|
|
18
|
-
* Converts the given path string to posix if it wasn't already.
|
|
19
|
-
*/
|
|
20
|
-
export declare function convertToPosixPath(p: string): string;
|