@alma-cdk/project 0.0.14
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/.gitattributes +22 -0
- package/.jsii +5569 -0
- package/.nvmrc +1 -0
- package/API.md +3500 -0
- package/LICENSE +202 -0
- package/README.md +201 -0
- package/assets/accounts-1x.svg +3 -0
- package/assets/accounts-2x.svg +3 -0
- package/assets/accounts-3x.svg +3 -0
- package/assets/accounts.drawio +1 -0
- package/assets/alma-cdk-logo.afdesign +0 -0
- package/assets/alma-cdk-project.svg +61 -0
- package/lib/configurations/accounts.d.ts +108 -0
- package/lib/configurations/accounts.js +176 -0
- package/lib/configurations/environments.d.ts +45 -0
- package/lib/configurations/environments.js +83 -0
- package/lib/configurations/index.d.ts +2 -0
- package/lib/configurations/index.js +8 -0
- package/lib/context/account.d.ts +12 -0
- package/lib/context/account.js +41 -0
- package/lib/context/environment.d.ts +144 -0
- package/lib/context/environment.js +183 -0
- package/lib/context/index.d.ts +2 -0
- package/lib/context/index.js +9 -0
- package/lib/error/add.d.ts +2 -0
- package/lib/error/add.js +9 -0
- package/lib/error/index.d.ts +1 -0
- package/lib/error/index.js +5 -0
- package/lib/index.d.ts +6 -0
- package/lib/index.js +19 -0
- package/lib/name/index.d.ts +10 -0
- package/lib/name/index.js +18 -0
- package/lib/name/interfaces.d.ts +4 -0
- package/lib/name/interfaces.js +3 -0
- package/lib/name/max-length.d.ts +6 -0
- package/lib/name/max-length.js +29 -0
- package/lib/name/name-path.d.ts +8 -0
- package/lib/name/name-path.js +32 -0
- package/lib/name/name-path.test.d.ts +1 -0
- package/lib/name/name-path.test.js +88 -0
- package/lib/name/name-url.d.ts +8 -0
- package/lib/name/name-url.js +33 -0
- package/lib/name/name-url.test.d.ts +1 -0
- package/lib/name/name-url.test.js +84 -0
- package/lib/name/name.d.ts +13 -0
- package/lib/name/name.js +61 -0
- package/lib/name/name.test.d.ts +1 -0
- package/lib/name/name.test.js +83 -0
- package/lib/name/trim.d.ts +3 -0
- package/lib/name/trim.js +24 -0
- package/lib/name/trim.test.d.ts +1 -0
- package/lib/name/trim.test.js +30 -0
- package/lib/project/account-type.d.ts +10 -0
- package/lib/project/account-type.js +37 -0
- package/lib/project/environment-type.d.ts +9 -0
- package/lib/project/environment-type.js +40 -0
- package/lib/project/envregexp.d.ts +5 -0
- package/lib/project/envregexp.js +17 -0
- package/lib/project/index.d.ts +6 -0
- package/lib/project/index.js +25 -0
- package/lib/project/interfaces.d.ts +102 -0
- package/lib/project/interfaces.js +3 -0
- package/lib/project/project-context.d.ts +29 -0
- package/lib/project/project-context.js +87 -0
- package/lib/project/project.d.ts +51 -0
- package/lib/project/project.js +82 -0
- package/lib/project/resolve-region.d.ts +2 -0
- package/lib/project/resolve-region.js +24 -0
- package/lib/smartstack/description/index.d.ts +6 -0
- package/lib/smartstack/description/index.js +16 -0
- package/lib/smartstack/description/index.test.d.ts +1 -0
- package/lib/smartstack/description/index.test.js +104 -0
- package/lib/smartstack/index.d.ts +1 -0
- package/lib/smartstack/index.js +5 -0
- package/lib/smartstack/name/index.d.ts +8 -0
- package/lib/smartstack/name/index.js +21 -0
- package/lib/smartstack/name/index.test.d.ts +1 -0
- package/lib/smartstack/name/index.test.js +129 -0
- package/lib/smartstack/stack.d.ts +9 -0
- package/lib/smartstack/stack.js +66 -0
- package/lib/smartstack/tags/checks.d.ts +5 -0
- package/lib/smartstack/tags/checks.js +18 -0
- package/lib/smartstack/tags/exclude.d.ts +2 -0
- package/lib/smartstack/tags/exclude.js +17 -0
- package/lib/smartstack/tags/index.d.ts +2 -0
- package/lib/smartstack/tags/index.js +23 -0
- package/lib/smartstack/tags/taggers.d.ts +13 -0
- package/lib/smartstack/tags/taggers.js +41 -0
- package/lib/smartstack/tags/values.d.ts +20 -0
- package/lib/smartstack/tags/values.js +27 -0
- package/lib/smartstack/termination/index.d.ts +5 -0
- package/lib/smartstack/termination/index.js +22 -0
- package/lib/smartstack/termination/index.test.d.ts +1 -0
- package/lib/smartstack/termination/index.test.js +86 -0
- package/lib/template/index.d.ts +5 -0
- package/lib/template/index.js +28 -0
- package/lib/utils/isSet.d.ts +1 -0
- package/lib/utils/isSet.js +9 -0
- package/lib/wrapper/account.d.ts +4 -0
- package/lib/wrapper/account.js +23 -0
- package/lib/wrapper/environment.d.ts +4 -0
- package/lib/wrapper/environment.js +19 -0
- package/lib/wrapper/index.d.ts +2 -0
- package/lib/wrapper/index.js +7 -0
- package/node_modules/a-sync-waterfall/LICENSE +21 -0
- package/node_modules/a-sync-waterfall/README.md +95 -0
- package/node_modules/a-sync-waterfall/index.js +83 -0
- package/node_modules/a-sync-waterfall/package.json +25 -0
- package/node_modules/a-sync-waterfall/test.js +77 -0
- package/node_modules/asap/CHANGES.md +70 -0
- package/node_modules/asap/LICENSE.md +21 -0
- package/node_modules/asap/README.md +237 -0
- package/node_modules/asap/asap.js +65 -0
- package/node_modules/asap/browser-asap.js +66 -0
- package/node_modules/asap/browser-raw.js +223 -0
- package/node_modules/asap/package.json +62 -0
- package/node_modules/asap/raw.js +101 -0
- package/node_modules/camel-case/LICENSE +21 -0
- package/node_modules/camel-case/README.md +47 -0
- package/node_modules/camel-case/dist/index.d.ts +5 -0
- package/node_modules/camel-case/dist/index.js +23 -0
- package/node_modules/camel-case/dist/index.js.map +1 -0
- package/node_modules/camel-case/dist/index.spec.d.ts +1 -0
- package/node_modules/camel-case/dist/index.spec.js +26 -0
- package/node_modules/camel-case/dist/index.spec.js.map +1 -0
- package/node_modules/camel-case/dist.es2015/index.d.ts +5 -0
- package/node_modules/camel-case/dist.es2015/index.js +17 -0
- package/node_modules/camel-case/dist.es2015/index.js.map +1 -0
- package/node_modules/camel-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/camel-case/dist.es2015/index.spec.js +24 -0
- package/node_modules/camel-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/camel-case/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/node_modules/camel-case/node_modules/tslib/LICENSE.txt +12 -0
- package/node_modules/camel-case/node_modules/tslib/README.md +164 -0
- package/node_modules/camel-case/node_modules/tslib/modules/index.js +55 -0
- package/node_modules/camel-case/node_modules/tslib/modules/package.json +3 -0
- package/node_modules/camel-case/node_modules/tslib/package.json +42 -0
- package/node_modules/camel-case/node_modules/tslib/tslib.d.ts +398 -0
- package/node_modules/camel-case/node_modules/tslib/tslib.es6.html +1 -0
- package/node_modules/camel-case/node_modules/tslib/tslib.es6.js +248 -0
- package/node_modules/camel-case/node_modules/tslib/tslib.html +1 -0
- package/node_modules/camel-case/node_modules/tslib/tslib.js +317 -0
- package/node_modules/camel-case/package.json +93 -0
- package/node_modules/capital-case/LICENSE +21 -0
- package/node_modules/capital-case/README.md +37 -0
- package/node_modules/capital-case/dist/index.d.ts +4 -0
- package/node_modules/capital-case/dist/index.js +16 -0
- package/node_modules/capital-case/dist/index.js.map +1 -0
- package/node_modules/capital-case/dist/index.spec.d.ts +1 -0
- package/node_modules/capital-case/dist/index.spec.js +24 -0
- package/node_modules/capital-case/dist/index.spec.js.map +1 -0
- package/node_modules/capital-case/dist.es2015/index.d.ts +4 -0
- package/node_modules/capital-case/dist.es2015/index.js +11 -0
- package/node_modules/capital-case/dist.es2015/index.js.map +1 -0
- package/node_modules/capital-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/capital-case/dist.es2015/index.spec.js +22 -0
- package/node_modules/capital-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/capital-case/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/node_modules/capital-case/node_modules/tslib/LICENSE.txt +12 -0
- package/node_modules/capital-case/node_modules/tslib/README.md +164 -0
- package/node_modules/capital-case/node_modules/tslib/modules/index.js +55 -0
- package/node_modules/capital-case/node_modules/tslib/modules/package.json +3 -0
- package/node_modules/capital-case/node_modules/tslib/package.json +42 -0
- package/node_modules/capital-case/node_modules/tslib/tslib.d.ts +398 -0
- package/node_modules/capital-case/node_modules/tslib/tslib.es6.html +1 -0
- package/node_modules/capital-case/node_modules/tslib/tslib.es6.js +248 -0
- package/node_modules/capital-case/node_modules/tslib/tslib.html +1 -0
- package/node_modules/capital-case/node_modules/tslib/tslib.js +317 -0
- package/node_modules/capital-case/package.json +94 -0
- package/node_modules/change-case/LICENSE +21 -0
- package/node_modules/change-case/README.md +44 -0
- package/node_modules/change-case/dist/index.d.ts +11 -0
- package/node_modules/change-case/dist/index.js +15 -0
- package/node_modules/change-case/dist/index.js.map +1 -0
- package/node_modules/change-case/dist/index.spec.d.ts +1 -0
- package/node_modules/change-case/dist/index.spec.js +9 -0
- package/node_modules/change-case/dist/index.spec.js.map +1 -0
- package/node_modules/change-case/dist.es2015/index.d.ts +11 -0
- package/node_modules/change-case/dist.es2015/index.js +12 -0
- package/node_modules/change-case/dist.es2015/index.js.map +1 -0
- package/node_modules/change-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/change-case/dist.es2015/index.spec.js +7 -0
- package/node_modules/change-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/change-case/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/node_modules/change-case/node_modules/tslib/LICENSE.txt +12 -0
- package/node_modules/change-case/node_modules/tslib/README.md +164 -0
- package/node_modules/change-case/node_modules/tslib/modules/index.js +55 -0
- package/node_modules/change-case/node_modules/tslib/modules/package.json +3 -0
- package/node_modules/change-case/node_modules/tslib/package.json +42 -0
- package/node_modules/change-case/node_modules/tslib/tslib.d.ts +398 -0
- package/node_modules/change-case/node_modules/tslib/tslib.es6.html +1 -0
- package/node_modules/change-case/node_modules/tslib/tslib.es6.js +248 -0
- package/node_modules/change-case/node_modules/tslib/tslib.html +1 -0
- package/node_modules/change-case/node_modules/tslib/tslib.js +317 -0
- package/node_modules/change-case/package.json +105 -0
- package/node_modules/constant-case/LICENSE +21 -0
- package/node_modules/constant-case/README.md +37 -0
- package/node_modules/constant-case/dist/index.d.ts +3 -0
- package/node_modules/constant-case/dist/index.js +12 -0
- package/node_modules/constant-case/dist/index.js.map +1 -0
- package/node_modules/constant-case/dist/index.spec.d.ts +1 -0
- package/node_modules/constant-case/dist/index.spec.js +26 -0
- package/node_modules/constant-case/dist/index.spec.js.map +1 -0
- package/node_modules/constant-case/dist.es2015/index.d.ts +3 -0
- package/node_modules/constant-case/dist.es2015/index.js +8 -0
- package/node_modules/constant-case/dist.es2015/index.js.map +1 -0
- package/node_modules/constant-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/constant-case/dist.es2015/index.spec.js +24 -0
- package/node_modules/constant-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/constant-case/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/node_modules/constant-case/node_modules/tslib/LICENSE.txt +12 -0
- package/node_modules/constant-case/node_modules/tslib/README.md +164 -0
- package/node_modules/constant-case/node_modules/tslib/modules/index.js +55 -0
- package/node_modules/constant-case/node_modules/tslib/modules/package.json +3 -0
- package/node_modules/constant-case/node_modules/tslib/package.json +42 -0
- package/node_modules/constant-case/node_modules/tslib/tslib.d.ts +398 -0
- package/node_modules/constant-case/node_modules/tslib/tslib.es6.html +1 -0
- package/node_modules/constant-case/node_modules/tslib/tslib.es6.js +248 -0
- package/node_modules/constant-case/node_modules/tslib/tslib.html +1 -0
- package/node_modules/constant-case/node_modules/tslib/tslib.js +317 -0
- package/node_modules/constant-case/package.json +94 -0
- package/node_modules/dot-case/LICENSE +21 -0
- package/node_modules/dot-case/README.md +37 -0
- package/node_modules/dot-case/dist/index.d.ts +3 -0
- package/node_modules/dot-case/dist/index.js +11 -0
- package/node_modules/dot-case/dist/index.js.map +1 -0
- package/node_modules/dot-case/dist/index.spec.d.ts +1 -0
- package/node_modules/dot-case/dist/index.spec.js +26 -0
- package/node_modules/dot-case/dist/index.spec.js.map +1 -0
- package/node_modules/dot-case/dist.es2015/index.d.ts +3 -0
- package/node_modules/dot-case/dist.es2015/index.js +7 -0
- package/node_modules/dot-case/dist.es2015/index.js.map +1 -0
- package/node_modules/dot-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/dot-case/dist.es2015/index.spec.js +24 -0
- package/node_modules/dot-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/dot-case/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/node_modules/dot-case/node_modules/tslib/LICENSE.txt +12 -0
- package/node_modules/dot-case/node_modules/tslib/README.md +164 -0
- package/node_modules/dot-case/node_modules/tslib/modules/index.js +55 -0
- package/node_modules/dot-case/node_modules/tslib/modules/package.json +3 -0
- package/node_modules/dot-case/node_modules/tslib/package.json +42 -0
- package/node_modules/dot-case/node_modules/tslib/tslib.d.ts +398 -0
- package/node_modules/dot-case/node_modules/tslib/tslib.es6.html +1 -0
- package/node_modules/dot-case/node_modules/tslib/tslib.es6.js +248 -0
- package/node_modules/dot-case/node_modules/tslib/tslib.html +1 -0
- package/node_modules/dot-case/node_modules/tslib/tslib.js +317 -0
- package/node_modules/dot-case/package.json +93 -0
- package/node_modules/header-case/LICENSE +21 -0
- package/node_modules/header-case/README.md +37 -0
- package/node_modules/header-case/dist/index.d.ts +3 -0
- package/node_modules/header-case/dist/index.js +11 -0
- package/node_modules/header-case/dist/index.js.map +1 -0
- package/node_modules/header-case/dist/index.spec.d.ts +1 -0
- package/node_modules/header-case/dist/index.spec.js +24 -0
- package/node_modules/header-case/dist/index.spec.js.map +1 -0
- package/node_modules/header-case/dist.es2015/index.d.ts +3 -0
- package/node_modules/header-case/dist.es2015/index.js +7 -0
- package/node_modules/header-case/dist.es2015/index.js.map +1 -0
- package/node_modules/header-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/header-case/dist.es2015/index.spec.js +22 -0
- package/node_modules/header-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/header-case/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/node_modules/header-case/node_modules/tslib/LICENSE.txt +12 -0
- package/node_modules/header-case/node_modules/tslib/README.md +164 -0
- package/node_modules/header-case/node_modules/tslib/modules/index.js +55 -0
- package/node_modules/header-case/node_modules/tslib/modules/package.json +3 -0
- package/node_modules/header-case/node_modules/tslib/package.json +42 -0
- package/node_modules/header-case/node_modules/tslib/tslib.d.ts +398 -0
- package/node_modules/header-case/node_modules/tslib/tslib.es6.html +1 -0
- package/node_modules/header-case/node_modules/tslib/tslib.es6.js +248 -0
- package/node_modules/header-case/node_modules/tslib/tslib.html +1 -0
- package/node_modules/header-case/node_modules/tslib/tslib.js +317 -0
- package/node_modules/header-case/package.json +93 -0
- package/node_modules/lodash/LICENSE +47 -0
- package/node_modules/lodash/README.md +39 -0
- package/node_modules/lodash/_DataView.js +7 -0
- package/node_modules/lodash/_Hash.js +32 -0
- package/node_modules/lodash/_LazyWrapper.js +28 -0
- package/node_modules/lodash/_ListCache.js +32 -0
- package/node_modules/lodash/_LodashWrapper.js +22 -0
- package/node_modules/lodash/_Map.js +7 -0
- package/node_modules/lodash/_MapCache.js +32 -0
- package/node_modules/lodash/_Promise.js +7 -0
- package/node_modules/lodash/_Set.js +7 -0
- package/node_modules/lodash/_SetCache.js +27 -0
- package/node_modules/lodash/_Stack.js +27 -0
- package/node_modules/lodash/_Symbol.js +6 -0
- package/node_modules/lodash/_Uint8Array.js +6 -0
- package/node_modules/lodash/_WeakMap.js +7 -0
- package/node_modules/lodash/_apply.js +21 -0
- package/node_modules/lodash/_arrayAggregator.js +22 -0
- package/node_modules/lodash/_arrayEach.js +22 -0
- package/node_modules/lodash/_arrayEachRight.js +21 -0
- package/node_modules/lodash/_arrayEvery.js +23 -0
- package/node_modules/lodash/_arrayFilter.js +25 -0
- package/node_modules/lodash/_arrayIncludes.js +17 -0
- package/node_modules/lodash/_arrayIncludesWith.js +22 -0
- package/node_modules/lodash/_arrayLikeKeys.js +49 -0
- package/node_modules/lodash/_arrayMap.js +21 -0
- package/node_modules/lodash/_arrayPush.js +20 -0
- package/node_modules/lodash/_arrayReduce.js +26 -0
- package/node_modules/lodash/_arrayReduceRight.js +24 -0
- package/node_modules/lodash/_arraySample.js +15 -0
- package/node_modules/lodash/_arraySampleSize.js +17 -0
- package/node_modules/lodash/_arrayShuffle.js +15 -0
- package/node_modules/lodash/_arraySome.js +23 -0
- package/node_modules/lodash/_asciiSize.js +12 -0
- package/node_modules/lodash/_asciiToArray.js +12 -0
- package/node_modules/lodash/_asciiWords.js +15 -0
- package/node_modules/lodash/_assignMergeValue.js +20 -0
- package/node_modules/lodash/_assignValue.js +28 -0
- package/node_modules/lodash/_assocIndexOf.js +21 -0
- package/node_modules/lodash/_baseAggregator.js +21 -0
- package/node_modules/lodash/_baseAssign.js +17 -0
- package/node_modules/lodash/_baseAssignIn.js +17 -0
- package/node_modules/lodash/_baseAssignValue.js +25 -0
- package/node_modules/lodash/_baseAt.js +23 -0
- package/node_modules/lodash/_baseClamp.js +22 -0
- package/node_modules/lodash/_baseClone.js +166 -0
- package/node_modules/lodash/_baseConforms.js +18 -0
- package/node_modules/lodash/_baseConformsTo.js +27 -0
- package/node_modules/lodash/_baseCreate.js +30 -0
- package/node_modules/lodash/_baseDelay.js +21 -0
- package/node_modules/lodash/_baseDifference.js +67 -0
- package/node_modules/lodash/_baseEach.js +14 -0
- package/node_modules/lodash/_baseEachRight.js +14 -0
- package/node_modules/lodash/_baseEvery.js +21 -0
- package/node_modules/lodash/_baseExtremum.js +32 -0
- package/node_modules/lodash/_baseFill.js +32 -0
- package/node_modules/lodash/_baseFilter.js +21 -0
- package/node_modules/lodash/_baseFindIndex.js +24 -0
- package/node_modules/lodash/_baseFindKey.js +23 -0
- package/node_modules/lodash/_baseFlatten.js +38 -0
- package/node_modules/lodash/_baseFor.js +16 -0
- package/node_modules/lodash/_baseForOwn.js +16 -0
- package/node_modules/lodash/_baseForOwnRight.js +16 -0
- package/node_modules/lodash/_baseForRight.js +15 -0
- package/node_modules/lodash/_baseFunctions.js +19 -0
- package/node_modules/lodash/_baseGet.js +24 -0
- package/node_modules/lodash/_baseGetAllKeys.js +20 -0
- package/node_modules/lodash/_baseGetTag.js +28 -0
- package/node_modules/lodash/_baseGt.js +14 -0
- package/node_modules/lodash/_baseHas.js +19 -0
- package/node_modules/lodash/_baseHasIn.js +13 -0
- package/node_modules/lodash/_baseInRange.js +18 -0
- package/node_modules/lodash/_baseIndexOf.js +20 -0
- package/node_modules/lodash/_baseIndexOfWith.js +23 -0
- package/node_modules/lodash/_baseIntersection.js +74 -0
- package/node_modules/lodash/_baseInverter.js +21 -0
- package/node_modules/lodash/_baseInvoke.js +24 -0
- package/node_modules/lodash/_baseIsArguments.js +18 -0
- package/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
- package/node_modules/lodash/_baseIsDate.js +18 -0
- package/node_modules/lodash/_baseIsEqual.js +28 -0
- package/node_modules/lodash/_baseIsEqualDeep.js +83 -0
- package/node_modules/lodash/_baseIsMap.js +18 -0
- package/node_modules/lodash/_baseIsMatch.js +62 -0
- package/node_modules/lodash/_baseIsNaN.js +12 -0
- package/node_modules/lodash/_baseIsNative.js +47 -0
- package/node_modules/lodash/_baseIsRegExp.js +18 -0
- package/node_modules/lodash/_baseIsSet.js +18 -0
- package/node_modules/lodash/_baseIsTypedArray.js +60 -0
- package/node_modules/lodash/_baseIteratee.js +31 -0
- package/node_modules/lodash/_baseKeys.js +30 -0
- package/node_modules/lodash/_baseKeysIn.js +33 -0
- package/node_modules/lodash/_baseLodash.js +10 -0
- package/node_modules/lodash/_baseLt.js +14 -0
- package/node_modules/lodash/_baseMap.js +22 -0
- package/node_modules/lodash/_baseMatches.js +22 -0
- package/node_modules/lodash/_baseMatchesProperty.js +33 -0
- package/node_modules/lodash/_baseMean.js +20 -0
- package/node_modules/lodash/_baseMerge.js +42 -0
- package/node_modules/lodash/_baseMergeDeep.js +94 -0
- package/node_modules/lodash/_baseNth.js +20 -0
- package/node_modules/lodash/_baseOrderBy.js +49 -0
- package/node_modules/lodash/_basePick.js +19 -0
- package/node_modules/lodash/_basePickBy.js +30 -0
- package/node_modules/lodash/_baseProperty.js +14 -0
- package/node_modules/lodash/_basePropertyDeep.js +16 -0
- package/node_modules/lodash/_basePropertyOf.js +14 -0
- package/node_modules/lodash/_basePullAll.js +51 -0
- package/node_modules/lodash/_basePullAt.js +37 -0
- package/node_modules/lodash/_baseRandom.js +18 -0
- package/node_modules/lodash/_baseRange.js +28 -0
- package/node_modules/lodash/_baseReduce.js +23 -0
- package/node_modules/lodash/_baseRepeat.js +35 -0
- package/node_modules/lodash/_baseRest.js +17 -0
- package/node_modules/lodash/_baseSample.js +15 -0
- package/node_modules/lodash/_baseSampleSize.js +18 -0
- package/node_modules/lodash/_baseSet.js +51 -0
- package/node_modules/lodash/_baseSetData.js +17 -0
- package/node_modules/lodash/_baseSetToString.js +22 -0
- package/node_modules/lodash/_baseShuffle.js +15 -0
- package/node_modules/lodash/_baseSlice.js +31 -0
- package/node_modules/lodash/_baseSome.js +22 -0
- package/node_modules/lodash/_baseSortBy.js +21 -0
- package/node_modules/lodash/_baseSortedIndex.js +42 -0
- package/node_modules/lodash/_baseSortedIndexBy.js +67 -0
- package/node_modules/lodash/_baseSortedUniq.js +30 -0
- package/node_modules/lodash/_baseSum.js +24 -0
- package/node_modules/lodash/_baseTimes.js +20 -0
- package/node_modules/lodash/_baseToNumber.js +24 -0
- package/node_modules/lodash/_baseToPairs.js +18 -0
- package/node_modules/lodash/_baseToString.js +37 -0
- package/node_modules/lodash/_baseTrim.js +19 -0
- package/node_modules/lodash/_baseUnary.js +14 -0
- package/node_modules/lodash/_baseUniq.js +72 -0
- package/node_modules/lodash/_baseUnset.js +20 -0
- package/node_modules/lodash/_baseUpdate.js +18 -0
- package/node_modules/lodash/_baseValues.js +19 -0
- package/node_modules/lodash/_baseWhile.js +26 -0
- package/node_modules/lodash/_baseWrapperValue.js +25 -0
- package/node_modules/lodash/_baseXor.js +36 -0
- package/node_modules/lodash/_baseZipObject.js +23 -0
- package/node_modules/lodash/_cacheHas.js +13 -0
- package/node_modules/lodash/_castArrayLikeObject.js +14 -0
- package/node_modules/lodash/_castFunction.js +14 -0
- package/node_modules/lodash/_castPath.js +21 -0
- package/node_modules/lodash/_castRest.js +14 -0
- package/node_modules/lodash/_castSlice.js +18 -0
- package/node_modules/lodash/_charsEndIndex.js +19 -0
- package/node_modules/lodash/_charsStartIndex.js +20 -0
- package/node_modules/lodash/_cloneArrayBuffer.js +16 -0
- package/node_modules/lodash/_cloneBuffer.js +35 -0
- package/node_modules/lodash/_cloneDataView.js +16 -0
- package/node_modules/lodash/_cloneRegExp.js +17 -0
- package/node_modules/lodash/_cloneSymbol.js +18 -0
- package/node_modules/lodash/_cloneTypedArray.js +16 -0
- package/node_modules/lodash/_compareAscending.js +41 -0
- package/node_modules/lodash/_compareMultiple.js +44 -0
- package/node_modules/lodash/_composeArgs.js +39 -0
- package/node_modules/lodash/_composeArgsRight.js +41 -0
- package/node_modules/lodash/_copyArray.js +20 -0
- package/node_modules/lodash/_copyObject.js +40 -0
- package/node_modules/lodash/_copySymbols.js +16 -0
- package/node_modules/lodash/_copySymbolsIn.js +16 -0
- package/node_modules/lodash/_coreJsData.js +6 -0
- package/node_modules/lodash/_countHolders.js +21 -0
- package/node_modules/lodash/_createAggregator.js +23 -0
- package/node_modules/lodash/_createAssigner.js +37 -0
- package/node_modules/lodash/_createBaseEach.js +32 -0
- package/node_modules/lodash/_createBaseFor.js +25 -0
- package/node_modules/lodash/_createBind.js +28 -0
- package/node_modules/lodash/_createCaseFirst.js +33 -0
- package/node_modules/lodash/_createCompounder.js +24 -0
- package/node_modules/lodash/_createCtor.js +37 -0
- package/node_modules/lodash/_createCurry.js +46 -0
- package/node_modules/lodash/_createFind.js +25 -0
- package/node_modules/lodash/_createFlow.js +78 -0
- package/node_modules/lodash/_createHybrid.js +92 -0
- package/node_modules/lodash/_createInverter.js +17 -0
- package/node_modules/lodash/_createMathOperation.js +38 -0
- package/node_modules/lodash/_createOver.js +27 -0
- package/node_modules/lodash/_createPadding.js +33 -0
- package/node_modules/lodash/_createPartial.js +43 -0
- package/node_modules/lodash/_createRange.js +30 -0
- package/node_modules/lodash/_createRecurry.js +56 -0
- package/node_modules/lodash/_createRelationalOperation.js +20 -0
- package/node_modules/lodash/_createRound.js +35 -0
- package/node_modules/lodash/_createSet.js +19 -0
- package/node_modules/lodash/_createToPairs.js +30 -0
- package/node_modules/lodash/_createWrap.js +106 -0
- package/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
- package/node_modules/lodash/_customDefaultsMerge.js +28 -0
- package/node_modules/lodash/_customOmitClone.js +16 -0
- package/node_modules/lodash/_deburrLetter.js +71 -0
- package/node_modules/lodash/_defineProperty.js +11 -0
- package/node_modules/lodash/_equalArrays.js +84 -0
- package/node_modules/lodash/_equalByTag.js +112 -0
- package/node_modules/lodash/_equalObjects.js +90 -0
- package/node_modules/lodash/_escapeHtmlChar.js +21 -0
- package/node_modules/lodash/_escapeStringChar.js +22 -0
- package/node_modules/lodash/_flatRest.js +16 -0
- package/node_modules/lodash/_freeGlobal.js +4 -0
- package/node_modules/lodash/_getAllKeys.js +16 -0
- package/node_modules/lodash/_getAllKeysIn.js +17 -0
- package/node_modules/lodash/_getData.js +15 -0
- package/node_modules/lodash/_getFuncName.js +31 -0
- package/node_modules/lodash/_getHolder.js +13 -0
- package/node_modules/lodash/_getMapData.js +18 -0
- package/node_modules/lodash/_getMatchData.js +24 -0
- package/node_modules/lodash/_getNative.js +17 -0
- package/node_modules/lodash/_getPrototype.js +6 -0
- package/node_modules/lodash/_getRawTag.js +46 -0
- package/node_modules/lodash/_getSymbols.js +30 -0
- package/node_modules/lodash/_getSymbolsIn.js +25 -0
- package/node_modules/lodash/_getTag.js +58 -0
- package/node_modules/lodash/_getValue.js +13 -0
- package/node_modules/lodash/_getView.js +33 -0
- package/node_modules/lodash/_getWrapDetails.js +17 -0
- package/node_modules/lodash/_hasPath.js +39 -0
- package/node_modules/lodash/_hasUnicode.js +26 -0
- package/node_modules/lodash/_hasUnicodeWord.js +15 -0
- package/node_modules/lodash/_hashClear.js +15 -0
- package/node_modules/lodash/_hashDelete.js +17 -0
- package/node_modules/lodash/_hashGet.js +30 -0
- package/node_modules/lodash/_hashHas.js +23 -0
- package/node_modules/lodash/_hashSet.js +23 -0
- package/node_modules/lodash/_initCloneArray.js +26 -0
- package/node_modules/lodash/_initCloneByTag.js +77 -0
- package/node_modules/lodash/_initCloneObject.js +18 -0
- package/node_modules/lodash/_insertWrapDetails.js +23 -0
- package/node_modules/lodash/_isFlattenable.js +20 -0
- package/node_modules/lodash/_isIndex.js +25 -0
- package/node_modules/lodash/_isIterateeCall.js +30 -0
- package/node_modules/lodash/_isKey.js +29 -0
- package/node_modules/lodash/_isKeyable.js +15 -0
- package/node_modules/lodash/_isLaziable.js +28 -0
- package/node_modules/lodash/_isMaskable.js +14 -0
- package/node_modules/lodash/_isMasked.js +20 -0
- package/node_modules/lodash/_isPrototype.js +18 -0
- package/node_modules/lodash/_isStrictComparable.js +15 -0
- package/node_modules/lodash/_iteratorToArray.js +18 -0
- package/node_modules/lodash/_lazyClone.js +23 -0
- package/node_modules/lodash/_lazyReverse.js +23 -0
- package/node_modules/lodash/_lazyValue.js +69 -0
- package/node_modules/lodash/_listCacheClear.js +13 -0
- package/node_modules/lodash/_listCacheDelete.js +35 -0
- package/node_modules/lodash/_listCacheGet.js +19 -0
- package/node_modules/lodash/_listCacheHas.js +16 -0
- package/node_modules/lodash/_listCacheSet.js +26 -0
- package/node_modules/lodash/_mapCacheClear.js +21 -0
- package/node_modules/lodash/_mapCacheDelete.js +18 -0
- package/node_modules/lodash/_mapCacheGet.js +16 -0
- package/node_modules/lodash/_mapCacheHas.js +16 -0
- package/node_modules/lodash/_mapCacheSet.js +22 -0
- package/node_modules/lodash/_mapToArray.js +18 -0
- package/node_modules/lodash/_matchesStrictComparable.js +20 -0
- package/node_modules/lodash/_memoizeCapped.js +26 -0
- package/node_modules/lodash/_mergeData.js +90 -0
- package/node_modules/lodash/_metaMap.js +6 -0
- package/node_modules/lodash/_nativeCreate.js +6 -0
- package/node_modules/lodash/_nativeKeys.js +6 -0
- package/node_modules/lodash/_nativeKeysIn.js +20 -0
- package/node_modules/lodash/_nodeUtil.js +30 -0
- package/node_modules/lodash/_objectToString.js +22 -0
- package/node_modules/lodash/_overArg.js +15 -0
- package/node_modules/lodash/_overRest.js +36 -0
- package/node_modules/lodash/_parent.js +16 -0
- package/node_modules/lodash/_reEscape.js +4 -0
- package/node_modules/lodash/_reEvaluate.js +4 -0
- package/node_modules/lodash/_reInterpolate.js +4 -0
- package/node_modules/lodash/_realNames.js +4 -0
- package/node_modules/lodash/_reorder.js +29 -0
- package/node_modules/lodash/_replaceHolders.js +29 -0
- package/node_modules/lodash/_root.js +9 -0
- package/node_modules/lodash/_safeGet.js +21 -0
- package/node_modules/lodash/_setCacheAdd.js +19 -0
- package/node_modules/lodash/_setCacheHas.js +14 -0
- package/node_modules/lodash/_setData.js +20 -0
- package/node_modules/lodash/_setToArray.js +18 -0
- package/node_modules/lodash/_setToPairs.js +18 -0
- package/node_modules/lodash/_setToString.js +14 -0
- package/node_modules/lodash/_setWrapToString.js +21 -0
- package/node_modules/lodash/_shortOut.js +37 -0
- package/node_modules/lodash/_shuffleSelf.js +28 -0
- package/node_modules/lodash/_stackClear.js +15 -0
- package/node_modules/lodash/_stackDelete.js +18 -0
- package/node_modules/lodash/_stackGet.js +14 -0
- package/node_modules/lodash/_stackHas.js +14 -0
- package/node_modules/lodash/_stackSet.js +34 -0
- package/node_modules/lodash/_strictIndexOf.js +23 -0
- package/node_modules/lodash/_strictLastIndexOf.js +21 -0
- package/node_modules/lodash/_stringSize.js +18 -0
- package/node_modules/lodash/_stringToArray.js +18 -0
- package/node_modules/lodash/_stringToPath.js +27 -0
- package/node_modules/lodash/_toKey.js +21 -0
- package/node_modules/lodash/_toSource.js +26 -0
- package/node_modules/lodash/_trimmedEndIndex.js +19 -0
- package/node_modules/lodash/_unescapeHtmlChar.js +21 -0
- package/node_modules/lodash/_unicodeSize.js +44 -0
- package/node_modules/lodash/_unicodeToArray.js +40 -0
- package/node_modules/lodash/_unicodeWords.js +69 -0
- package/node_modules/lodash/_updateWrapDetails.js +46 -0
- package/node_modules/lodash/_wrapperClone.js +23 -0
- package/node_modules/lodash/add.js +22 -0
- package/node_modules/lodash/after.js +42 -0
- package/node_modules/lodash/array.js +67 -0
- package/node_modules/lodash/ary.js +29 -0
- package/node_modules/lodash/assign.js +58 -0
- package/node_modules/lodash/assignIn.js +40 -0
- package/node_modules/lodash/assignInWith.js +38 -0
- package/node_modules/lodash/assignWith.js +37 -0
- package/node_modules/lodash/at.js +23 -0
- package/node_modules/lodash/attempt.js +35 -0
- package/node_modules/lodash/before.js +40 -0
- package/node_modules/lodash/bind.js +57 -0
- package/node_modules/lodash/bindAll.js +41 -0
- package/node_modules/lodash/bindKey.js +68 -0
- package/node_modules/lodash/camelCase.js +29 -0
- package/node_modules/lodash/capitalize.js +23 -0
- package/node_modules/lodash/castArray.js +44 -0
- package/node_modules/lodash/ceil.js +26 -0
- package/node_modules/lodash/chain.js +38 -0
- package/node_modules/lodash/chunk.js +50 -0
- package/node_modules/lodash/clamp.js +39 -0
- package/node_modules/lodash/clone.js +36 -0
- package/node_modules/lodash/cloneDeep.js +29 -0
- package/node_modules/lodash/cloneDeepWith.js +40 -0
- package/node_modules/lodash/cloneWith.js +42 -0
- package/node_modules/lodash/collection.js +30 -0
- package/node_modules/lodash/commit.js +33 -0
- package/node_modules/lodash/compact.js +31 -0
- package/node_modules/lodash/concat.js +43 -0
- package/node_modules/lodash/cond.js +60 -0
- package/node_modules/lodash/conforms.js +35 -0
- package/node_modules/lodash/conformsTo.js +32 -0
- package/node_modules/lodash/constant.js +26 -0
- package/node_modules/lodash/core.js +3877 -0
- package/node_modules/lodash/core.min.js +29 -0
- package/node_modules/lodash/countBy.js +40 -0
- package/node_modules/lodash/create.js +43 -0
- package/node_modules/lodash/curry.js +57 -0
- package/node_modules/lodash/curryRight.js +54 -0
- package/node_modules/lodash/date.js +3 -0
- package/node_modules/lodash/debounce.js +191 -0
- package/node_modules/lodash/deburr.js +45 -0
- package/node_modules/lodash/defaultTo.js +25 -0
- package/node_modules/lodash/defaults.js +64 -0
- package/node_modules/lodash/defaultsDeep.js +30 -0
- package/node_modules/lodash/defer.js +26 -0
- package/node_modules/lodash/delay.js +28 -0
- package/node_modules/lodash/difference.js +33 -0
- package/node_modules/lodash/differenceBy.js +44 -0
- package/node_modules/lodash/differenceWith.js +40 -0
- package/node_modules/lodash/divide.js +22 -0
- package/node_modules/lodash/drop.js +38 -0
- package/node_modules/lodash/dropRight.js +39 -0
- package/node_modules/lodash/dropRightWhile.js +45 -0
- package/node_modules/lodash/dropWhile.js +45 -0
- package/node_modules/lodash/each.js +1 -0
- package/node_modules/lodash/eachRight.js +1 -0
- package/node_modules/lodash/endsWith.js +43 -0
- package/node_modules/lodash/entries.js +1 -0
- package/node_modules/lodash/entriesIn.js +1 -0
- package/node_modules/lodash/eq.js +37 -0
- package/node_modules/lodash/escape.js +43 -0
- package/node_modules/lodash/escapeRegExp.js +32 -0
- package/node_modules/lodash/every.js +56 -0
- package/node_modules/lodash/extend.js +1 -0
- package/node_modules/lodash/extendWith.js +1 -0
- package/node_modules/lodash/fill.js +45 -0
- package/node_modules/lodash/filter.js +52 -0
- package/node_modules/lodash/find.js +42 -0
- package/node_modules/lodash/findIndex.js +55 -0
- package/node_modules/lodash/findKey.js +44 -0
- package/node_modules/lodash/findLast.js +25 -0
- package/node_modules/lodash/findLastIndex.js +59 -0
- package/node_modules/lodash/findLastKey.js +44 -0
- package/node_modules/lodash/first.js +1 -0
- package/node_modules/lodash/flake.lock +40 -0
- package/node_modules/lodash/flake.nix +20 -0
- package/node_modules/lodash/flatMap.js +29 -0
- package/node_modules/lodash/flatMapDeep.js +31 -0
- package/node_modules/lodash/flatMapDepth.js +31 -0
- package/node_modules/lodash/flatten.js +22 -0
- package/node_modules/lodash/flattenDeep.js +25 -0
- package/node_modules/lodash/flattenDepth.js +33 -0
- package/node_modules/lodash/flip.js +28 -0
- package/node_modules/lodash/floor.js +26 -0
- package/node_modules/lodash/flow.js +27 -0
- package/node_modules/lodash/flowRight.js +26 -0
- package/node_modules/lodash/forEach.js +41 -0
- package/node_modules/lodash/forEachRight.js +31 -0
- package/node_modules/lodash/forIn.js +39 -0
- package/node_modules/lodash/forInRight.js +37 -0
- package/node_modules/lodash/forOwn.js +36 -0
- package/node_modules/lodash/forOwnRight.js +34 -0
- package/node_modules/lodash/fp/F.js +1 -0
- package/node_modules/lodash/fp/T.js +1 -0
- package/node_modules/lodash/fp/__.js +1 -0
- package/node_modules/lodash/fp/_baseConvert.js +569 -0
- package/node_modules/lodash/fp/_convertBrowser.js +18 -0
- package/node_modules/lodash/fp/_falseOptions.js +7 -0
- package/node_modules/lodash/fp/_mapping.js +358 -0
- package/node_modules/lodash/fp/_util.js +16 -0
- package/node_modules/lodash/fp/add.js +5 -0
- package/node_modules/lodash/fp/after.js +5 -0
- package/node_modules/lodash/fp/all.js +1 -0
- package/node_modules/lodash/fp/allPass.js +1 -0
- package/node_modules/lodash/fp/always.js +1 -0
- package/node_modules/lodash/fp/any.js +1 -0
- package/node_modules/lodash/fp/anyPass.js +1 -0
- package/node_modules/lodash/fp/apply.js +1 -0
- package/node_modules/lodash/fp/array.js +2 -0
- package/node_modules/lodash/fp/ary.js +5 -0
- package/node_modules/lodash/fp/assign.js +5 -0
- package/node_modules/lodash/fp/assignAll.js +5 -0
- package/node_modules/lodash/fp/assignAllWith.js +5 -0
- package/node_modules/lodash/fp/assignIn.js +5 -0
- package/node_modules/lodash/fp/assignInAll.js +5 -0
- package/node_modules/lodash/fp/assignInAllWith.js +5 -0
- package/node_modules/lodash/fp/assignInWith.js +5 -0
- package/node_modules/lodash/fp/assignWith.js +5 -0
- package/node_modules/lodash/fp/assoc.js +1 -0
- package/node_modules/lodash/fp/assocPath.js +1 -0
- package/node_modules/lodash/fp/at.js +5 -0
- package/node_modules/lodash/fp/attempt.js +5 -0
- package/node_modules/lodash/fp/before.js +5 -0
- package/node_modules/lodash/fp/bind.js +5 -0
- package/node_modules/lodash/fp/bindAll.js +5 -0
- package/node_modules/lodash/fp/bindKey.js +5 -0
- package/node_modules/lodash/fp/camelCase.js +5 -0
- package/node_modules/lodash/fp/capitalize.js +5 -0
- package/node_modules/lodash/fp/castArray.js +5 -0
- package/node_modules/lodash/fp/ceil.js +5 -0
- package/node_modules/lodash/fp/chain.js +5 -0
- package/node_modules/lodash/fp/chunk.js +5 -0
- package/node_modules/lodash/fp/clamp.js +5 -0
- package/node_modules/lodash/fp/clone.js +5 -0
- package/node_modules/lodash/fp/cloneDeep.js +5 -0
- package/node_modules/lodash/fp/cloneDeepWith.js +5 -0
- package/node_modules/lodash/fp/cloneWith.js +5 -0
- package/node_modules/lodash/fp/collection.js +2 -0
- package/node_modules/lodash/fp/commit.js +5 -0
- package/node_modules/lodash/fp/compact.js +5 -0
- package/node_modules/lodash/fp/complement.js +1 -0
- package/node_modules/lodash/fp/compose.js +1 -0
- package/node_modules/lodash/fp/concat.js +5 -0
- package/node_modules/lodash/fp/cond.js +5 -0
- package/node_modules/lodash/fp/conforms.js +1 -0
- package/node_modules/lodash/fp/conformsTo.js +5 -0
- package/node_modules/lodash/fp/constant.js +5 -0
- package/node_modules/lodash/fp/contains.js +1 -0
- package/node_modules/lodash/fp/convert.js +18 -0
- package/node_modules/lodash/fp/countBy.js +5 -0
- package/node_modules/lodash/fp/create.js +5 -0
- package/node_modules/lodash/fp/curry.js +5 -0
- package/node_modules/lodash/fp/curryN.js +5 -0
- package/node_modules/lodash/fp/curryRight.js +5 -0
- package/node_modules/lodash/fp/curryRightN.js +5 -0
- package/node_modules/lodash/fp/date.js +2 -0
- package/node_modules/lodash/fp/debounce.js +5 -0
- package/node_modules/lodash/fp/deburr.js +5 -0
- package/node_modules/lodash/fp/defaultTo.js +5 -0
- package/node_modules/lodash/fp/defaults.js +5 -0
- package/node_modules/lodash/fp/defaultsAll.js +5 -0
- package/node_modules/lodash/fp/defaultsDeep.js +5 -0
- package/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
- package/node_modules/lodash/fp/defer.js +5 -0
- package/node_modules/lodash/fp/delay.js +5 -0
- package/node_modules/lodash/fp/difference.js +5 -0
- package/node_modules/lodash/fp/differenceBy.js +5 -0
- package/node_modules/lodash/fp/differenceWith.js +5 -0
- package/node_modules/lodash/fp/dissoc.js +1 -0
- package/node_modules/lodash/fp/dissocPath.js +1 -0
- package/node_modules/lodash/fp/divide.js +5 -0
- package/node_modules/lodash/fp/drop.js +5 -0
- package/node_modules/lodash/fp/dropLast.js +1 -0
- package/node_modules/lodash/fp/dropLastWhile.js +1 -0
- package/node_modules/lodash/fp/dropRight.js +5 -0
- package/node_modules/lodash/fp/dropRightWhile.js +5 -0
- package/node_modules/lodash/fp/dropWhile.js +5 -0
- package/node_modules/lodash/fp/each.js +1 -0
- package/node_modules/lodash/fp/eachRight.js +1 -0
- package/node_modules/lodash/fp/endsWith.js +5 -0
- package/node_modules/lodash/fp/entries.js +1 -0
- package/node_modules/lodash/fp/entriesIn.js +1 -0
- package/node_modules/lodash/fp/eq.js +5 -0
- package/node_modules/lodash/fp/equals.js +1 -0
- package/node_modules/lodash/fp/escape.js +5 -0
- package/node_modules/lodash/fp/escapeRegExp.js +5 -0
- package/node_modules/lodash/fp/every.js +5 -0
- package/node_modules/lodash/fp/extend.js +1 -0
- package/node_modules/lodash/fp/extendAll.js +1 -0
- package/node_modules/lodash/fp/extendAllWith.js +1 -0
- package/node_modules/lodash/fp/extendWith.js +1 -0
- package/node_modules/lodash/fp/fill.js +5 -0
- package/node_modules/lodash/fp/filter.js +5 -0
- package/node_modules/lodash/fp/find.js +5 -0
- package/node_modules/lodash/fp/findFrom.js +5 -0
- package/node_modules/lodash/fp/findIndex.js +5 -0
- package/node_modules/lodash/fp/findIndexFrom.js +5 -0
- package/node_modules/lodash/fp/findKey.js +5 -0
- package/node_modules/lodash/fp/findLast.js +5 -0
- package/node_modules/lodash/fp/findLastFrom.js +5 -0
- package/node_modules/lodash/fp/findLastIndex.js +5 -0
- package/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
- package/node_modules/lodash/fp/findLastKey.js +5 -0
- package/node_modules/lodash/fp/first.js +1 -0
- package/node_modules/lodash/fp/flatMap.js +5 -0
- package/node_modules/lodash/fp/flatMapDeep.js +5 -0
- package/node_modules/lodash/fp/flatMapDepth.js +5 -0
- package/node_modules/lodash/fp/flatten.js +5 -0
- package/node_modules/lodash/fp/flattenDeep.js +5 -0
- package/node_modules/lodash/fp/flattenDepth.js +5 -0
- package/node_modules/lodash/fp/flip.js +5 -0
- package/node_modules/lodash/fp/floor.js +5 -0
- package/node_modules/lodash/fp/flow.js +5 -0
- package/node_modules/lodash/fp/flowRight.js +5 -0
- package/node_modules/lodash/fp/forEach.js +5 -0
- package/node_modules/lodash/fp/forEachRight.js +5 -0
- package/node_modules/lodash/fp/forIn.js +5 -0
- package/node_modules/lodash/fp/forInRight.js +5 -0
- package/node_modules/lodash/fp/forOwn.js +5 -0
- package/node_modules/lodash/fp/forOwnRight.js +5 -0
- package/node_modules/lodash/fp/fromPairs.js +5 -0
- package/node_modules/lodash/fp/function.js +2 -0
- package/node_modules/lodash/fp/functions.js +5 -0
- package/node_modules/lodash/fp/functionsIn.js +5 -0
- package/node_modules/lodash/fp/get.js +5 -0
- package/node_modules/lodash/fp/getOr.js +5 -0
- package/node_modules/lodash/fp/groupBy.js +5 -0
- package/node_modules/lodash/fp/gt.js +5 -0
- package/node_modules/lodash/fp/gte.js +5 -0
- package/node_modules/lodash/fp/has.js +5 -0
- package/node_modules/lodash/fp/hasIn.js +5 -0
- package/node_modules/lodash/fp/head.js +5 -0
- package/node_modules/lodash/fp/identical.js +1 -0
- package/node_modules/lodash/fp/identity.js +5 -0
- package/node_modules/lodash/fp/inRange.js +5 -0
- package/node_modules/lodash/fp/includes.js +5 -0
- package/node_modules/lodash/fp/includesFrom.js +5 -0
- package/node_modules/lodash/fp/indexBy.js +1 -0
- package/node_modules/lodash/fp/indexOf.js +5 -0
- package/node_modules/lodash/fp/indexOfFrom.js +5 -0
- package/node_modules/lodash/fp/init.js +1 -0
- package/node_modules/lodash/fp/initial.js +5 -0
- package/node_modules/lodash/fp/intersection.js +5 -0
- package/node_modules/lodash/fp/intersectionBy.js +5 -0
- package/node_modules/lodash/fp/intersectionWith.js +5 -0
- package/node_modules/lodash/fp/invert.js +5 -0
- package/node_modules/lodash/fp/invertBy.js +5 -0
- package/node_modules/lodash/fp/invertObj.js +1 -0
- package/node_modules/lodash/fp/invoke.js +5 -0
- package/node_modules/lodash/fp/invokeArgs.js +5 -0
- package/node_modules/lodash/fp/invokeArgsMap.js +5 -0
- package/node_modules/lodash/fp/invokeMap.js +5 -0
- package/node_modules/lodash/fp/isArguments.js +5 -0
- package/node_modules/lodash/fp/isArray.js +5 -0
- package/node_modules/lodash/fp/isArrayBuffer.js +5 -0
- package/node_modules/lodash/fp/isArrayLike.js +5 -0
- package/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
- package/node_modules/lodash/fp/isBoolean.js +5 -0
- package/node_modules/lodash/fp/isBuffer.js +5 -0
- package/node_modules/lodash/fp/isDate.js +5 -0
- package/node_modules/lodash/fp/isElement.js +5 -0
- package/node_modules/lodash/fp/isEmpty.js +5 -0
- package/node_modules/lodash/fp/isEqual.js +5 -0
- package/node_modules/lodash/fp/isEqualWith.js +5 -0
- package/node_modules/lodash/fp/isError.js +5 -0
- package/node_modules/lodash/fp/isFinite.js +5 -0
- package/node_modules/lodash/fp/isFunction.js +5 -0
- package/node_modules/lodash/fp/isInteger.js +5 -0
- package/node_modules/lodash/fp/isLength.js +5 -0
- package/node_modules/lodash/fp/isMap.js +5 -0
- package/node_modules/lodash/fp/isMatch.js +5 -0
- package/node_modules/lodash/fp/isMatchWith.js +5 -0
- package/node_modules/lodash/fp/isNaN.js +5 -0
- package/node_modules/lodash/fp/isNative.js +5 -0
- package/node_modules/lodash/fp/isNil.js +5 -0
- package/node_modules/lodash/fp/isNull.js +5 -0
- package/node_modules/lodash/fp/isNumber.js +5 -0
- package/node_modules/lodash/fp/isObject.js +5 -0
- package/node_modules/lodash/fp/isObjectLike.js +5 -0
- package/node_modules/lodash/fp/isPlainObject.js +5 -0
- package/node_modules/lodash/fp/isRegExp.js +5 -0
- package/node_modules/lodash/fp/isSafeInteger.js +5 -0
- package/node_modules/lodash/fp/isSet.js +5 -0
- package/node_modules/lodash/fp/isString.js +5 -0
- package/node_modules/lodash/fp/isSymbol.js +5 -0
- package/node_modules/lodash/fp/isTypedArray.js +5 -0
- package/node_modules/lodash/fp/isUndefined.js +5 -0
- package/node_modules/lodash/fp/isWeakMap.js +5 -0
- package/node_modules/lodash/fp/isWeakSet.js +5 -0
- package/node_modules/lodash/fp/iteratee.js +5 -0
- package/node_modules/lodash/fp/join.js +5 -0
- package/node_modules/lodash/fp/juxt.js +1 -0
- package/node_modules/lodash/fp/kebabCase.js +5 -0
- package/node_modules/lodash/fp/keyBy.js +5 -0
- package/node_modules/lodash/fp/keys.js +5 -0
- package/node_modules/lodash/fp/keysIn.js +5 -0
- package/node_modules/lodash/fp/lang.js +2 -0
- package/node_modules/lodash/fp/last.js +5 -0
- package/node_modules/lodash/fp/lastIndexOf.js +5 -0
- package/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
- package/node_modules/lodash/fp/lowerCase.js +5 -0
- package/node_modules/lodash/fp/lowerFirst.js +5 -0
- package/node_modules/lodash/fp/lt.js +5 -0
- package/node_modules/lodash/fp/lte.js +5 -0
- package/node_modules/lodash/fp/map.js +5 -0
- package/node_modules/lodash/fp/mapKeys.js +5 -0
- package/node_modules/lodash/fp/mapValues.js +5 -0
- package/node_modules/lodash/fp/matches.js +1 -0
- package/node_modules/lodash/fp/matchesProperty.js +5 -0
- package/node_modules/lodash/fp/math.js +2 -0
- package/node_modules/lodash/fp/max.js +5 -0
- package/node_modules/lodash/fp/maxBy.js +5 -0
- package/node_modules/lodash/fp/mean.js +5 -0
- package/node_modules/lodash/fp/meanBy.js +5 -0
- package/node_modules/lodash/fp/memoize.js +5 -0
- package/node_modules/lodash/fp/merge.js +5 -0
- package/node_modules/lodash/fp/mergeAll.js +5 -0
- package/node_modules/lodash/fp/mergeAllWith.js +5 -0
- package/node_modules/lodash/fp/mergeWith.js +5 -0
- package/node_modules/lodash/fp/method.js +5 -0
- package/node_modules/lodash/fp/methodOf.js +5 -0
- package/node_modules/lodash/fp/min.js +5 -0
- package/node_modules/lodash/fp/minBy.js +5 -0
- package/node_modules/lodash/fp/mixin.js +5 -0
- package/node_modules/lodash/fp/multiply.js +5 -0
- package/node_modules/lodash/fp/nAry.js +1 -0
- package/node_modules/lodash/fp/negate.js +5 -0
- package/node_modules/lodash/fp/next.js +5 -0
- package/node_modules/lodash/fp/noop.js +5 -0
- package/node_modules/lodash/fp/now.js +5 -0
- package/node_modules/lodash/fp/nth.js +5 -0
- package/node_modules/lodash/fp/nthArg.js +5 -0
- package/node_modules/lodash/fp/number.js +2 -0
- package/node_modules/lodash/fp/object.js +2 -0
- package/node_modules/lodash/fp/omit.js +5 -0
- package/node_modules/lodash/fp/omitAll.js +1 -0
- package/node_modules/lodash/fp/omitBy.js +5 -0
- package/node_modules/lodash/fp/once.js +5 -0
- package/node_modules/lodash/fp/orderBy.js +5 -0
- package/node_modules/lodash/fp/over.js +5 -0
- package/node_modules/lodash/fp/overArgs.js +5 -0
- package/node_modules/lodash/fp/overEvery.js +5 -0
- package/node_modules/lodash/fp/overSome.js +5 -0
- package/node_modules/lodash/fp/pad.js +5 -0
- package/node_modules/lodash/fp/padChars.js +5 -0
- package/node_modules/lodash/fp/padCharsEnd.js +5 -0
- package/node_modules/lodash/fp/padCharsStart.js +5 -0
- package/node_modules/lodash/fp/padEnd.js +5 -0
- package/node_modules/lodash/fp/padStart.js +5 -0
- package/node_modules/lodash/fp/parseInt.js +5 -0
- package/node_modules/lodash/fp/partial.js +5 -0
- package/node_modules/lodash/fp/partialRight.js +5 -0
- package/node_modules/lodash/fp/partition.js +5 -0
- package/node_modules/lodash/fp/path.js +1 -0
- package/node_modules/lodash/fp/pathEq.js +1 -0
- package/node_modules/lodash/fp/pathOr.js +1 -0
- package/node_modules/lodash/fp/paths.js +1 -0
- package/node_modules/lodash/fp/pick.js +5 -0
- package/node_modules/lodash/fp/pickAll.js +1 -0
- package/node_modules/lodash/fp/pickBy.js +5 -0
- package/node_modules/lodash/fp/pipe.js +1 -0
- package/node_modules/lodash/fp/placeholder.js +6 -0
- package/node_modules/lodash/fp/plant.js +5 -0
- package/node_modules/lodash/fp/pluck.js +1 -0
- package/node_modules/lodash/fp/prop.js +1 -0
- package/node_modules/lodash/fp/propEq.js +1 -0
- package/node_modules/lodash/fp/propOr.js +1 -0
- package/node_modules/lodash/fp/property.js +1 -0
- package/node_modules/lodash/fp/propertyOf.js +5 -0
- package/node_modules/lodash/fp/props.js +1 -0
- package/node_modules/lodash/fp/pull.js +5 -0
- package/node_modules/lodash/fp/pullAll.js +5 -0
- package/node_modules/lodash/fp/pullAllBy.js +5 -0
- package/node_modules/lodash/fp/pullAllWith.js +5 -0
- package/node_modules/lodash/fp/pullAt.js +5 -0
- package/node_modules/lodash/fp/random.js +5 -0
- package/node_modules/lodash/fp/range.js +5 -0
- package/node_modules/lodash/fp/rangeRight.js +5 -0
- package/node_modules/lodash/fp/rangeStep.js +5 -0
- package/node_modules/lodash/fp/rangeStepRight.js +5 -0
- package/node_modules/lodash/fp/rearg.js +5 -0
- package/node_modules/lodash/fp/reduce.js +5 -0
- package/node_modules/lodash/fp/reduceRight.js +5 -0
- package/node_modules/lodash/fp/reject.js +5 -0
- package/node_modules/lodash/fp/remove.js +5 -0
- package/node_modules/lodash/fp/repeat.js +5 -0
- package/node_modules/lodash/fp/replace.js +5 -0
- package/node_modules/lodash/fp/rest.js +5 -0
- package/node_modules/lodash/fp/restFrom.js +5 -0
- package/node_modules/lodash/fp/result.js +5 -0
- package/node_modules/lodash/fp/reverse.js +5 -0
- package/node_modules/lodash/fp/round.js +5 -0
- package/node_modules/lodash/fp/sample.js +5 -0
- package/node_modules/lodash/fp/sampleSize.js +5 -0
- package/node_modules/lodash/fp/seq.js +2 -0
- package/node_modules/lodash/fp/set.js +5 -0
- package/node_modules/lodash/fp/setWith.js +5 -0
- package/node_modules/lodash/fp/shuffle.js +5 -0
- package/node_modules/lodash/fp/size.js +5 -0
- package/node_modules/lodash/fp/slice.js +5 -0
- package/node_modules/lodash/fp/snakeCase.js +5 -0
- package/node_modules/lodash/fp/some.js +5 -0
- package/node_modules/lodash/fp/sortBy.js +5 -0
- package/node_modules/lodash/fp/sortedIndex.js +5 -0
- package/node_modules/lodash/fp/sortedIndexBy.js +5 -0
- package/node_modules/lodash/fp/sortedIndexOf.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndex.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
- package/node_modules/lodash/fp/sortedUniq.js +5 -0
- package/node_modules/lodash/fp/sortedUniqBy.js +5 -0
- package/node_modules/lodash/fp/split.js +5 -0
- package/node_modules/lodash/fp/spread.js +5 -0
- package/node_modules/lodash/fp/spreadFrom.js +5 -0
- package/node_modules/lodash/fp/startCase.js +5 -0
- package/node_modules/lodash/fp/startsWith.js +5 -0
- package/node_modules/lodash/fp/string.js +2 -0
- package/node_modules/lodash/fp/stubArray.js +5 -0
- package/node_modules/lodash/fp/stubFalse.js +5 -0
- package/node_modules/lodash/fp/stubObject.js +5 -0
- package/node_modules/lodash/fp/stubString.js +5 -0
- package/node_modules/lodash/fp/stubTrue.js +5 -0
- package/node_modules/lodash/fp/subtract.js +5 -0
- package/node_modules/lodash/fp/sum.js +5 -0
- package/node_modules/lodash/fp/sumBy.js +5 -0
- package/node_modules/lodash/fp/symmetricDifference.js +1 -0
- package/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
- package/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
- package/node_modules/lodash/fp/tail.js +5 -0
- package/node_modules/lodash/fp/take.js +5 -0
- package/node_modules/lodash/fp/takeLast.js +1 -0
- package/node_modules/lodash/fp/takeLastWhile.js +1 -0
- package/node_modules/lodash/fp/takeRight.js +5 -0
- package/node_modules/lodash/fp/takeRightWhile.js +5 -0
- package/node_modules/lodash/fp/takeWhile.js +5 -0
- package/node_modules/lodash/fp/tap.js +5 -0
- package/node_modules/lodash/fp/template.js +5 -0
- package/node_modules/lodash/fp/templateSettings.js +5 -0
- package/node_modules/lodash/fp/throttle.js +5 -0
- package/node_modules/lodash/fp/thru.js +5 -0
- package/node_modules/lodash/fp/times.js +5 -0
- package/node_modules/lodash/fp/toArray.js +5 -0
- package/node_modules/lodash/fp/toFinite.js +5 -0
- package/node_modules/lodash/fp/toInteger.js +5 -0
- package/node_modules/lodash/fp/toIterator.js +5 -0
- package/node_modules/lodash/fp/toJSON.js +5 -0
- package/node_modules/lodash/fp/toLength.js +5 -0
- package/node_modules/lodash/fp/toLower.js +5 -0
- package/node_modules/lodash/fp/toNumber.js +5 -0
- package/node_modules/lodash/fp/toPairs.js +5 -0
- package/node_modules/lodash/fp/toPairsIn.js +5 -0
- package/node_modules/lodash/fp/toPath.js +5 -0
- package/node_modules/lodash/fp/toPlainObject.js +5 -0
- package/node_modules/lodash/fp/toSafeInteger.js +5 -0
- package/node_modules/lodash/fp/toString.js +5 -0
- package/node_modules/lodash/fp/toUpper.js +5 -0
- package/node_modules/lodash/fp/transform.js +5 -0
- package/node_modules/lodash/fp/trim.js +5 -0
- package/node_modules/lodash/fp/trimChars.js +5 -0
- package/node_modules/lodash/fp/trimCharsEnd.js +5 -0
- package/node_modules/lodash/fp/trimCharsStart.js +5 -0
- package/node_modules/lodash/fp/trimEnd.js +5 -0
- package/node_modules/lodash/fp/trimStart.js +5 -0
- package/node_modules/lodash/fp/truncate.js +5 -0
- package/node_modules/lodash/fp/unapply.js +1 -0
- package/node_modules/lodash/fp/unary.js +5 -0
- package/node_modules/lodash/fp/unescape.js +5 -0
- package/node_modules/lodash/fp/union.js +5 -0
- package/node_modules/lodash/fp/unionBy.js +5 -0
- package/node_modules/lodash/fp/unionWith.js +5 -0
- package/node_modules/lodash/fp/uniq.js +5 -0
- package/node_modules/lodash/fp/uniqBy.js +5 -0
- package/node_modules/lodash/fp/uniqWith.js +5 -0
- package/node_modules/lodash/fp/uniqueId.js +5 -0
- package/node_modules/lodash/fp/unnest.js +1 -0
- package/node_modules/lodash/fp/unset.js +5 -0
- package/node_modules/lodash/fp/unzip.js +5 -0
- package/node_modules/lodash/fp/unzipWith.js +5 -0
- package/node_modules/lodash/fp/update.js +5 -0
- package/node_modules/lodash/fp/updateWith.js +5 -0
- package/node_modules/lodash/fp/upperCase.js +5 -0
- package/node_modules/lodash/fp/upperFirst.js +5 -0
- package/node_modules/lodash/fp/useWith.js +1 -0
- package/node_modules/lodash/fp/util.js +2 -0
- package/node_modules/lodash/fp/value.js +5 -0
- package/node_modules/lodash/fp/valueOf.js +5 -0
- package/node_modules/lodash/fp/values.js +5 -0
- package/node_modules/lodash/fp/valuesIn.js +5 -0
- package/node_modules/lodash/fp/where.js +1 -0
- package/node_modules/lodash/fp/whereEq.js +1 -0
- package/node_modules/lodash/fp/without.js +5 -0
- package/node_modules/lodash/fp/words.js +5 -0
- package/node_modules/lodash/fp/wrap.js +5 -0
- package/node_modules/lodash/fp/wrapperAt.js +5 -0
- package/node_modules/lodash/fp/wrapperChain.js +5 -0
- package/node_modules/lodash/fp/wrapperLodash.js +5 -0
- package/node_modules/lodash/fp/wrapperReverse.js +5 -0
- package/node_modules/lodash/fp/wrapperValue.js +5 -0
- package/node_modules/lodash/fp/xor.js +5 -0
- package/node_modules/lodash/fp/xorBy.js +5 -0
- package/node_modules/lodash/fp/xorWith.js +5 -0
- package/node_modules/lodash/fp/zip.js +5 -0
- package/node_modules/lodash/fp/zipAll.js +5 -0
- package/node_modules/lodash/fp/zipObj.js +1 -0
- package/node_modules/lodash/fp/zipObject.js +5 -0
- package/node_modules/lodash/fp/zipObjectDeep.js +5 -0
- package/node_modules/lodash/fp/zipWith.js +5 -0
- package/node_modules/lodash/fp.js +2 -0
- package/node_modules/lodash/fromPairs.js +28 -0
- package/node_modules/lodash/function.js +25 -0
- package/node_modules/lodash/functions.js +31 -0
- package/node_modules/lodash/functionsIn.js +31 -0
- package/node_modules/lodash/get.js +33 -0
- package/node_modules/lodash/groupBy.js +41 -0
- package/node_modules/lodash/gt.js +29 -0
- package/node_modules/lodash/gte.js +30 -0
- package/node_modules/lodash/has.js +35 -0
- package/node_modules/lodash/hasIn.js +34 -0
- package/node_modules/lodash/head.js +23 -0
- package/node_modules/lodash/identity.js +21 -0
- package/node_modules/lodash/inRange.js +55 -0
- package/node_modules/lodash/includes.js +53 -0
- package/node_modules/lodash/index.js +1 -0
- package/node_modules/lodash/indexOf.js +42 -0
- package/node_modules/lodash/initial.js +22 -0
- package/node_modules/lodash/intersection.js +30 -0
- package/node_modules/lodash/intersectionBy.js +45 -0
- package/node_modules/lodash/intersectionWith.js +41 -0
- package/node_modules/lodash/invert.js +42 -0
- package/node_modules/lodash/invertBy.js +56 -0
- package/node_modules/lodash/invoke.js +24 -0
- package/node_modules/lodash/invokeMap.js +41 -0
- package/node_modules/lodash/isArguments.js +36 -0
- package/node_modules/lodash/isArray.js +26 -0
- package/node_modules/lodash/isArrayBuffer.js +27 -0
- package/node_modules/lodash/isArrayLike.js +33 -0
- package/node_modules/lodash/isArrayLikeObject.js +33 -0
- package/node_modules/lodash/isBoolean.js +29 -0
- package/node_modules/lodash/isBuffer.js +38 -0
- package/node_modules/lodash/isDate.js +27 -0
- package/node_modules/lodash/isElement.js +25 -0
- package/node_modules/lodash/isEmpty.js +77 -0
- package/node_modules/lodash/isEqual.js +35 -0
- package/node_modules/lodash/isEqualWith.js +41 -0
- package/node_modules/lodash/isError.js +36 -0
- package/node_modules/lodash/isFinite.js +36 -0
- package/node_modules/lodash/isFunction.js +37 -0
- package/node_modules/lodash/isInteger.js +33 -0
- package/node_modules/lodash/isLength.js +35 -0
- package/node_modules/lodash/isMap.js +27 -0
- package/node_modules/lodash/isMatch.js +36 -0
- package/node_modules/lodash/isMatchWith.js +41 -0
- package/node_modules/lodash/isNaN.js +38 -0
- package/node_modules/lodash/isNative.js +40 -0
- package/node_modules/lodash/isNil.js +25 -0
- package/node_modules/lodash/isNull.js +22 -0
- package/node_modules/lodash/isNumber.js +38 -0
- package/node_modules/lodash/isObject.js +31 -0
- package/node_modules/lodash/isObjectLike.js +29 -0
- package/node_modules/lodash/isPlainObject.js +62 -0
- package/node_modules/lodash/isRegExp.js +27 -0
- package/node_modules/lodash/isSafeInteger.js +37 -0
- package/node_modules/lodash/isSet.js +27 -0
- package/node_modules/lodash/isString.js +30 -0
- package/node_modules/lodash/isSymbol.js +29 -0
- package/node_modules/lodash/isTypedArray.js +27 -0
- package/node_modules/lodash/isUndefined.js +22 -0
- package/node_modules/lodash/isWeakMap.js +28 -0
- package/node_modules/lodash/isWeakSet.js +28 -0
- package/node_modules/lodash/iteratee.js +53 -0
- package/node_modules/lodash/join.js +26 -0
- package/node_modules/lodash/kebabCase.js +28 -0
- package/node_modules/lodash/keyBy.js +36 -0
- package/node_modules/lodash/keys.js +37 -0
- package/node_modules/lodash/keysIn.js +32 -0
- package/node_modules/lodash/lang.js +58 -0
- package/node_modules/lodash/last.js +20 -0
- package/node_modules/lodash/lastIndexOf.js +46 -0
- package/node_modules/lodash/lodash.js +17209 -0
- package/node_modules/lodash/lodash.min.js +140 -0
- package/node_modules/lodash/lowerCase.js +27 -0
- package/node_modules/lodash/lowerFirst.js +22 -0
- package/node_modules/lodash/lt.js +29 -0
- package/node_modules/lodash/lte.js +30 -0
- package/node_modules/lodash/map.js +53 -0
- package/node_modules/lodash/mapKeys.js +36 -0
- package/node_modules/lodash/mapValues.js +43 -0
- package/node_modules/lodash/matches.js +46 -0
- package/node_modules/lodash/matchesProperty.js +44 -0
- package/node_modules/lodash/math.js +17 -0
- package/node_modules/lodash/max.js +29 -0
- package/node_modules/lodash/maxBy.js +34 -0
- package/node_modules/lodash/mean.js +22 -0
- package/node_modules/lodash/meanBy.js +31 -0
- package/node_modules/lodash/memoize.js +73 -0
- package/node_modules/lodash/merge.js +39 -0
- package/node_modules/lodash/mergeWith.js +39 -0
- package/node_modules/lodash/method.js +34 -0
- package/node_modules/lodash/methodOf.js +33 -0
- package/node_modules/lodash/min.js +29 -0
- package/node_modules/lodash/minBy.js +34 -0
- package/node_modules/lodash/mixin.js +74 -0
- package/node_modules/lodash/multiply.js +22 -0
- package/node_modules/lodash/negate.js +40 -0
- package/node_modules/lodash/next.js +35 -0
- package/node_modules/lodash/noop.js +17 -0
- package/node_modules/lodash/now.js +23 -0
- package/node_modules/lodash/nth.js +29 -0
- package/node_modules/lodash/nthArg.js +32 -0
- package/node_modules/lodash/number.js +5 -0
- package/node_modules/lodash/object.js +49 -0
- package/node_modules/lodash/omit.js +57 -0
- package/node_modules/lodash/omitBy.js +29 -0
- package/node_modules/lodash/once.js +25 -0
- package/node_modules/lodash/orderBy.js +47 -0
- package/node_modules/lodash/over.js +24 -0
- package/node_modules/lodash/overArgs.js +61 -0
- package/node_modules/lodash/overEvery.js +34 -0
- package/node_modules/lodash/overSome.js +37 -0
- package/node_modules/lodash/package.json +21 -0
- package/node_modules/lodash/pad.js +49 -0
- package/node_modules/lodash/padEnd.js +39 -0
- package/node_modules/lodash/padStart.js +39 -0
- package/node_modules/lodash/parseInt.js +43 -0
- package/node_modules/lodash/partial.js +50 -0
- package/node_modules/lodash/partialRight.js +49 -0
- package/node_modules/lodash/partition.js +43 -0
- package/node_modules/lodash/pick.js +25 -0
- package/node_modules/lodash/pickBy.js +37 -0
- package/node_modules/lodash/plant.js +48 -0
- package/node_modules/lodash/property.js +32 -0
- package/node_modules/lodash/propertyOf.js +30 -0
- package/node_modules/lodash/pull.js +29 -0
- package/node_modules/lodash/pullAll.js +29 -0
- package/node_modules/lodash/pullAllBy.js +33 -0
- package/node_modules/lodash/pullAllWith.js +32 -0
- package/node_modules/lodash/pullAt.js +43 -0
- package/node_modules/lodash/random.js +82 -0
- package/node_modules/lodash/range.js +46 -0
- package/node_modules/lodash/rangeRight.js +41 -0
- package/node_modules/lodash/rearg.js +33 -0
- package/node_modules/lodash/reduce.js +51 -0
- package/node_modules/lodash/reduceRight.js +36 -0
- package/node_modules/lodash/reject.js +46 -0
- package/node_modules/lodash/release.md +48 -0
- package/node_modules/lodash/remove.js +53 -0
- package/node_modules/lodash/repeat.js +37 -0
- package/node_modules/lodash/replace.js +29 -0
- package/node_modules/lodash/rest.js +40 -0
- package/node_modules/lodash/result.js +56 -0
- package/node_modules/lodash/reverse.js +34 -0
- package/node_modules/lodash/round.js +26 -0
- package/node_modules/lodash/sample.js +24 -0
- package/node_modules/lodash/sampleSize.js +37 -0
- package/node_modules/lodash/seq.js +16 -0
- package/node_modules/lodash/set.js +35 -0
- package/node_modules/lodash/setWith.js +32 -0
- package/node_modules/lodash/shuffle.js +25 -0
- package/node_modules/lodash/size.js +46 -0
- package/node_modules/lodash/slice.js +37 -0
- package/node_modules/lodash/snakeCase.js +28 -0
- package/node_modules/lodash/some.js +51 -0
- package/node_modules/lodash/sortBy.js +48 -0
- package/node_modules/lodash/sortedIndex.js +24 -0
- package/node_modules/lodash/sortedIndexBy.js +33 -0
- package/node_modules/lodash/sortedIndexOf.js +31 -0
- package/node_modules/lodash/sortedLastIndex.js +25 -0
- package/node_modules/lodash/sortedLastIndexBy.js +33 -0
- package/node_modules/lodash/sortedLastIndexOf.js +31 -0
- package/node_modules/lodash/sortedUniq.js +24 -0
- package/node_modules/lodash/sortedUniqBy.js +26 -0
- package/node_modules/lodash/split.js +52 -0
- package/node_modules/lodash/spread.js +63 -0
- package/node_modules/lodash/startCase.js +29 -0
- package/node_modules/lodash/startsWith.js +39 -0
- package/node_modules/lodash/string.js +33 -0
- package/node_modules/lodash/stubArray.js +23 -0
- package/node_modules/lodash/stubFalse.js +18 -0
- package/node_modules/lodash/stubObject.js +23 -0
- package/node_modules/lodash/stubString.js +18 -0
- package/node_modules/lodash/stubTrue.js +18 -0
- package/node_modules/lodash/subtract.js +22 -0
- package/node_modules/lodash/sum.js +24 -0
- package/node_modules/lodash/sumBy.js +33 -0
- package/node_modules/lodash/tail.js +22 -0
- package/node_modules/lodash/take.js +37 -0
- package/node_modules/lodash/takeRight.js +39 -0
- package/node_modules/lodash/takeRightWhile.js +45 -0
- package/node_modules/lodash/takeWhile.js +45 -0
- package/node_modules/lodash/tap.js +29 -0
- package/node_modules/lodash/template.js +272 -0
- package/node_modules/lodash/templateSettings.js +67 -0
- package/node_modules/lodash/throttle.js +69 -0
- package/node_modules/lodash/thru.js +28 -0
- package/node_modules/lodash/times.js +51 -0
- package/node_modules/lodash/toArray.js +58 -0
- package/node_modules/lodash/toFinite.js +42 -0
- package/node_modules/lodash/toInteger.js +36 -0
- package/node_modules/lodash/toIterator.js +23 -0
- package/node_modules/lodash/toJSON.js +1 -0
- package/node_modules/lodash/toLength.js +38 -0
- package/node_modules/lodash/toLower.js +28 -0
- package/node_modules/lodash/toNumber.js +64 -0
- package/node_modules/lodash/toPairs.js +30 -0
- package/node_modules/lodash/toPairsIn.js +30 -0
- package/node_modules/lodash/toPath.js +33 -0
- package/node_modules/lodash/toPlainObject.js +32 -0
- package/node_modules/lodash/toSafeInteger.js +37 -0
- package/node_modules/lodash/toString.js +28 -0
- package/node_modules/lodash/toUpper.js +28 -0
- package/node_modules/lodash/transform.js +65 -0
- package/node_modules/lodash/trim.js +47 -0
- package/node_modules/lodash/trimEnd.js +41 -0
- package/node_modules/lodash/trimStart.js +43 -0
- package/node_modules/lodash/truncate.js +111 -0
- package/node_modules/lodash/unary.js +22 -0
- package/node_modules/lodash/unescape.js +34 -0
- package/node_modules/lodash/union.js +26 -0
- package/node_modules/lodash/unionBy.js +39 -0
- package/node_modules/lodash/unionWith.js +34 -0
- package/node_modules/lodash/uniq.js +25 -0
- package/node_modules/lodash/uniqBy.js +31 -0
- package/node_modules/lodash/uniqWith.js +28 -0
- package/node_modules/lodash/uniqueId.js +28 -0
- package/node_modules/lodash/unset.js +34 -0
- package/node_modules/lodash/unzip.js +45 -0
- package/node_modules/lodash/unzipWith.js +39 -0
- package/node_modules/lodash/update.js +35 -0
- package/node_modules/lodash/updateWith.js +33 -0
- package/node_modules/lodash/upperCase.js +27 -0
- package/node_modules/lodash/upperFirst.js +22 -0
- package/node_modules/lodash/util.js +34 -0
- package/node_modules/lodash/value.js +1 -0
- package/node_modules/lodash/valueOf.js +1 -0
- package/node_modules/lodash/values.js +34 -0
- package/node_modules/lodash/valuesIn.js +32 -0
- package/node_modules/lodash/without.js +31 -0
- package/node_modules/lodash/words.js +35 -0
- package/node_modules/lodash/wrap.js +30 -0
- package/node_modules/lodash/wrapperAt.js +48 -0
- package/node_modules/lodash/wrapperChain.js +34 -0
- package/node_modules/lodash/wrapperLodash.js +147 -0
- package/node_modules/lodash/wrapperReverse.js +44 -0
- package/node_modules/lodash/wrapperValue.js +21 -0
- package/node_modules/lodash/xor.js +28 -0
- package/node_modules/lodash/xorBy.js +39 -0
- package/node_modules/lodash/xorWith.js +34 -0
- package/node_modules/lodash/zip.js +22 -0
- package/node_modules/lodash/zipObject.js +24 -0
- package/node_modules/lodash/zipObjectDeep.js +23 -0
- package/node_modules/lodash/zipWith.js +32 -0
- package/node_modules/lower-case/LICENSE +21 -0
- package/node_modules/lower-case/README.md +35 -0
- package/node_modules/lower-case/dist/index.d.ts +8 -0
- package/node_modules/lower-case/dist/index.js +53 -0
- package/node_modules/lower-case/dist/index.js.map +1 -0
- package/node_modules/lower-case/dist/index.spec.d.ts +1 -0
- package/node_modules/lower-case/dist/index.spec.js +36 -0
- package/node_modules/lower-case/dist/index.spec.js.map +1 -0
- package/node_modules/lower-case/dist.es2015/index.d.ts +8 -0
- package/node_modules/lower-case/dist.es2015/index.js +48 -0
- package/node_modules/lower-case/dist.es2015/index.js.map +1 -0
- package/node_modules/lower-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/lower-case/dist.es2015/index.spec.js +34 -0
- package/node_modules/lower-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/lower-case/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/node_modules/lower-case/node_modules/tslib/LICENSE.txt +12 -0
- package/node_modules/lower-case/node_modules/tslib/README.md +164 -0
- package/node_modules/lower-case/node_modules/tslib/modules/index.js +55 -0
- package/node_modules/lower-case/node_modules/tslib/modules/package.json +3 -0
- package/node_modules/lower-case/node_modules/tslib/package.json +42 -0
- package/node_modules/lower-case/node_modules/tslib/tslib.d.ts +398 -0
- package/node_modules/lower-case/node_modules/tslib/tslib.es6.html +1 -0
- package/node_modules/lower-case/node_modules/tslib/tslib.es6.js +248 -0
- package/node_modules/lower-case/node_modules/tslib/tslib.html +1 -0
- package/node_modules/lower-case/node_modules/tslib/tslib.js +317 -0
- package/node_modules/lower-case/package.json +91 -0
- package/node_modules/no-case/LICENSE +21 -0
- package/node_modules/no-case/README.md +37 -0
- package/node_modules/no-case/dist/index.d.ts +10 -0
- package/node_modules/no-case/dist/index.js +35 -0
- package/node_modules/no-case/dist/index.js.map +1 -0
- package/node_modules/no-case/dist/index.spec.d.ts +1 -0
- package/node_modules/no-case/dist/index.spec.js +59 -0
- package/node_modules/no-case/dist/index.spec.js.map +1 -0
- package/node_modules/no-case/dist.es2015/index.d.ts +10 -0
- package/node_modules/no-case/dist.es2015/index.js +31 -0
- package/node_modules/no-case/dist.es2015/index.js.map +1 -0
- package/node_modules/no-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/no-case/dist.es2015/index.spec.js +57 -0
- package/node_modules/no-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/no-case/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/node_modules/no-case/node_modules/tslib/LICENSE.txt +12 -0
- package/node_modules/no-case/node_modules/tslib/README.md +164 -0
- package/node_modules/no-case/node_modules/tslib/modules/index.js +55 -0
- package/node_modules/no-case/node_modules/tslib/modules/package.json +3 -0
- package/node_modules/no-case/node_modules/tslib/package.json +42 -0
- package/node_modules/no-case/node_modules/tslib/tslib.d.ts +398 -0
- package/node_modules/no-case/node_modules/tslib/tslib.es6.html +1 -0
- package/node_modules/no-case/node_modules/tslib/tslib.es6.js +248 -0
- package/node_modules/no-case/node_modules/tslib/tslib.html +1 -0
- package/node_modules/no-case/node_modules/tslib/tslib.js +317 -0
- package/node_modules/no-case/package.json +89 -0
- package/node_modules/nunjucks/CHANGELOG.md +736 -0
- package/node_modules/nunjucks/LICENSE +26 -0
- package/node_modules/nunjucks/README.md +58 -0
- package/node_modules/nunjucks/bin/precompile +58 -0
- package/node_modules/nunjucks/bin/precompile.cmd +5 -0
- package/node_modules/nunjucks/browser/nunjucks-slim.js +4263 -0
- package/node_modules/nunjucks/browser/nunjucks-slim.js.map +1 -0
- package/node_modules/nunjucks/browser/nunjucks-slim.min.js +3 -0
- package/node_modules/nunjucks/browser/nunjucks-slim.min.js.map +1 -0
- package/node_modules/nunjucks/browser/nunjucks.js +8423 -0
- package/node_modules/nunjucks/browser/nunjucks.js.map +1 -0
- package/node_modules/nunjucks/browser/nunjucks.min.js +3 -0
- package/node_modules/nunjucks/browser/nunjucks.min.js.map +1 -0
- package/node_modules/nunjucks/index.js +103 -0
- package/node_modules/nunjucks/node_modules/commander/CHANGELOG.md +385 -0
- package/node_modules/nunjucks/node_modules/commander/LICENSE +22 -0
- package/node_modules/nunjucks/node_modules/commander/Readme.md +737 -0
- package/node_modules/nunjucks/node_modules/commander/index.js +1756 -0
- package/node_modules/nunjucks/node_modules/commander/package.json +52 -0
- package/node_modules/nunjucks/node_modules/commander/typings/index.d.ts +386 -0
- package/node_modules/nunjucks/package.json +116 -0
- package/node_modules/nunjucks/src/compiler.js +1449 -0
- package/node_modules/nunjucks/src/environment.js +659 -0
- package/node_modules/nunjucks/src/express-app.js +28 -0
- package/node_modules/nunjucks/src/filters.js +680 -0
- package/node_modules/nunjucks/src/globals.js +72 -0
- package/node_modules/nunjucks/src/jinja-compat.js +358 -0
- package/node_modules/nunjucks/src/lexer.js +542 -0
- package/node_modules/nunjucks/src/lib.js +417 -0
- package/node_modules/nunjucks/src/loader.js +30 -0
- package/node_modules/nunjucks/src/loaders.js +5 -0
- package/node_modules/nunjucks/src/node-loaders.js +177 -0
- package/node_modules/nunjucks/src/nodes.js +394 -0
- package/node_modules/nunjucks/src/object.js +129 -0
- package/node_modules/nunjucks/src/parser.js +1267 -0
- package/node_modules/nunjucks/src/precompile-global.js +22 -0
- package/node_modules/nunjucks/src/precompile.js +131 -0
- package/node_modules/nunjucks/src/precompiled-loader.js +41 -0
- package/node_modules/nunjucks/src/runtime.js +405 -0
- package/node_modules/nunjucks/src/tests.js +286 -0
- package/node_modules/nunjucks/src/transformer.js +197 -0
- package/node_modules/nunjucks/src/web-loaders.js +110 -0
- package/node_modules/param-case/LICENSE +21 -0
- package/node_modules/param-case/README.md +37 -0
- package/node_modules/param-case/dist/index.d.ts +3 -0
- package/node_modules/param-case/dist/index.js +11 -0
- package/node_modules/param-case/dist/index.js.map +1 -0
- package/node_modules/param-case/dist/index.spec.d.ts +1 -0
- package/node_modules/param-case/dist/index.spec.js +24 -0
- package/node_modules/param-case/dist/index.spec.js.map +1 -0
- package/node_modules/param-case/dist.es2015/index.d.ts +3 -0
- package/node_modules/param-case/dist.es2015/index.js +7 -0
- package/node_modules/param-case/dist.es2015/index.js.map +1 -0
- package/node_modules/param-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/param-case/dist.es2015/index.spec.js +22 -0
- package/node_modules/param-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/param-case/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/node_modules/param-case/node_modules/tslib/LICENSE.txt +12 -0
- package/node_modules/param-case/node_modules/tslib/README.md +164 -0
- package/node_modules/param-case/node_modules/tslib/modules/index.js +55 -0
- package/node_modules/param-case/node_modules/tslib/modules/package.json +3 -0
- package/node_modules/param-case/node_modules/tslib/package.json +42 -0
- package/node_modules/param-case/node_modules/tslib/tslib.d.ts +398 -0
- package/node_modules/param-case/node_modules/tslib/tslib.es6.html +1 -0
- package/node_modules/param-case/node_modules/tslib/tslib.es6.js +248 -0
- package/node_modules/param-case/node_modules/tslib/tslib.html +1 -0
- package/node_modules/param-case/node_modules/tslib/tslib.js +317 -0
- package/node_modules/param-case/package.json +95 -0
- package/node_modules/pascal-case/LICENSE +21 -0
- package/node_modules/pascal-case/README.md +47 -0
- package/node_modules/pascal-case/dist/index.d.ts +5 -0
- package/node_modules/pascal-case/dist/index.js +24 -0
- package/node_modules/pascal-case/dist/index.js.map +1 -0
- package/node_modules/pascal-case/dist/index.spec.d.ts +1 -0
- package/node_modules/pascal-case/dist/index.spec.js +25 -0
- package/node_modules/pascal-case/dist/index.spec.js.map +1 -0
- package/node_modules/pascal-case/dist.es2015/index.d.ts +5 -0
- package/node_modules/pascal-case/dist.es2015/index.js +18 -0
- package/node_modules/pascal-case/dist.es2015/index.js.map +1 -0
- package/node_modules/pascal-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/pascal-case/dist.es2015/index.spec.js +23 -0
- package/node_modules/pascal-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/pascal-case/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/node_modules/pascal-case/node_modules/tslib/LICENSE.txt +12 -0
- package/node_modules/pascal-case/node_modules/tslib/README.md +164 -0
- package/node_modules/pascal-case/node_modules/tslib/modules/index.js +55 -0
- package/node_modules/pascal-case/node_modules/tslib/modules/package.json +3 -0
- package/node_modules/pascal-case/node_modules/tslib/package.json +42 -0
- package/node_modules/pascal-case/node_modules/tslib/tslib.d.ts +398 -0
- package/node_modules/pascal-case/node_modules/tslib/tslib.es6.html +1 -0
- package/node_modules/pascal-case/node_modules/tslib/tslib.es6.js +248 -0
- package/node_modules/pascal-case/node_modules/tslib/tslib.html +1 -0
- package/node_modules/pascal-case/node_modules/tslib/tslib.js +317 -0
- package/node_modules/pascal-case/package.json +94 -0
- package/node_modules/path-case/LICENSE +21 -0
- package/node_modules/path-case/README.md +37 -0
- package/node_modules/path-case/dist/index.d.ts +3 -0
- package/node_modules/path-case/dist/index.js +11 -0
- package/node_modules/path-case/dist/index.js.map +1 -0
- package/node_modules/path-case/dist/index.spec.d.ts +1 -0
- package/node_modules/path-case/dist/index.spec.js +24 -0
- package/node_modules/path-case/dist/index.spec.js.map +1 -0
- package/node_modules/path-case/dist.es2015/index.d.ts +3 -0
- package/node_modules/path-case/dist.es2015/index.js +7 -0
- package/node_modules/path-case/dist.es2015/index.js.map +1 -0
- package/node_modules/path-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/path-case/dist.es2015/index.spec.js +22 -0
- package/node_modules/path-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/path-case/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/node_modules/path-case/node_modules/tslib/LICENSE.txt +12 -0
- package/node_modules/path-case/node_modules/tslib/README.md +164 -0
- package/node_modules/path-case/node_modules/tslib/modules/index.js +55 -0
- package/node_modules/path-case/node_modules/tslib/modules/package.json +3 -0
- package/node_modules/path-case/node_modules/tslib/package.json +42 -0
- package/node_modules/path-case/node_modules/tslib/tslib.d.ts +398 -0
- package/node_modules/path-case/node_modules/tslib/tslib.es6.html +1 -0
- package/node_modules/path-case/node_modules/tslib/tslib.es6.js +248 -0
- package/node_modules/path-case/node_modules/tslib/tslib.html +1 -0
- package/node_modules/path-case/node_modules/tslib/tslib.js +317 -0
- package/node_modules/path-case/package.json +92 -0
- package/node_modules/sentence-case/LICENSE +21 -0
- package/node_modules/sentence-case/README.md +37 -0
- package/node_modules/sentence-case/dist/index.d.ts +4 -0
- package/node_modules/sentence-case/dist/index.js +19 -0
- package/node_modules/sentence-case/dist/index.js.map +1 -0
- package/node_modules/sentence-case/dist/index.spec.d.ts +1 -0
- package/node_modules/sentence-case/dist/index.spec.js +24 -0
- package/node_modules/sentence-case/dist/index.spec.js.map +1 -0
- package/node_modules/sentence-case/dist.es2015/index.d.ts +4 -0
- package/node_modules/sentence-case/dist.es2015/index.js +14 -0
- package/node_modules/sentence-case/dist.es2015/index.js.map +1 -0
- package/node_modules/sentence-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/sentence-case/dist.es2015/index.spec.js +22 -0
- package/node_modules/sentence-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/sentence-case/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/node_modules/sentence-case/node_modules/tslib/LICENSE.txt +12 -0
- package/node_modules/sentence-case/node_modules/tslib/README.md +164 -0
- package/node_modules/sentence-case/node_modules/tslib/modules/index.js +55 -0
- package/node_modules/sentence-case/node_modules/tslib/modules/package.json +3 -0
- package/node_modules/sentence-case/node_modules/tslib/package.json +42 -0
- package/node_modules/sentence-case/node_modules/tslib/tslib.d.ts +398 -0
- package/node_modules/sentence-case/node_modules/tslib/tslib.es6.html +1 -0
- package/node_modules/sentence-case/node_modules/tslib/tslib.es6.js +248 -0
- package/node_modules/sentence-case/node_modules/tslib/tslib.html +1 -0
- package/node_modules/sentence-case/node_modules/tslib/tslib.js +317 -0
- package/node_modules/sentence-case/package.json +93 -0
- package/node_modules/snake-case/LICENSE +21 -0
- package/node_modules/snake-case/README.md +37 -0
- package/node_modules/snake-case/dist/index.d.ts +3 -0
- package/node_modules/snake-case/dist/index.js +11 -0
- package/node_modules/snake-case/dist/index.js.map +1 -0
- package/node_modules/snake-case/dist/index.spec.d.ts +1 -0
- package/node_modules/snake-case/dist/index.spec.js +25 -0
- package/node_modules/snake-case/dist/index.spec.js.map +1 -0
- package/node_modules/snake-case/dist.es2015/index.d.ts +3 -0
- package/node_modules/snake-case/dist.es2015/index.js +7 -0
- package/node_modules/snake-case/dist.es2015/index.js.map +1 -0
- package/node_modules/snake-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/snake-case/dist.es2015/index.spec.js +23 -0
- package/node_modules/snake-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/snake-case/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/node_modules/snake-case/node_modules/tslib/LICENSE.txt +12 -0
- package/node_modules/snake-case/node_modules/tslib/README.md +164 -0
- package/node_modules/snake-case/node_modules/tslib/modules/index.js +55 -0
- package/node_modules/snake-case/node_modules/tslib/modules/package.json +3 -0
- package/node_modules/snake-case/node_modules/tslib/package.json +42 -0
- package/node_modules/snake-case/node_modules/tslib/tslib.d.ts +398 -0
- package/node_modules/snake-case/node_modules/tslib/tslib.es6.html +1 -0
- package/node_modules/snake-case/node_modules/tslib/tslib.es6.js +248 -0
- package/node_modules/snake-case/node_modules/tslib/tslib.html +1 -0
- package/node_modules/snake-case/node_modules/tslib/tslib.js +317 -0
- package/node_modules/snake-case/package.json +94 -0
- package/node_modules/upper-case/README.md +34 -0
- package/node_modules/upper-case/dist/index.d.ts +8 -0
- package/node_modules/upper-case/dist/index.js +49 -0
- package/node_modules/upper-case/dist/index.js.map +1 -0
- package/node_modules/upper-case/dist/index.spec.d.ts +1 -0
- package/node_modules/upper-case/dist/index.spec.js +34 -0
- package/node_modules/upper-case/dist/index.spec.js.map +1 -0
- package/node_modules/upper-case/dist.es2015/index.d.ts +8 -0
- package/node_modules/upper-case/dist.es2015/index.js +44 -0
- package/node_modules/upper-case/dist.es2015/index.js.map +1 -0
- package/node_modules/upper-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/upper-case/dist.es2015/index.spec.js +32 -0
- package/node_modules/upper-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/upper-case/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/node_modules/upper-case/node_modules/tslib/LICENSE.txt +12 -0
- package/node_modules/upper-case/node_modules/tslib/README.md +164 -0
- package/node_modules/upper-case/node_modules/tslib/modules/index.js +55 -0
- package/node_modules/upper-case/node_modules/tslib/modules/package.json +3 -0
- package/node_modules/upper-case/node_modules/tslib/package.json +42 -0
- package/node_modules/upper-case/node_modules/tslib/tslib.d.ts +398 -0
- package/node_modules/upper-case/node_modules/tslib/tslib.es6.html +1 -0
- package/node_modules/upper-case/node_modules/tslib/tslib.es6.js +248 -0
- package/node_modules/upper-case/node_modules/tslib/tslib.html +1 -0
- package/node_modules/upper-case/node_modules/tslib/tslib.js +317 -0
- package/node_modules/upper-case/package.json +90 -0
- package/node_modules/upper-case-first/LICENSE +21 -0
- package/node_modules/upper-case-first/README.md +32 -0
- package/node_modules/upper-case-first/dist/index.d.ts +4 -0
- package/node_modules/upper-case-first/dist/index.js +11 -0
- package/node_modules/upper-case-first/dist/index.js.map +1 -0
- package/node_modules/upper-case-first/dist/index.spec.d.ts +1 -0
- package/node_modules/upper-case-first/dist/index.spec.js +20 -0
- package/node_modules/upper-case-first/dist/index.spec.js.map +1 -0
- package/node_modules/upper-case-first/dist.es2015/index.d.ts +4 -0
- package/node_modules/upper-case-first/dist.es2015/index.js +7 -0
- package/node_modules/upper-case-first/dist.es2015/index.js.map +1 -0
- package/node_modules/upper-case-first/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/upper-case-first/dist.es2015/index.spec.js +18 -0
- package/node_modules/upper-case-first/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/upper-case-first/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/node_modules/upper-case-first/node_modules/tslib/LICENSE.txt +12 -0
- package/node_modules/upper-case-first/node_modules/tslib/README.md +164 -0
- package/node_modules/upper-case-first/node_modules/tslib/modules/index.js +55 -0
- package/node_modules/upper-case-first/node_modules/tslib/modules/package.json +3 -0
- package/node_modules/upper-case-first/node_modules/tslib/package.json +42 -0
- package/node_modules/upper-case-first/node_modules/tslib/tslib.d.ts +398 -0
- package/node_modules/upper-case-first/node_modules/tslib/tslib.es6.html +1 -0
- package/node_modules/upper-case-first/node_modules/tslib/tslib.es6.js +248 -0
- package/node_modules/upper-case-first/node_modules/tslib/tslib.html +1 -0
- package/node_modules/upper-case-first/node_modules/tslib/tslib.js +317 -0
- package/node_modules/upper-case-first/package.json +91 -0
- package/package.json +149 -0
package/API.md
ADDED
|
@@ -0,0 +1,3500 @@
|
|
|
1
|
+
# API Reference <a name="API Reference" id="api-reference"></a>
|
|
2
|
+
|
|
3
|
+
## Constructs <a name="Constructs" id="Constructs"></a>
|
|
4
|
+
|
|
5
|
+
### AccountWrapper <a name="AccountWrapper" id="@alma-cdk/project.AccountWrapper"></a>
|
|
6
|
+
|
|
7
|
+
#### Initializers <a name="Initializers" id="@alma-cdk/project.AccountWrapper.Initializer"></a>
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
import { AccountWrapper } from '@alma-cdk/project'
|
|
11
|
+
|
|
12
|
+
new AccountWrapper(scope: Construct)
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
| **Name** | **Type** | **Description** |
|
|
16
|
+
| --- | --- | --- |
|
|
17
|
+
| <code><a href="#@alma-cdk/project.AccountWrapper.Initializer.parameter.scope">scope</a></code> | <code>constructs.Construct</code> | *No description.* |
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
##### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.AccountWrapper.Initializer.parameter.scope"></a>
|
|
22
|
+
|
|
23
|
+
- *Type:* constructs.Construct
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
#### Methods <a name="Methods" id="Methods"></a>
|
|
28
|
+
|
|
29
|
+
| **Name** | **Description** |
|
|
30
|
+
| --- | --- |
|
|
31
|
+
| <code><a href="#@alma-cdk/project.AccountWrapper.toString">toString</a></code> | Returns a string representation of this construct. |
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
##### `toString` <a name="toString" id="@alma-cdk/project.AccountWrapper.toString"></a>
|
|
36
|
+
|
|
37
|
+
```typescript
|
|
38
|
+
public toString(): string
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Returns a string representation of this construct.
|
|
42
|
+
|
|
43
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
44
|
+
|
|
45
|
+
| **Name** | **Description** |
|
|
46
|
+
| --- | --- |
|
|
47
|
+
| <code><a href="#@alma-cdk/project.AccountWrapper.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
##### ~~`isConstruct`~~ <a name="isConstruct" id="@alma-cdk/project.AccountWrapper.isConstruct"></a>
|
|
52
|
+
|
|
53
|
+
```typescript
|
|
54
|
+
import { AccountWrapper } from '@alma-cdk/project'
|
|
55
|
+
|
|
56
|
+
AccountWrapper.isConstruct(x: any)
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Checks if `x` is a construct.
|
|
60
|
+
|
|
61
|
+
###### `x`<sup>Required</sup> <a name="x" id="@alma-cdk/project.AccountWrapper.isConstruct.parameter.x"></a>
|
|
62
|
+
|
|
63
|
+
- *Type:* any
|
|
64
|
+
|
|
65
|
+
Any object.
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
70
|
+
|
|
71
|
+
| **Name** | **Type** | **Description** |
|
|
72
|
+
| --- | --- | --- |
|
|
73
|
+
| <code><a href="#@alma-cdk/project.AccountWrapper.property.node">node</a></code> | <code>constructs.Node</code> | The tree node. |
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
##### `node`<sup>Required</sup> <a name="node" id="@alma-cdk/project.AccountWrapper.property.node"></a>
|
|
78
|
+
|
|
79
|
+
```typescript
|
|
80
|
+
public readonly node: Node;
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
- *Type:* constructs.Node
|
|
84
|
+
|
|
85
|
+
The tree node.
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
### EnvironmentWrapper <a name="EnvironmentWrapper" id="@alma-cdk/project.EnvironmentWrapper"></a>
|
|
91
|
+
|
|
92
|
+
#### Initializers <a name="Initializers" id="@alma-cdk/project.EnvironmentWrapper.Initializer"></a>
|
|
93
|
+
|
|
94
|
+
```typescript
|
|
95
|
+
import { EnvironmentWrapper } from '@alma-cdk/project'
|
|
96
|
+
|
|
97
|
+
new EnvironmentWrapper(scope: Construct)
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
| **Name** | **Type** | **Description** |
|
|
101
|
+
| --- | --- | --- |
|
|
102
|
+
| <code><a href="#@alma-cdk/project.EnvironmentWrapper.Initializer.parameter.scope">scope</a></code> | <code>constructs.Construct</code> | *No description.* |
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
##### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.EnvironmentWrapper.Initializer.parameter.scope"></a>
|
|
107
|
+
|
|
108
|
+
- *Type:* constructs.Construct
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
#### Methods <a name="Methods" id="Methods"></a>
|
|
113
|
+
|
|
114
|
+
| **Name** | **Description** |
|
|
115
|
+
| --- | --- |
|
|
116
|
+
| <code><a href="#@alma-cdk/project.EnvironmentWrapper.toString">toString</a></code> | Returns a string representation of this construct. |
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
##### `toString` <a name="toString" id="@alma-cdk/project.EnvironmentWrapper.toString"></a>
|
|
121
|
+
|
|
122
|
+
```typescript
|
|
123
|
+
public toString(): string
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
Returns a string representation of this construct.
|
|
127
|
+
|
|
128
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
129
|
+
|
|
130
|
+
| **Name** | **Description** |
|
|
131
|
+
| --- | --- |
|
|
132
|
+
| <code><a href="#@alma-cdk/project.EnvironmentWrapper.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
##### ~~`isConstruct`~~ <a name="isConstruct" id="@alma-cdk/project.EnvironmentWrapper.isConstruct"></a>
|
|
137
|
+
|
|
138
|
+
```typescript
|
|
139
|
+
import { EnvironmentWrapper } from '@alma-cdk/project'
|
|
140
|
+
|
|
141
|
+
EnvironmentWrapper.isConstruct(x: any)
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
Checks if `x` is a construct.
|
|
145
|
+
|
|
146
|
+
###### `x`<sup>Required</sup> <a name="x" id="@alma-cdk/project.EnvironmentWrapper.isConstruct.parameter.x"></a>
|
|
147
|
+
|
|
148
|
+
- *Type:* any
|
|
149
|
+
|
|
150
|
+
Any object.
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
155
|
+
|
|
156
|
+
| **Name** | **Type** | **Description** |
|
|
157
|
+
| --- | --- | --- |
|
|
158
|
+
| <code><a href="#@alma-cdk/project.EnvironmentWrapper.property.node">node</a></code> | <code>constructs.Node</code> | The tree node. |
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
##### `node`<sup>Required</sup> <a name="node" id="@alma-cdk/project.EnvironmentWrapper.property.node"></a>
|
|
163
|
+
|
|
164
|
+
```typescript
|
|
165
|
+
public readonly node: Node;
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
- *Type:* constructs.Node
|
|
169
|
+
|
|
170
|
+
The tree node.
|
|
171
|
+
|
|
172
|
+
---
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
### Project <a name="Project" id="@alma-cdk/project.Project"></a>
|
|
176
|
+
|
|
177
|
+
High-level wrapper for `cdk.App` with specific requirements for props.
|
|
178
|
+
|
|
179
|
+
Use it like you would `cdk.App` and assign stacks into it.
|
|
180
|
+
|
|
181
|
+
*Example*
|
|
182
|
+
|
|
183
|
+
```typescript
|
|
184
|
+
// new Project instead of new App
|
|
185
|
+
const project = new Project({
|
|
186
|
+
name: 'my-cool-project',
|
|
187
|
+
author: {
|
|
188
|
+
organization: 'Acme Corp',
|
|
189
|
+
name: 'Mad Scientists',
|
|
190
|
+
email: 'mad.scientists@acme.example.com',
|
|
191
|
+
},
|
|
192
|
+
defaultRegion: 'eu-west-1', // defaults to one of: $CDK_DEFAULT_REGION, $AWS_REGION or us-east-1
|
|
193
|
+
accounts: {
|
|
194
|
+
dev: {
|
|
195
|
+
id: '111111111111',
|
|
196
|
+
environments: ['development', 'feature/.*', 'staging'],
|
|
197
|
+
config: {
|
|
198
|
+
baseDomain: 'example.net',
|
|
199
|
+
},
|
|
200
|
+
},
|
|
201
|
+
prod: {
|
|
202
|
+
id: '222222222222',
|
|
203
|
+
environments: ['production'],
|
|
204
|
+
config: {
|
|
205
|
+
baseDomain: 'example.com',
|
|
206
|
+
},
|
|
207
|
+
},
|
|
208
|
+
},
|
|
209
|
+
})
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
#### Initializers <a name="Initializers" id="@alma-cdk/project.Project.Initializer"></a>
|
|
214
|
+
|
|
215
|
+
```typescript
|
|
216
|
+
import { Project } from '@alma-cdk/project'
|
|
217
|
+
|
|
218
|
+
new Project(props: ProjectProps)
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
| **Name** | **Type** | **Description** |
|
|
222
|
+
| --- | --- | --- |
|
|
223
|
+
| <code><a href="#@alma-cdk/project.Project.Initializer.parameter.props">props</a></code> | <code><a href="#@alma-cdk/project.ProjectProps">ProjectProps</a></code> | *No description.* |
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
##### `props`<sup>Required</sup> <a name="props" id="@alma-cdk/project.Project.Initializer.parameter.props"></a>
|
|
228
|
+
|
|
229
|
+
- *Type:* <a href="#@alma-cdk/project.ProjectProps">ProjectProps</a>
|
|
230
|
+
|
|
231
|
+
---
|
|
232
|
+
|
|
233
|
+
#### Methods <a name="Methods" id="Methods"></a>
|
|
234
|
+
|
|
235
|
+
| **Name** | **Description** |
|
|
236
|
+
| --- | --- |
|
|
237
|
+
| <code><a href="#@alma-cdk/project.Project.toString">toString</a></code> | Returns a string representation of this construct. |
|
|
238
|
+
| <code><a href="#@alma-cdk/project.Project.synth">synth</a></code> | Synthesize this stage into a cloud assembly. |
|
|
239
|
+
|
|
240
|
+
---
|
|
241
|
+
|
|
242
|
+
##### `toString` <a name="toString" id="@alma-cdk/project.Project.toString"></a>
|
|
243
|
+
|
|
244
|
+
```typescript
|
|
245
|
+
public toString(): string
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
Returns a string representation of this construct.
|
|
249
|
+
|
|
250
|
+
##### `synth` <a name="synth" id="@alma-cdk/project.Project.synth"></a>
|
|
251
|
+
|
|
252
|
+
```typescript
|
|
253
|
+
public synth(options?: StageSynthesisOptions): CloudAssembly
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
Synthesize this stage into a cloud assembly.
|
|
257
|
+
|
|
258
|
+
Once an assembly has been synthesized, it cannot be modified. Subsequent
|
|
259
|
+
calls will return the same assembly.
|
|
260
|
+
|
|
261
|
+
###### `options`<sup>Optional</sup> <a name="options" id="@alma-cdk/project.Project.synth.parameter.options"></a>
|
|
262
|
+
|
|
263
|
+
- *Type:* aws-cdk-lib.StageSynthesisOptions
|
|
264
|
+
|
|
265
|
+
---
|
|
266
|
+
|
|
267
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
268
|
+
|
|
269
|
+
| **Name** | **Description** |
|
|
270
|
+
| --- | --- |
|
|
271
|
+
| <code><a href="#@alma-cdk/project.Project.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
|
|
272
|
+
| <code><a href="#@alma-cdk/project.Project.isStage">isStage</a></code> | Test whether the given construct is a stage. |
|
|
273
|
+
| <code><a href="#@alma-cdk/project.Project.of">of</a></code> | Return the stage this construct is contained with, if available. |
|
|
274
|
+
| <code><a href="#@alma-cdk/project.Project.isApp">isApp</a></code> | Checks if an object is an instance of the `App` class. |
|
|
275
|
+
| <code><a href="#@alma-cdk/project.Project.getAccount">getAccount</a></code> | Return account configuration. |
|
|
276
|
+
| <code><a href="#@alma-cdk/project.Project.getConfiguration">getConfiguration</a></code> | Return the project configuration as given in ProjectProps. |
|
|
277
|
+
|
|
278
|
+
---
|
|
279
|
+
|
|
280
|
+
##### ~~`isConstruct`~~ <a name="isConstruct" id="@alma-cdk/project.Project.isConstruct"></a>
|
|
281
|
+
|
|
282
|
+
```typescript
|
|
283
|
+
import { Project } from '@alma-cdk/project'
|
|
284
|
+
|
|
285
|
+
Project.isConstruct(x: any)
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
Checks if `x` is a construct.
|
|
289
|
+
|
|
290
|
+
###### `x`<sup>Required</sup> <a name="x" id="@alma-cdk/project.Project.isConstruct.parameter.x"></a>
|
|
291
|
+
|
|
292
|
+
- *Type:* any
|
|
293
|
+
|
|
294
|
+
Any object.
|
|
295
|
+
|
|
296
|
+
---
|
|
297
|
+
|
|
298
|
+
##### `isStage` <a name="isStage" id="@alma-cdk/project.Project.isStage"></a>
|
|
299
|
+
|
|
300
|
+
```typescript
|
|
301
|
+
import { Project } from '@alma-cdk/project'
|
|
302
|
+
|
|
303
|
+
Project.isStage(x: any)
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
Test whether the given construct is a stage.
|
|
307
|
+
|
|
308
|
+
###### `x`<sup>Required</sup> <a name="x" id="@alma-cdk/project.Project.isStage.parameter.x"></a>
|
|
309
|
+
|
|
310
|
+
- *Type:* any
|
|
311
|
+
|
|
312
|
+
---
|
|
313
|
+
|
|
314
|
+
##### `of` <a name="of" id="@alma-cdk/project.Project.of"></a>
|
|
315
|
+
|
|
316
|
+
```typescript
|
|
317
|
+
import { Project } from '@alma-cdk/project'
|
|
318
|
+
|
|
319
|
+
Project.of(construct: IConstruct)
|
|
320
|
+
```
|
|
321
|
+
|
|
322
|
+
Return the stage this construct is contained with, if available.
|
|
323
|
+
|
|
324
|
+
If called
|
|
325
|
+
on a nested stage, returns its parent.
|
|
326
|
+
|
|
327
|
+
###### `construct`<sup>Required</sup> <a name="construct" id="@alma-cdk/project.Project.of.parameter.construct"></a>
|
|
328
|
+
|
|
329
|
+
- *Type:* constructs.IConstruct
|
|
330
|
+
|
|
331
|
+
---
|
|
332
|
+
|
|
333
|
+
##### `isApp` <a name="isApp" id="@alma-cdk/project.Project.isApp"></a>
|
|
334
|
+
|
|
335
|
+
```typescript
|
|
336
|
+
import { Project } from '@alma-cdk/project'
|
|
337
|
+
|
|
338
|
+
Project.isApp(obj: any)
|
|
339
|
+
```
|
|
340
|
+
|
|
341
|
+
Checks if an object is an instance of the `App` class.
|
|
342
|
+
|
|
343
|
+
###### `obj`<sup>Required</sup> <a name="obj" id="@alma-cdk/project.Project.isApp.parameter.obj"></a>
|
|
344
|
+
|
|
345
|
+
- *Type:* any
|
|
346
|
+
|
|
347
|
+
The object to evaluate.
|
|
348
|
+
|
|
349
|
+
---
|
|
350
|
+
|
|
351
|
+
##### `getAccount` <a name="getAccount" id="@alma-cdk/project.Project.getAccount"></a>
|
|
352
|
+
|
|
353
|
+
```typescript
|
|
354
|
+
import { Project } from '@alma-cdk/project'
|
|
355
|
+
|
|
356
|
+
Project.getAccount(scope: Construct, accountType: string)
|
|
357
|
+
```
|
|
358
|
+
|
|
359
|
+
Return account configuration.
|
|
360
|
+
|
|
361
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.Project.getAccount.parameter.scope"></a>
|
|
362
|
+
|
|
363
|
+
- *Type:* constructs.Construct
|
|
364
|
+
|
|
365
|
+
---
|
|
366
|
+
|
|
367
|
+
###### `accountType`<sup>Required</sup> <a name="accountType" id="@alma-cdk/project.Project.getAccount.parameter.accountType"></a>
|
|
368
|
+
|
|
369
|
+
- *Type:* string
|
|
370
|
+
|
|
371
|
+
---
|
|
372
|
+
|
|
373
|
+
##### `getConfiguration` <a name="getConfiguration" id="@alma-cdk/project.Project.getConfiguration"></a>
|
|
374
|
+
|
|
375
|
+
```typescript
|
|
376
|
+
import { Project } from '@alma-cdk/project'
|
|
377
|
+
|
|
378
|
+
Project.getConfiguration(scope: Construct)
|
|
379
|
+
```
|
|
380
|
+
|
|
381
|
+
Return the project configuration as given in ProjectProps.
|
|
382
|
+
|
|
383
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.Project.getConfiguration.parameter.scope"></a>
|
|
384
|
+
|
|
385
|
+
- *Type:* constructs.Construct
|
|
386
|
+
|
|
387
|
+
---
|
|
388
|
+
|
|
389
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
390
|
+
|
|
391
|
+
| **Name** | **Type** | **Description** |
|
|
392
|
+
| --- | --- | --- |
|
|
393
|
+
| <code><a href="#@alma-cdk/project.Project.property.node">node</a></code> | <code>constructs.Node</code> | The tree node. |
|
|
394
|
+
| <code><a href="#@alma-cdk/project.Project.property.artifactId">artifactId</a></code> | <code>string</code> | Artifact ID of the assembly if it is a nested stage. The root stage (app) will return an empty string. |
|
|
395
|
+
| <code><a href="#@alma-cdk/project.Project.property.assetOutdir">assetOutdir</a></code> | <code>string</code> | The cloud assembly asset output directory. |
|
|
396
|
+
| <code><a href="#@alma-cdk/project.Project.property.outdir">outdir</a></code> | <code>string</code> | The cloud assembly output directory. |
|
|
397
|
+
| <code><a href="#@alma-cdk/project.Project.property.stageName">stageName</a></code> | <code>string</code> | The name of the stage. |
|
|
398
|
+
| <code><a href="#@alma-cdk/project.Project.property.account">account</a></code> | <code>string</code> | The default account for all resources defined within this stage. |
|
|
399
|
+
| <code><a href="#@alma-cdk/project.Project.property.parentStage">parentStage</a></code> | <code>aws-cdk-lib.Stage</code> | The parent stage or `undefined` if this is the app. |
|
|
400
|
+
| <code><a href="#@alma-cdk/project.Project.property.region">region</a></code> | <code>string</code> | The default region for all resources defined within this stage. |
|
|
401
|
+
|
|
402
|
+
---
|
|
403
|
+
|
|
404
|
+
##### `node`<sup>Required</sup> <a name="node" id="@alma-cdk/project.Project.property.node"></a>
|
|
405
|
+
|
|
406
|
+
```typescript
|
|
407
|
+
public readonly node: Node;
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
- *Type:* constructs.Node
|
|
411
|
+
|
|
412
|
+
The tree node.
|
|
413
|
+
|
|
414
|
+
---
|
|
415
|
+
|
|
416
|
+
##### `artifactId`<sup>Required</sup> <a name="artifactId" id="@alma-cdk/project.Project.property.artifactId"></a>
|
|
417
|
+
|
|
418
|
+
```typescript
|
|
419
|
+
public readonly artifactId: string;
|
|
420
|
+
```
|
|
421
|
+
|
|
422
|
+
- *Type:* string
|
|
423
|
+
|
|
424
|
+
Artifact ID of the assembly if it is a nested stage. The root stage (app) will return an empty string.
|
|
425
|
+
|
|
426
|
+
Derived from the construct path.
|
|
427
|
+
|
|
428
|
+
---
|
|
429
|
+
|
|
430
|
+
##### `assetOutdir`<sup>Required</sup> <a name="assetOutdir" id="@alma-cdk/project.Project.property.assetOutdir"></a>
|
|
431
|
+
|
|
432
|
+
```typescript
|
|
433
|
+
public readonly assetOutdir: string;
|
|
434
|
+
```
|
|
435
|
+
|
|
436
|
+
- *Type:* string
|
|
437
|
+
|
|
438
|
+
The cloud assembly asset output directory.
|
|
439
|
+
|
|
440
|
+
---
|
|
441
|
+
|
|
442
|
+
##### `outdir`<sup>Required</sup> <a name="outdir" id="@alma-cdk/project.Project.property.outdir"></a>
|
|
443
|
+
|
|
444
|
+
```typescript
|
|
445
|
+
public readonly outdir: string;
|
|
446
|
+
```
|
|
447
|
+
|
|
448
|
+
- *Type:* string
|
|
449
|
+
|
|
450
|
+
The cloud assembly output directory.
|
|
451
|
+
|
|
452
|
+
---
|
|
453
|
+
|
|
454
|
+
##### `stageName`<sup>Required</sup> <a name="stageName" id="@alma-cdk/project.Project.property.stageName"></a>
|
|
455
|
+
|
|
456
|
+
```typescript
|
|
457
|
+
public readonly stageName: string;
|
|
458
|
+
```
|
|
459
|
+
|
|
460
|
+
- *Type:* string
|
|
461
|
+
|
|
462
|
+
The name of the stage.
|
|
463
|
+
|
|
464
|
+
Based on names of the parent stages separated by
|
|
465
|
+
hypens.
|
|
466
|
+
|
|
467
|
+
---
|
|
468
|
+
|
|
469
|
+
##### `account`<sup>Optional</sup> <a name="account" id="@alma-cdk/project.Project.property.account"></a>
|
|
470
|
+
|
|
471
|
+
```typescript
|
|
472
|
+
public readonly account: string;
|
|
473
|
+
```
|
|
474
|
+
|
|
475
|
+
- *Type:* string
|
|
476
|
+
|
|
477
|
+
The default account for all resources defined within this stage.
|
|
478
|
+
|
|
479
|
+
---
|
|
480
|
+
|
|
481
|
+
##### `parentStage`<sup>Optional</sup> <a name="parentStage" id="@alma-cdk/project.Project.property.parentStage"></a>
|
|
482
|
+
|
|
483
|
+
```typescript
|
|
484
|
+
public readonly parentStage: Stage;
|
|
485
|
+
```
|
|
486
|
+
|
|
487
|
+
- *Type:* aws-cdk-lib.Stage
|
|
488
|
+
|
|
489
|
+
The parent stage or `undefined` if this is the app.
|
|
490
|
+
|
|
491
|
+
*
|
|
492
|
+
|
|
493
|
+
---
|
|
494
|
+
|
|
495
|
+
##### `region`<sup>Optional</sup> <a name="region" id="@alma-cdk/project.Project.property.region"></a>
|
|
496
|
+
|
|
497
|
+
```typescript
|
|
498
|
+
public readonly region: string;
|
|
499
|
+
```
|
|
500
|
+
|
|
501
|
+
- *Type:* string
|
|
502
|
+
|
|
503
|
+
The default region for all resources defined within this stage.
|
|
504
|
+
|
|
505
|
+
---
|
|
506
|
+
|
|
507
|
+
#### Constants <a name="Constants" id="Constants"></a>
|
|
508
|
+
|
|
509
|
+
| **Name** | **Type** | **Description** |
|
|
510
|
+
| --- | --- | --- |
|
|
511
|
+
| <code><a href="#@alma-cdk/project.Project.property.CONTEXT_SCOPE">CONTEXT_SCOPE</a></code> | <code>string</code> | Namespace/key how this tool internally keeps track of the project configuration. |
|
|
512
|
+
|
|
513
|
+
---
|
|
514
|
+
|
|
515
|
+
##### `CONTEXT_SCOPE`<sup>Required</sup> <a name="CONTEXT_SCOPE" id="@alma-cdk/project.Project.property.CONTEXT_SCOPE"></a>
|
|
516
|
+
|
|
517
|
+
```typescript
|
|
518
|
+
public readonly CONTEXT_SCOPE: string;
|
|
519
|
+
```
|
|
520
|
+
|
|
521
|
+
- *Type:* string
|
|
522
|
+
|
|
523
|
+
Namespace/key how this tool internally keeps track of the project configuration.
|
|
524
|
+
|
|
525
|
+
---
|
|
526
|
+
|
|
527
|
+
### SmartStack <a name="SmartStack" id="@alma-cdk/project.SmartStack"></a>
|
|
528
|
+
|
|
529
|
+
#### Initializers <a name="Initializers" id="@alma-cdk/project.SmartStack.Initializer"></a>
|
|
530
|
+
|
|
531
|
+
```typescript
|
|
532
|
+
import { SmartStack } from '@alma-cdk/project'
|
|
533
|
+
|
|
534
|
+
new SmartStack(scope: Construct, id: string, props: StackProps)
|
|
535
|
+
```
|
|
536
|
+
|
|
537
|
+
| **Name** | **Type** | **Description** |
|
|
538
|
+
| --- | --- | --- |
|
|
539
|
+
| <code><a href="#@alma-cdk/project.SmartStack.Initializer.parameter.scope">scope</a></code> | <code>constructs.Construct</code> | *No description.* |
|
|
540
|
+
| <code><a href="#@alma-cdk/project.SmartStack.Initializer.parameter.id">id</a></code> | <code>string</code> | *No description.* |
|
|
541
|
+
| <code><a href="#@alma-cdk/project.SmartStack.Initializer.parameter.props">props</a></code> | <code>aws-cdk-lib.StackProps</code> | *No description.* |
|
|
542
|
+
|
|
543
|
+
---
|
|
544
|
+
|
|
545
|
+
##### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.SmartStack.Initializer.parameter.scope"></a>
|
|
546
|
+
|
|
547
|
+
- *Type:* constructs.Construct
|
|
548
|
+
|
|
549
|
+
---
|
|
550
|
+
|
|
551
|
+
##### `id`<sup>Required</sup> <a name="id" id="@alma-cdk/project.SmartStack.Initializer.parameter.id"></a>
|
|
552
|
+
|
|
553
|
+
- *Type:* string
|
|
554
|
+
|
|
555
|
+
---
|
|
556
|
+
|
|
557
|
+
##### `props`<sup>Required</sup> <a name="props" id="@alma-cdk/project.SmartStack.Initializer.parameter.props"></a>
|
|
558
|
+
|
|
559
|
+
- *Type:* aws-cdk-lib.StackProps
|
|
560
|
+
|
|
561
|
+
---
|
|
562
|
+
|
|
563
|
+
#### Methods <a name="Methods" id="Methods"></a>
|
|
564
|
+
|
|
565
|
+
| **Name** | **Description** |
|
|
566
|
+
| --- | --- |
|
|
567
|
+
| <code><a href="#@alma-cdk/project.SmartStack.toString">toString</a></code> | Returns a string representation of this construct. |
|
|
568
|
+
| <code><a href="#@alma-cdk/project.SmartStack.addDependency">addDependency</a></code> | Add a dependency between this stack and another stack. |
|
|
569
|
+
| <code><a href="#@alma-cdk/project.SmartStack.addTransform">addTransform</a></code> | Add a Transform to this stack. A Transform is a macro that AWS CloudFormation uses to process your template. |
|
|
570
|
+
| <code><a href="#@alma-cdk/project.SmartStack.exportValue">exportValue</a></code> | Create a CloudFormation Export for a value. |
|
|
571
|
+
| <code><a href="#@alma-cdk/project.SmartStack.formatArn">formatArn</a></code> | Creates an ARN from components. |
|
|
572
|
+
| <code><a href="#@alma-cdk/project.SmartStack.getLogicalId">getLogicalId</a></code> | Allocates a stack-unique CloudFormation-compatible logical identity for a specific resource. |
|
|
573
|
+
| <code><a href="#@alma-cdk/project.SmartStack.regionalFact">regionalFact</a></code> | Look up a fact value for the given fact for the region of this stack. |
|
|
574
|
+
| <code><a href="#@alma-cdk/project.SmartStack.renameLogicalId">renameLogicalId</a></code> | Rename a generated logical identities. |
|
|
575
|
+
| <code><a href="#@alma-cdk/project.SmartStack.reportMissingContextKey">reportMissingContextKey</a></code> | Indicate that a context key was expected. |
|
|
576
|
+
| <code><a href="#@alma-cdk/project.SmartStack.resolve">resolve</a></code> | Resolve a tokenized value in the context of the current stack. |
|
|
577
|
+
| <code><a href="#@alma-cdk/project.SmartStack.splitArn">splitArn</a></code> | Splits the provided ARN into its components. |
|
|
578
|
+
| <code><a href="#@alma-cdk/project.SmartStack.toJsonString">toJsonString</a></code> | Convert an object, potentially containing tokens, to a JSON string. |
|
|
579
|
+
|
|
580
|
+
---
|
|
581
|
+
|
|
582
|
+
##### `toString` <a name="toString" id="@alma-cdk/project.SmartStack.toString"></a>
|
|
583
|
+
|
|
584
|
+
```typescript
|
|
585
|
+
public toString(): string
|
|
586
|
+
```
|
|
587
|
+
|
|
588
|
+
Returns a string representation of this construct.
|
|
589
|
+
|
|
590
|
+
##### `addDependency` <a name="addDependency" id="@alma-cdk/project.SmartStack.addDependency"></a>
|
|
591
|
+
|
|
592
|
+
```typescript
|
|
593
|
+
public addDependency(target: Stack, reason?: string): void
|
|
594
|
+
```
|
|
595
|
+
|
|
596
|
+
Add a dependency between this stack and another stack.
|
|
597
|
+
|
|
598
|
+
This can be used to define dependencies between any two stacks within an
|
|
599
|
+
app, and also supports nested stacks.
|
|
600
|
+
|
|
601
|
+
###### `target`<sup>Required</sup> <a name="target" id="@alma-cdk/project.SmartStack.addDependency.parameter.target"></a>
|
|
602
|
+
|
|
603
|
+
- *Type:* aws-cdk-lib.Stack
|
|
604
|
+
|
|
605
|
+
---
|
|
606
|
+
|
|
607
|
+
###### `reason`<sup>Optional</sup> <a name="reason" id="@alma-cdk/project.SmartStack.addDependency.parameter.reason"></a>
|
|
608
|
+
|
|
609
|
+
- *Type:* string
|
|
610
|
+
|
|
611
|
+
---
|
|
612
|
+
|
|
613
|
+
##### `addTransform` <a name="addTransform" id="@alma-cdk/project.SmartStack.addTransform"></a>
|
|
614
|
+
|
|
615
|
+
```typescript
|
|
616
|
+
public addTransform(transform: string): void
|
|
617
|
+
```
|
|
618
|
+
|
|
619
|
+
Add a Transform to this stack. A Transform is a macro that AWS CloudFormation uses to process your template.
|
|
620
|
+
|
|
621
|
+
Duplicate values are removed when stack is synthesized.
|
|
622
|
+
|
|
623
|
+
> [https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-section-structure.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-section-structure.html)
|
|
624
|
+
|
|
625
|
+
*Example*
|
|
626
|
+
|
|
627
|
+
```typescript
|
|
628
|
+
declare const stack: Stack;
|
|
629
|
+
|
|
630
|
+
stack.addTransform('AWS::Serverless-2016-10-31')
|
|
631
|
+
```
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
###### `transform`<sup>Required</sup> <a name="transform" id="@alma-cdk/project.SmartStack.addTransform.parameter.transform"></a>
|
|
635
|
+
|
|
636
|
+
- *Type:* string
|
|
637
|
+
|
|
638
|
+
The transform to add.
|
|
639
|
+
|
|
640
|
+
---
|
|
641
|
+
|
|
642
|
+
##### `exportValue` <a name="exportValue" id="@alma-cdk/project.SmartStack.exportValue"></a>
|
|
643
|
+
|
|
644
|
+
```typescript
|
|
645
|
+
public exportValue(exportedValue: any, options?: ExportValueOptions): string
|
|
646
|
+
```
|
|
647
|
+
|
|
648
|
+
Create a CloudFormation Export for a value.
|
|
649
|
+
|
|
650
|
+
Returns a string representing the corresponding `Fn.importValue()`
|
|
651
|
+
expression for this Export. You can control the name for the export by
|
|
652
|
+
passing the `name` option.
|
|
653
|
+
|
|
654
|
+
If you don't supply a value for `name`, the value you're exporting must be
|
|
655
|
+
a Resource attribute (for example: `bucket.bucketName`) and it will be
|
|
656
|
+
given the same name as the automatic cross-stack reference that would be created
|
|
657
|
+
if you used the attribute in another Stack.
|
|
658
|
+
|
|
659
|
+
One of the uses for this method is to *remove* the relationship between
|
|
660
|
+
two Stacks established by automatic cross-stack references. It will
|
|
661
|
+
temporarily ensure that the CloudFormation Export still exists while you
|
|
662
|
+
remove the reference from the consuming stack. After that, you can remove
|
|
663
|
+
the resource and the manual export.
|
|
664
|
+
|
|
665
|
+
## Example
|
|
666
|
+
|
|
667
|
+
Here is how the process works. Let's say there are two stacks,
|
|
668
|
+
`producerStack` and `consumerStack`, and `producerStack` has a bucket
|
|
669
|
+
called `bucket`, which is referenced by `consumerStack` (perhaps because
|
|
670
|
+
an AWS Lambda Function writes into it, or something like that).
|
|
671
|
+
|
|
672
|
+
It is not safe to remove `producerStack.bucket` because as the bucket is being
|
|
673
|
+
deleted, `consumerStack` might still be using it.
|
|
674
|
+
|
|
675
|
+
Instead, the process takes two deployments:
|
|
676
|
+
|
|
677
|
+
### Deployment 1: break the relationship
|
|
678
|
+
|
|
679
|
+
- Make sure `consumerStack` no longer references `bucket.bucketName` (maybe the consumer
|
|
680
|
+
stack now uses its own bucket, or it writes to an AWS DynamoDB table, or maybe you just
|
|
681
|
+
remove the Lambda Function altogether).
|
|
682
|
+
- In the `ProducerStack` class, call `this.exportValue(this.bucket.bucketName)`. This
|
|
683
|
+
will make sure the CloudFormation Export continues to exist while the relationship
|
|
684
|
+
between the two stacks is being broken.
|
|
685
|
+
- Deploy (this will effectively only change the `consumerStack`, but it's safe to deploy both).
|
|
686
|
+
|
|
687
|
+
### Deployment 2: remove the bucket resource
|
|
688
|
+
|
|
689
|
+
- You are now free to remove the `bucket` resource from `producerStack`.
|
|
690
|
+
- Don't forget to remove the `exportValue()` call as well.
|
|
691
|
+
- Deploy again (this time only the `producerStack` will be changed -- the bucket will be deleted).
|
|
692
|
+
|
|
693
|
+
###### `exportedValue`<sup>Required</sup> <a name="exportedValue" id="@alma-cdk/project.SmartStack.exportValue.parameter.exportedValue"></a>
|
|
694
|
+
|
|
695
|
+
- *Type:* any
|
|
696
|
+
|
|
697
|
+
---
|
|
698
|
+
|
|
699
|
+
###### `options`<sup>Optional</sup> <a name="options" id="@alma-cdk/project.SmartStack.exportValue.parameter.options"></a>
|
|
700
|
+
|
|
701
|
+
- *Type:* aws-cdk-lib.ExportValueOptions
|
|
702
|
+
|
|
703
|
+
---
|
|
704
|
+
|
|
705
|
+
##### `formatArn` <a name="formatArn" id="@alma-cdk/project.SmartStack.formatArn"></a>
|
|
706
|
+
|
|
707
|
+
```typescript
|
|
708
|
+
public formatArn(components: ArnComponents): string
|
|
709
|
+
```
|
|
710
|
+
|
|
711
|
+
Creates an ARN from components.
|
|
712
|
+
|
|
713
|
+
If `partition`, `region` or `account` are not specified, the stack's
|
|
714
|
+
partition, region and account will be used.
|
|
715
|
+
|
|
716
|
+
If any component is the empty string, an empty string will be inserted
|
|
717
|
+
into the generated ARN at the location that component corresponds to.
|
|
718
|
+
|
|
719
|
+
The ARN will be formatted as follows:
|
|
720
|
+
|
|
721
|
+
arn:{partition}:{service}:{region}:{account}:{resource}{sep}}{resource-name}
|
|
722
|
+
|
|
723
|
+
The required ARN pieces that are omitted will be taken from the stack that
|
|
724
|
+
the 'scope' is attached to. If all ARN pieces are supplied, the supplied scope
|
|
725
|
+
can be 'undefined'.
|
|
726
|
+
|
|
727
|
+
###### `components`<sup>Required</sup> <a name="components" id="@alma-cdk/project.SmartStack.formatArn.parameter.components"></a>
|
|
728
|
+
|
|
729
|
+
- *Type:* aws-cdk-lib.ArnComponents
|
|
730
|
+
|
|
731
|
+
---
|
|
732
|
+
|
|
733
|
+
##### `getLogicalId` <a name="getLogicalId" id="@alma-cdk/project.SmartStack.getLogicalId"></a>
|
|
734
|
+
|
|
735
|
+
```typescript
|
|
736
|
+
public getLogicalId(element: CfnElement): string
|
|
737
|
+
```
|
|
738
|
+
|
|
739
|
+
Allocates a stack-unique CloudFormation-compatible logical identity for a specific resource.
|
|
740
|
+
|
|
741
|
+
This method is called when a `CfnElement` is created and used to render the
|
|
742
|
+
initial logical identity of resources. Logical ID renames are applied at
|
|
743
|
+
this stage.
|
|
744
|
+
|
|
745
|
+
This method uses the protected method `allocateLogicalId` to render the
|
|
746
|
+
logical ID for an element. To modify the naming scheme, extend the `Stack`
|
|
747
|
+
class and override this method.
|
|
748
|
+
|
|
749
|
+
###### `element`<sup>Required</sup> <a name="element" id="@alma-cdk/project.SmartStack.getLogicalId.parameter.element"></a>
|
|
750
|
+
|
|
751
|
+
- *Type:* aws-cdk-lib.CfnElement
|
|
752
|
+
|
|
753
|
+
The CloudFormation element for which a logical identity is needed.
|
|
754
|
+
|
|
755
|
+
---
|
|
756
|
+
|
|
757
|
+
##### `regionalFact` <a name="regionalFact" id="@alma-cdk/project.SmartStack.regionalFact"></a>
|
|
758
|
+
|
|
759
|
+
```typescript
|
|
760
|
+
public regionalFact(factName: string, defaultValue?: string): string
|
|
761
|
+
```
|
|
762
|
+
|
|
763
|
+
Look up a fact value for the given fact for the region of this stack.
|
|
764
|
+
|
|
765
|
+
Will return a definite value only if the region of the current stack is resolved.
|
|
766
|
+
If not, a lookup map will be added to the stack and the lookup will be done at
|
|
767
|
+
CDK deployment time.
|
|
768
|
+
|
|
769
|
+
What regions will be included in the lookup map is controlled by the
|
|
770
|
+
`@aws-cdk/core:target-partitions` context value: it must be set to a list
|
|
771
|
+
of partitions, and only regions from the given partitions will be included.
|
|
772
|
+
If no such context key is set, all regions will be included.
|
|
773
|
+
|
|
774
|
+
This function is intended to be used by construct library authors. Application
|
|
775
|
+
builders can rely on the abstractions offered by construct libraries and do
|
|
776
|
+
not have to worry about regional facts.
|
|
777
|
+
|
|
778
|
+
If `defaultValue` is not given, it is an error if the fact is unknown for
|
|
779
|
+
the given region.
|
|
780
|
+
|
|
781
|
+
###### `factName`<sup>Required</sup> <a name="factName" id="@alma-cdk/project.SmartStack.regionalFact.parameter.factName"></a>
|
|
782
|
+
|
|
783
|
+
- *Type:* string
|
|
784
|
+
|
|
785
|
+
---
|
|
786
|
+
|
|
787
|
+
###### `defaultValue`<sup>Optional</sup> <a name="defaultValue" id="@alma-cdk/project.SmartStack.regionalFact.parameter.defaultValue"></a>
|
|
788
|
+
|
|
789
|
+
- *Type:* string
|
|
790
|
+
|
|
791
|
+
---
|
|
792
|
+
|
|
793
|
+
##### `renameLogicalId` <a name="renameLogicalId" id="@alma-cdk/project.SmartStack.renameLogicalId"></a>
|
|
794
|
+
|
|
795
|
+
```typescript
|
|
796
|
+
public renameLogicalId(oldId: string, newId: string): void
|
|
797
|
+
```
|
|
798
|
+
|
|
799
|
+
Rename a generated logical identities.
|
|
800
|
+
|
|
801
|
+
To modify the naming scheme strategy, extend the `Stack` class and
|
|
802
|
+
override the `allocateLogicalId` method.
|
|
803
|
+
|
|
804
|
+
###### `oldId`<sup>Required</sup> <a name="oldId" id="@alma-cdk/project.SmartStack.renameLogicalId.parameter.oldId"></a>
|
|
805
|
+
|
|
806
|
+
- *Type:* string
|
|
807
|
+
|
|
808
|
+
---
|
|
809
|
+
|
|
810
|
+
###### `newId`<sup>Required</sup> <a name="newId" id="@alma-cdk/project.SmartStack.renameLogicalId.parameter.newId"></a>
|
|
811
|
+
|
|
812
|
+
- *Type:* string
|
|
813
|
+
|
|
814
|
+
---
|
|
815
|
+
|
|
816
|
+
##### `reportMissingContextKey` <a name="reportMissingContextKey" id="@alma-cdk/project.SmartStack.reportMissingContextKey"></a>
|
|
817
|
+
|
|
818
|
+
```typescript
|
|
819
|
+
public reportMissingContextKey(report: MissingContext): void
|
|
820
|
+
```
|
|
821
|
+
|
|
822
|
+
Indicate that a context key was expected.
|
|
823
|
+
|
|
824
|
+
Contains instructions which will be emitted into the cloud assembly on how
|
|
825
|
+
the key should be supplied.
|
|
826
|
+
|
|
827
|
+
###### `report`<sup>Required</sup> <a name="report" id="@alma-cdk/project.SmartStack.reportMissingContextKey.parameter.report"></a>
|
|
828
|
+
|
|
829
|
+
- *Type:* aws-cdk-lib.cloud_assembly_schema.MissingContext
|
|
830
|
+
|
|
831
|
+
The set of parameters needed to obtain the context.
|
|
832
|
+
|
|
833
|
+
---
|
|
834
|
+
|
|
835
|
+
##### `resolve` <a name="resolve" id="@alma-cdk/project.SmartStack.resolve"></a>
|
|
836
|
+
|
|
837
|
+
```typescript
|
|
838
|
+
public resolve(obj: any): any
|
|
839
|
+
```
|
|
840
|
+
|
|
841
|
+
Resolve a tokenized value in the context of the current stack.
|
|
842
|
+
|
|
843
|
+
###### `obj`<sup>Required</sup> <a name="obj" id="@alma-cdk/project.SmartStack.resolve.parameter.obj"></a>
|
|
844
|
+
|
|
845
|
+
- *Type:* any
|
|
846
|
+
|
|
847
|
+
---
|
|
848
|
+
|
|
849
|
+
##### `splitArn` <a name="splitArn" id="@alma-cdk/project.SmartStack.splitArn"></a>
|
|
850
|
+
|
|
851
|
+
```typescript
|
|
852
|
+
public splitArn(arn: string, arnFormat: ArnFormat): ArnComponents
|
|
853
|
+
```
|
|
854
|
+
|
|
855
|
+
Splits the provided ARN into its components.
|
|
856
|
+
|
|
857
|
+
Works both if 'arn' is a string like 'arn:aws:s3:::bucket',
|
|
858
|
+
and a Token representing a dynamic CloudFormation expression
|
|
859
|
+
(in which case the returned components will also be dynamic CloudFormation expressions,
|
|
860
|
+
encoded as Tokens).
|
|
861
|
+
|
|
862
|
+
###### `arn`<sup>Required</sup> <a name="arn" id="@alma-cdk/project.SmartStack.splitArn.parameter.arn"></a>
|
|
863
|
+
|
|
864
|
+
- *Type:* string
|
|
865
|
+
|
|
866
|
+
the ARN to split into its components.
|
|
867
|
+
|
|
868
|
+
---
|
|
869
|
+
|
|
870
|
+
###### `arnFormat`<sup>Required</sup> <a name="arnFormat" id="@alma-cdk/project.SmartStack.splitArn.parameter.arnFormat"></a>
|
|
871
|
+
|
|
872
|
+
- *Type:* aws-cdk-lib.ArnFormat
|
|
873
|
+
|
|
874
|
+
the expected format of 'arn' - depends on what format the service 'arn' represents uses.
|
|
875
|
+
|
|
876
|
+
---
|
|
877
|
+
|
|
878
|
+
##### `toJsonString` <a name="toJsonString" id="@alma-cdk/project.SmartStack.toJsonString"></a>
|
|
879
|
+
|
|
880
|
+
```typescript
|
|
881
|
+
public toJsonString(obj: any, space?: number): string
|
|
882
|
+
```
|
|
883
|
+
|
|
884
|
+
Convert an object, potentially containing tokens, to a JSON string.
|
|
885
|
+
|
|
886
|
+
###### `obj`<sup>Required</sup> <a name="obj" id="@alma-cdk/project.SmartStack.toJsonString.parameter.obj"></a>
|
|
887
|
+
|
|
888
|
+
- *Type:* any
|
|
889
|
+
|
|
890
|
+
---
|
|
891
|
+
|
|
892
|
+
###### `space`<sup>Optional</sup> <a name="space" id="@alma-cdk/project.SmartStack.toJsonString.parameter.space"></a>
|
|
893
|
+
|
|
894
|
+
- *Type:* number
|
|
895
|
+
|
|
896
|
+
---
|
|
897
|
+
|
|
898
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
899
|
+
|
|
900
|
+
| **Name** | **Description** |
|
|
901
|
+
| --- | --- |
|
|
902
|
+
| <code><a href="#@alma-cdk/project.SmartStack.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
|
|
903
|
+
| <code><a href="#@alma-cdk/project.SmartStack.isStack">isStack</a></code> | Return whether the given object is a Stack. |
|
|
904
|
+
| <code><a href="#@alma-cdk/project.SmartStack.of">of</a></code> | Looks up the first stack scope in which `construct` is defined. |
|
|
905
|
+
|
|
906
|
+
---
|
|
907
|
+
|
|
908
|
+
##### ~~`isConstruct`~~ <a name="isConstruct" id="@alma-cdk/project.SmartStack.isConstruct"></a>
|
|
909
|
+
|
|
910
|
+
```typescript
|
|
911
|
+
import { SmartStack } from '@alma-cdk/project'
|
|
912
|
+
|
|
913
|
+
SmartStack.isConstruct(x: any)
|
|
914
|
+
```
|
|
915
|
+
|
|
916
|
+
Checks if `x` is a construct.
|
|
917
|
+
|
|
918
|
+
###### `x`<sup>Required</sup> <a name="x" id="@alma-cdk/project.SmartStack.isConstruct.parameter.x"></a>
|
|
919
|
+
|
|
920
|
+
- *Type:* any
|
|
921
|
+
|
|
922
|
+
Any object.
|
|
923
|
+
|
|
924
|
+
---
|
|
925
|
+
|
|
926
|
+
##### `isStack` <a name="isStack" id="@alma-cdk/project.SmartStack.isStack"></a>
|
|
927
|
+
|
|
928
|
+
```typescript
|
|
929
|
+
import { SmartStack } from '@alma-cdk/project'
|
|
930
|
+
|
|
931
|
+
SmartStack.isStack(x: any)
|
|
932
|
+
```
|
|
933
|
+
|
|
934
|
+
Return whether the given object is a Stack.
|
|
935
|
+
|
|
936
|
+
We do attribute detection since we can't reliably use 'instanceof'.
|
|
937
|
+
|
|
938
|
+
###### `x`<sup>Required</sup> <a name="x" id="@alma-cdk/project.SmartStack.isStack.parameter.x"></a>
|
|
939
|
+
|
|
940
|
+
- *Type:* any
|
|
941
|
+
|
|
942
|
+
---
|
|
943
|
+
|
|
944
|
+
##### `of` <a name="of" id="@alma-cdk/project.SmartStack.of"></a>
|
|
945
|
+
|
|
946
|
+
```typescript
|
|
947
|
+
import { SmartStack } from '@alma-cdk/project'
|
|
948
|
+
|
|
949
|
+
SmartStack.of(construct: IConstruct)
|
|
950
|
+
```
|
|
951
|
+
|
|
952
|
+
Looks up the first stack scope in which `construct` is defined.
|
|
953
|
+
|
|
954
|
+
Fails if there is no stack up the tree.
|
|
955
|
+
|
|
956
|
+
###### `construct`<sup>Required</sup> <a name="construct" id="@alma-cdk/project.SmartStack.of.parameter.construct"></a>
|
|
957
|
+
|
|
958
|
+
- *Type:* constructs.IConstruct
|
|
959
|
+
|
|
960
|
+
The construct to start the search from.
|
|
961
|
+
|
|
962
|
+
---
|
|
963
|
+
|
|
964
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
965
|
+
|
|
966
|
+
| **Name** | **Type** | **Description** |
|
|
967
|
+
| --- | --- | --- |
|
|
968
|
+
| <code><a href="#@alma-cdk/project.SmartStack.property.node">node</a></code> | <code>constructs.Node</code> | The tree node. |
|
|
969
|
+
| <code><a href="#@alma-cdk/project.SmartStack.property.account">account</a></code> | <code>string</code> | The AWS account into which this stack will be deployed. |
|
|
970
|
+
| <code><a href="#@alma-cdk/project.SmartStack.property.artifactId">artifactId</a></code> | <code>string</code> | The ID of the cloud assembly artifact for this stack. |
|
|
971
|
+
| <code><a href="#@alma-cdk/project.SmartStack.property.availabilityZones">availabilityZones</a></code> | <code>string[]</code> | Returns the list of AZs that are available in the AWS environment (account/region) associated with this stack. |
|
|
972
|
+
| <code><a href="#@alma-cdk/project.SmartStack.property.bundlingRequired">bundlingRequired</a></code> | <code>boolean</code> | Indicates whether the stack requires bundling or not. |
|
|
973
|
+
| <code><a href="#@alma-cdk/project.SmartStack.property.dependencies">dependencies</a></code> | <code>aws-cdk-lib.Stack[]</code> | Return the stacks this stack depends on. |
|
|
974
|
+
| <code><a href="#@alma-cdk/project.SmartStack.property.environment">environment</a></code> | <code>string</code> | The environment coordinates in which this stack is deployed. |
|
|
975
|
+
| <code><a href="#@alma-cdk/project.SmartStack.property.nested">nested</a></code> | <code>boolean</code> | Indicates if this is a nested stack, in which case `parentStack` will include a reference to it's parent. |
|
|
976
|
+
| <code><a href="#@alma-cdk/project.SmartStack.property.notificationArns">notificationArns</a></code> | <code>string[]</code> | Returns the list of notification Amazon Resource Names (ARNs) for the current stack. |
|
|
977
|
+
| <code><a href="#@alma-cdk/project.SmartStack.property.partition">partition</a></code> | <code>string</code> | The partition in which this stack is defined. |
|
|
978
|
+
| <code><a href="#@alma-cdk/project.SmartStack.property.region">region</a></code> | <code>string</code> | The AWS region into which this stack will be deployed (e.g. `us-west-2`). |
|
|
979
|
+
| <code><a href="#@alma-cdk/project.SmartStack.property.stackId">stackId</a></code> | <code>string</code> | The ID of the stack. |
|
|
980
|
+
| <code><a href="#@alma-cdk/project.SmartStack.property.stackName">stackName</a></code> | <code>string</code> | The concrete CloudFormation physical stack name. |
|
|
981
|
+
| <code><a href="#@alma-cdk/project.SmartStack.property.synthesizer">synthesizer</a></code> | <code>aws-cdk-lib.IStackSynthesizer</code> | Synthesis method for this stack. |
|
|
982
|
+
| <code><a href="#@alma-cdk/project.SmartStack.property.tags">tags</a></code> | <code>aws-cdk-lib.TagManager</code> | Tags to be applied to the stack. |
|
|
983
|
+
| <code><a href="#@alma-cdk/project.SmartStack.property.templateFile">templateFile</a></code> | <code>string</code> | The name of the CloudFormation template file emitted to the output directory during synthesis. |
|
|
984
|
+
| <code><a href="#@alma-cdk/project.SmartStack.property.templateOptions">templateOptions</a></code> | <code>aws-cdk-lib.ITemplateOptions</code> | Options for CloudFormation template (like version, transform, description). |
|
|
985
|
+
| <code><a href="#@alma-cdk/project.SmartStack.property.urlSuffix">urlSuffix</a></code> | <code>string</code> | The Amazon domain suffix for the region in which this stack is defined. |
|
|
986
|
+
| <code><a href="#@alma-cdk/project.SmartStack.property.nestedStackParent">nestedStackParent</a></code> | <code>aws-cdk-lib.Stack</code> | If this is a nested stack, returns it's parent stack. |
|
|
987
|
+
| <code><a href="#@alma-cdk/project.SmartStack.property.nestedStackResource">nestedStackResource</a></code> | <code>aws-cdk-lib.CfnResource</code> | If this is a nested stack, this represents its `AWS::CloudFormation::Stack` resource. |
|
|
988
|
+
| <code><a href="#@alma-cdk/project.SmartStack.property.terminationProtection">terminationProtection</a></code> | <code>boolean</code> | Whether termination protection is enabled for this stack. |
|
|
989
|
+
|
|
990
|
+
---
|
|
991
|
+
|
|
992
|
+
##### `node`<sup>Required</sup> <a name="node" id="@alma-cdk/project.SmartStack.property.node"></a>
|
|
993
|
+
|
|
994
|
+
```typescript
|
|
995
|
+
public readonly node: Node;
|
|
996
|
+
```
|
|
997
|
+
|
|
998
|
+
- *Type:* constructs.Node
|
|
999
|
+
|
|
1000
|
+
The tree node.
|
|
1001
|
+
|
|
1002
|
+
---
|
|
1003
|
+
|
|
1004
|
+
##### `account`<sup>Required</sup> <a name="account" id="@alma-cdk/project.SmartStack.property.account"></a>
|
|
1005
|
+
|
|
1006
|
+
```typescript
|
|
1007
|
+
public readonly account: string;
|
|
1008
|
+
```
|
|
1009
|
+
|
|
1010
|
+
- *Type:* string
|
|
1011
|
+
|
|
1012
|
+
The AWS account into which this stack will be deployed.
|
|
1013
|
+
|
|
1014
|
+
This value is resolved according to the following rules:
|
|
1015
|
+
|
|
1016
|
+
1. The value provided to `env.account` when the stack is defined. This can
|
|
1017
|
+
either be a concerete account (e.g. `585695031111`) or the
|
|
1018
|
+
`Aws.accountId` token.
|
|
1019
|
+
3. `Aws.accountId`, which represents the CloudFormation intrinsic reference
|
|
1020
|
+
`{ "Ref": "AWS::AccountId" }` encoded as a string token.
|
|
1021
|
+
|
|
1022
|
+
Preferably, you should use the return value as an opaque string and not
|
|
1023
|
+
attempt to parse it to implement your logic. If you do, you must first
|
|
1024
|
+
check that it is a concerete value an not an unresolved token. If this
|
|
1025
|
+
value is an unresolved token (`Token.isUnresolved(stack.account)` returns
|
|
1026
|
+
`true`), this implies that the user wishes that this stack will synthesize
|
|
1027
|
+
into a **account-agnostic template**. In this case, your code should either
|
|
1028
|
+
fail (throw an error, emit a synth error using `Annotations.of(construct).addError()`) or
|
|
1029
|
+
implement some other region-agnostic behavior.
|
|
1030
|
+
|
|
1031
|
+
---
|
|
1032
|
+
|
|
1033
|
+
##### `artifactId`<sup>Required</sup> <a name="artifactId" id="@alma-cdk/project.SmartStack.property.artifactId"></a>
|
|
1034
|
+
|
|
1035
|
+
```typescript
|
|
1036
|
+
public readonly artifactId: string;
|
|
1037
|
+
```
|
|
1038
|
+
|
|
1039
|
+
- *Type:* string
|
|
1040
|
+
|
|
1041
|
+
The ID of the cloud assembly artifact for this stack.
|
|
1042
|
+
|
|
1043
|
+
---
|
|
1044
|
+
|
|
1045
|
+
##### `availabilityZones`<sup>Required</sup> <a name="availabilityZones" id="@alma-cdk/project.SmartStack.property.availabilityZones"></a>
|
|
1046
|
+
|
|
1047
|
+
```typescript
|
|
1048
|
+
public readonly availabilityZones: string[];
|
|
1049
|
+
```
|
|
1050
|
+
|
|
1051
|
+
- *Type:* string[]
|
|
1052
|
+
|
|
1053
|
+
Returns the list of AZs that are available in the AWS environment (account/region) associated with this stack.
|
|
1054
|
+
|
|
1055
|
+
If the stack is environment-agnostic (either account and/or region are
|
|
1056
|
+
tokens), this property will return an array with 2 tokens that will resolve
|
|
1057
|
+
at deploy-time to the first two availability zones returned from CloudFormation's
|
|
1058
|
+
`Fn::GetAZs` intrinsic function.
|
|
1059
|
+
|
|
1060
|
+
If they are not available in the context, returns a set of dummy values and
|
|
1061
|
+
reports them as missing, and let the CLI resolve them by calling EC2
|
|
1062
|
+
`DescribeAvailabilityZones` on the target environment.
|
|
1063
|
+
|
|
1064
|
+
To specify a different strategy for selecting availability zones override this method.
|
|
1065
|
+
|
|
1066
|
+
---
|
|
1067
|
+
|
|
1068
|
+
##### `bundlingRequired`<sup>Required</sup> <a name="bundlingRequired" id="@alma-cdk/project.SmartStack.property.bundlingRequired"></a>
|
|
1069
|
+
|
|
1070
|
+
```typescript
|
|
1071
|
+
public readonly bundlingRequired: boolean;
|
|
1072
|
+
```
|
|
1073
|
+
|
|
1074
|
+
- *Type:* boolean
|
|
1075
|
+
|
|
1076
|
+
Indicates whether the stack requires bundling or not.
|
|
1077
|
+
|
|
1078
|
+
---
|
|
1079
|
+
|
|
1080
|
+
##### `dependencies`<sup>Required</sup> <a name="dependencies" id="@alma-cdk/project.SmartStack.property.dependencies"></a>
|
|
1081
|
+
|
|
1082
|
+
```typescript
|
|
1083
|
+
public readonly dependencies: Stack[];
|
|
1084
|
+
```
|
|
1085
|
+
|
|
1086
|
+
- *Type:* aws-cdk-lib.Stack[]
|
|
1087
|
+
|
|
1088
|
+
Return the stacks this stack depends on.
|
|
1089
|
+
|
|
1090
|
+
---
|
|
1091
|
+
|
|
1092
|
+
##### `environment`<sup>Required</sup> <a name="environment" id="@alma-cdk/project.SmartStack.property.environment"></a>
|
|
1093
|
+
|
|
1094
|
+
```typescript
|
|
1095
|
+
public readonly environment: string;
|
|
1096
|
+
```
|
|
1097
|
+
|
|
1098
|
+
- *Type:* string
|
|
1099
|
+
|
|
1100
|
+
The environment coordinates in which this stack is deployed.
|
|
1101
|
+
|
|
1102
|
+
In the form
|
|
1103
|
+
`aws://account/region`. Use `stack.account` and `stack.region` to obtain
|
|
1104
|
+
the specific values, no need to parse.
|
|
1105
|
+
|
|
1106
|
+
You can use this value to determine if two stacks are targeting the same
|
|
1107
|
+
environment.
|
|
1108
|
+
|
|
1109
|
+
If either `stack.account` or `stack.region` are not concrete values (e.g.
|
|
1110
|
+
`Aws.account` or `Aws.region`) the special strings `unknown-account` and/or
|
|
1111
|
+
`unknown-region` will be used respectively to indicate this stack is
|
|
1112
|
+
region/account-agnostic.
|
|
1113
|
+
|
|
1114
|
+
---
|
|
1115
|
+
|
|
1116
|
+
##### `nested`<sup>Required</sup> <a name="nested" id="@alma-cdk/project.SmartStack.property.nested"></a>
|
|
1117
|
+
|
|
1118
|
+
```typescript
|
|
1119
|
+
public readonly nested: boolean;
|
|
1120
|
+
```
|
|
1121
|
+
|
|
1122
|
+
- *Type:* boolean
|
|
1123
|
+
|
|
1124
|
+
Indicates if this is a nested stack, in which case `parentStack` will include a reference to it's parent.
|
|
1125
|
+
|
|
1126
|
+
---
|
|
1127
|
+
|
|
1128
|
+
##### `notificationArns`<sup>Required</sup> <a name="notificationArns" id="@alma-cdk/project.SmartStack.property.notificationArns"></a>
|
|
1129
|
+
|
|
1130
|
+
```typescript
|
|
1131
|
+
public readonly notificationArns: string[];
|
|
1132
|
+
```
|
|
1133
|
+
|
|
1134
|
+
- *Type:* string[]
|
|
1135
|
+
|
|
1136
|
+
Returns the list of notification Amazon Resource Names (ARNs) for the current stack.
|
|
1137
|
+
|
|
1138
|
+
---
|
|
1139
|
+
|
|
1140
|
+
##### `partition`<sup>Required</sup> <a name="partition" id="@alma-cdk/project.SmartStack.property.partition"></a>
|
|
1141
|
+
|
|
1142
|
+
```typescript
|
|
1143
|
+
public readonly partition: string;
|
|
1144
|
+
```
|
|
1145
|
+
|
|
1146
|
+
- *Type:* string
|
|
1147
|
+
|
|
1148
|
+
The partition in which this stack is defined.
|
|
1149
|
+
|
|
1150
|
+
---
|
|
1151
|
+
|
|
1152
|
+
##### `region`<sup>Required</sup> <a name="region" id="@alma-cdk/project.SmartStack.property.region"></a>
|
|
1153
|
+
|
|
1154
|
+
```typescript
|
|
1155
|
+
public readonly region: string;
|
|
1156
|
+
```
|
|
1157
|
+
|
|
1158
|
+
- *Type:* string
|
|
1159
|
+
|
|
1160
|
+
The AWS region into which this stack will be deployed (e.g. `us-west-2`).
|
|
1161
|
+
|
|
1162
|
+
This value is resolved according to the following rules:
|
|
1163
|
+
|
|
1164
|
+
1. The value provided to `env.region` when the stack is defined. This can
|
|
1165
|
+
either be a concerete region (e.g. `us-west-2`) or the `Aws.region`
|
|
1166
|
+
token.
|
|
1167
|
+
3. `Aws.region`, which is represents the CloudFormation intrinsic reference
|
|
1168
|
+
`{ "Ref": "AWS::Region" }` encoded as a string token.
|
|
1169
|
+
|
|
1170
|
+
Preferably, you should use the return value as an opaque string and not
|
|
1171
|
+
attempt to parse it to implement your logic. If you do, you must first
|
|
1172
|
+
check that it is a concerete value an not an unresolved token. If this
|
|
1173
|
+
value is an unresolved token (`Token.isUnresolved(stack.region)` returns
|
|
1174
|
+
`true`), this implies that the user wishes that this stack will synthesize
|
|
1175
|
+
into a **region-agnostic template**. In this case, your code should either
|
|
1176
|
+
fail (throw an error, emit a synth error using `Annotations.of(construct).addError()`) or
|
|
1177
|
+
implement some other region-agnostic behavior.
|
|
1178
|
+
|
|
1179
|
+
---
|
|
1180
|
+
|
|
1181
|
+
##### `stackId`<sup>Required</sup> <a name="stackId" id="@alma-cdk/project.SmartStack.property.stackId"></a>
|
|
1182
|
+
|
|
1183
|
+
```typescript
|
|
1184
|
+
public readonly stackId: string;
|
|
1185
|
+
```
|
|
1186
|
+
|
|
1187
|
+
- *Type:* string
|
|
1188
|
+
|
|
1189
|
+
The ID of the stack.
|
|
1190
|
+
|
|
1191
|
+
---
|
|
1192
|
+
|
|
1193
|
+
*Example*
|
|
1194
|
+
|
|
1195
|
+
```typescript
|
|
1196
|
+
// After resolving, looks like
|
|
1197
|
+
'arn:aws:cloudformation:us-west-2:123456789012:stack/teststack/51af3dc0-da77-11e4-872e-1234567db123'
|
|
1198
|
+
```
|
|
1199
|
+
|
|
1200
|
+
|
|
1201
|
+
##### `stackName`<sup>Required</sup> <a name="stackName" id="@alma-cdk/project.SmartStack.property.stackName"></a>
|
|
1202
|
+
|
|
1203
|
+
```typescript
|
|
1204
|
+
public readonly stackName: string;
|
|
1205
|
+
```
|
|
1206
|
+
|
|
1207
|
+
- *Type:* string
|
|
1208
|
+
|
|
1209
|
+
The concrete CloudFormation physical stack name.
|
|
1210
|
+
|
|
1211
|
+
This is either the name defined explicitly in the `stackName` prop or
|
|
1212
|
+
allocated based on the stack's location in the construct tree. Stacks that
|
|
1213
|
+
are directly defined under the app use their construct `id` as their stack
|
|
1214
|
+
name. Stacks that are defined deeper within the tree will use a hashed naming
|
|
1215
|
+
scheme based on the construct path to ensure uniqueness.
|
|
1216
|
+
|
|
1217
|
+
If you wish to obtain the deploy-time AWS::StackName intrinsic,
|
|
1218
|
+
you can use `Aws.stackName` directly.
|
|
1219
|
+
|
|
1220
|
+
---
|
|
1221
|
+
|
|
1222
|
+
##### `synthesizer`<sup>Required</sup> <a name="synthesizer" id="@alma-cdk/project.SmartStack.property.synthesizer"></a>
|
|
1223
|
+
|
|
1224
|
+
```typescript
|
|
1225
|
+
public readonly synthesizer: IStackSynthesizer;
|
|
1226
|
+
```
|
|
1227
|
+
|
|
1228
|
+
- *Type:* aws-cdk-lib.IStackSynthesizer
|
|
1229
|
+
|
|
1230
|
+
Synthesis method for this stack.
|
|
1231
|
+
|
|
1232
|
+
---
|
|
1233
|
+
|
|
1234
|
+
##### `tags`<sup>Required</sup> <a name="tags" id="@alma-cdk/project.SmartStack.property.tags"></a>
|
|
1235
|
+
|
|
1236
|
+
```typescript
|
|
1237
|
+
public readonly tags: TagManager;
|
|
1238
|
+
```
|
|
1239
|
+
|
|
1240
|
+
- *Type:* aws-cdk-lib.TagManager
|
|
1241
|
+
|
|
1242
|
+
Tags to be applied to the stack.
|
|
1243
|
+
|
|
1244
|
+
---
|
|
1245
|
+
|
|
1246
|
+
##### `templateFile`<sup>Required</sup> <a name="templateFile" id="@alma-cdk/project.SmartStack.property.templateFile"></a>
|
|
1247
|
+
|
|
1248
|
+
```typescript
|
|
1249
|
+
public readonly templateFile: string;
|
|
1250
|
+
```
|
|
1251
|
+
|
|
1252
|
+
- *Type:* string
|
|
1253
|
+
|
|
1254
|
+
The name of the CloudFormation template file emitted to the output directory during synthesis.
|
|
1255
|
+
|
|
1256
|
+
Example value: `MyStack.template.json`
|
|
1257
|
+
|
|
1258
|
+
---
|
|
1259
|
+
|
|
1260
|
+
##### `templateOptions`<sup>Required</sup> <a name="templateOptions" id="@alma-cdk/project.SmartStack.property.templateOptions"></a>
|
|
1261
|
+
|
|
1262
|
+
```typescript
|
|
1263
|
+
public readonly templateOptions: ITemplateOptions;
|
|
1264
|
+
```
|
|
1265
|
+
|
|
1266
|
+
- *Type:* aws-cdk-lib.ITemplateOptions
|
|
1267
|
+
|
|
1268
|
+
Options for CloudFormation template (like version, transform, description).
|
|
1269
|
+
|
|
1270
|
+
---
|
|
1271
|
+
|
|
1272
|
+
##### `urlSuffix`<sup>Required</sup> <a name="urlSuffix" id="@alma-cdk/project.SmartStack.property.urlSuffix"></a>
|
|
1273
|
+
|
|
1274
|
+
```typescript
|
|
1275
|
+
public readonly urlSuffix: string;
|
|
1276
|
+
```
|
|
1277
|
+
|
|
1278
|
+
- *Type:* string
|
|
1279
|
+
|
|
1280
|
+
The Amazon domain suffix for the region in which this stack is defined.
|
|
1281
|
+
|
|
1282
|
+
---
|
|
1283
|
+
|
|
1284
|
+
##### `nestedStackParent`<sup>Optional</sup> <a name="nestedStackParent" id="@alma-cdk/project.SmartStack.property.nestedStackParent"></a>
|
|
1285
|
+
|
|
1286
|
+
```typescript
|
|
1287
|
+
public readonly nestedStackParent: Stack;
|
|
1288
|
+
```
|
|
1289
|
+
|
|
1290
|
+
- *Type:* aws-cdk-lib.Stack
|
|
1291
|
+
|
|
1292
|
+
If this is a nested stack, returns it's parent stack.
|
|
1293
|
+
|
|
1294
|
+
---
|
|
1295
|
+
|
|
1296
|
+
##### `nestedStackResource`<sup>Optional</sup> <a name="nestedStackResource" id="@alma-cdk/project.SmartStack.property.nestedStackResource"></a>
|
|
1297
|
+
|
|
1298
|
+
```typescript
|
|
1299
|
+
public readonly nestedStackResource: CfnResource;
|
|
1300
|
+
```
|
|
1301
|
+
|
|
1302
|
+
- *Type:* aws-cdk-lib.CfnResource
|
|
1303
|
+
|
|
1304
|
+
If this is a nested stack, this represents its `AWS::CloudFormation::Stack` resource.
|
|
1305
|
+
|
|
1306
|
+
`undefined` for top-level (non-nested) stacks.
|
|
1307
|
+
|
|
1308
|
+
---
|
|
1309
|
+
|
|
1310
|
+
##### `terminationProtection`<sup>Optional</sup> <a name="terminationProtection" id="@alma-cdk/project.SmartStack.property.terminationProtection"></a>
|
|
1311
|
+
|
|
1312
|
+
```typescript
|
|
1313
|
+
public readonly terminationProtection: boolean;
|
|
1314
|
+
```
|
|
1315
|
+
|
|
1316
|
+
- *Type:* boolean
|
|
1317
|
+
|
|
1318
|
+
Whether termination protection is enabled for this stack.
|
|
1319
|
+
|
|
1320
|
+
---
|
|
1321
|
+
|
|
1322
|
+
|
|
1323
|
+
## Structs <a name="Structs" id="Structs"></a>
|
|
1324
|
+
|
|
1325
|
+
### Account <a name="Account" id="@alma-cdk/project.Account"></a>
|
|
1326
|
+
|
|
1327
|
+
AWS account configuration.
|
|
1328
|
+
|
|
1329
|
+
#### Initializer <a name="Initializer" id="@alma-cdk/project.Account.Initializer"></a>
|
|
1330
|
+
|
|
1331
|
+
```typescript
|
|
1332
|
+
import { Account } from '@alma-cdk/project'
|
|
1333
|
+
|
|
1334
|
+
const account: Account = { ... }
|
|
1335
|
+
```
|
|
1336
|
+
|
|
1337
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
1338
|
+
|
|
1339
|
+
| **Name** | **Type** | **Description** |
|
|
1340
|
+
| --- | --- | --- |
|
|
1341
|
+
| <code><a href="#@alma-cdk/project.Account.property.id">id</a></code> | <code>string</code> | AWS Account ID. |
|
|
1342
|
+
| <code><a href="#@alma-cdk/project.Account.property.config">config</a></code> | <code>{[ key: string ]: any}</code> | AWS account specific configuration. |
|
|
1343
|
+
| <code><a href="#@alma-cdk/project.Account.property.environments">environments</a></code> | <code>string[]</code> | List of accepted environments for the given account. |
|
|
1344
|
+
|
|
1345
|
+
---
|
|
1346
|
+
|
|
1347
|
+
##### `id`<sup>Required</sup> <a name="id" id="@alma-cdk/project.Account.property.id"></a>
|
|
1348
|
+
|
|
1349
|
+
```typescript
|
|
1350
|
+
public readonly id: string;
|
|
1351
|
+
```
|
|
1352
|
+
|
|
1353
|
+
- *Type:* string
|
|
1354
|
+
|
|
1355
|
+
AWS Account ID.
|
|
1356
|
+
|
|
1357
|
+
---
|
|
1358
|
+
|
|
1359
|
+
*Example*
|
|
1360
|
+
|
|
1361
|
+
```typescript
|
|
1362
|
+
'123456789012'
|
|
1363
|
+
```
|
|
1364
|
+
|
|
1365
|
+
|
|
1366
|
+
##### `config`<sup>Optional</sup> <a name="config" id="@alma-cdk/project.Account.property.config"></a>
|
|
1367
|
+
|
|
1368
|
+
```typescript
|
|
1369
|
+
public readonly config: {[ key: string ]: any};
|
|
1370
|
+
```
|
|
1371
|
+
|
|
1372
|
+
- *Type:* {[ key: string ]: any}
|
|
1373
|
+
|
|
1374
|
+
AWS account specific configuration.
|
|
1375
|
+
|
|
1376
|
+
For example VPC IDs (for existing VPCs), Direct Connect Gateway IDs, apex domain names (for Route53 Zone lookups), etc. Basically configuration for resources that are defined outside of this CDK application.
|
|
1377
|
+
|
|
1378
|
+
---
|
|
1379
|
+
|
|
1380
|
+
*Example*
|
|
1381
|
+
|
|
1382
|
+
```typescript
|
|
1383
|
+
{
|
|
1384
|
+
dev: {
|
|
1385
|
+
id: '111111111111',
|
|
1386
|
+
config: {
|
|
1387
|
+
baseDomain: 'example.net',
|
|
1388
|
+
},
|
|
1389
|
+
},
|
|
1390
|
+
prod: {
|
|
1391
|
+
id: '222222222222',
|
|
1392
|
+
config: {
|
|
1393
|
+
baseDomain: 'example.com',
|
|
1394
|
+
},
|
|
1395
|
+
},
|
|
1396
|
+
},
|
|
1397
|
+
```
|
|
1398
|
+
|
|
1399
|
+
|
|
1400
|
+
##### `environments`<sup>Optional</sup> <a name="environments" id="@alma-cdk/project.Account.property.environments"></a>
|
|
1401
|
+
|
|
1402
|
+
```typescript
|
|
1403
|
+
public readonly environments: string[];
|
|
1404
|
+
```
|
|
1405
|
+
|
|
1406
|
+
- *Type:* string[]
|
|
1407
|
+
|
|
1408
|
+
List of accepted environments for the given account.
|
|
1409
|
+
|
|
1410
|
+
List of strings or strings representing regexp initialization (passed onto `new Regexp("^"+environment+"$", "i")`).
|
|
1411
|
+
|
|
1412
|
+
---
|
|
1413
|
+
|
|
1414
|
+
*Example*
|
|
1415
|
+
|
|
1416
|
+
```typescript
|
|
1417
|
+
["development", "feature/.*"]
|
|
1418
|
+
```
|
|
1419
|
+
|
|
1420
|
+
|
|
1421
|
+
### AccountConfiguration <a name="AccountConfiguration" id="@alma-cdk/project.AccountConfiguration"></a>
|
|
1422
|
+
|
|
1423
|
+
#### Initializer <a name="Initializer" id="@alma-cdk/project.AccountConfiguration.Initializer"></a>
|
|
1424
|
+
|
|
1425
|
+
```typescript
|
|
1426
|
+
import { AccountConfiguration } from '@alma-cdk/project'
|
|
1427
|
+
|
|
1428
|
+
const accountConfiguration: AccountConfiguration = { ... }
|
|
1429
|
+
```
|
|
1430
|
+
|
|
1431
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
1432
|
+
|
|
1433
|
+
| **Name** | **Type** | **Description** |
|
|
1434
|
+
| --- | --- | --- |
|
|
1435
|
+
| <code><a href="#@alma-cdk/project.AccountConfiguration.property.id">id</a></code> | <code>string</code> | *No description.* |
|
|
1436
|
+
| <code><a href="#@alma-cdk/project.AccountConfiguration.property.config">config</a></code> | <code>{[ key: string ]: any}</code> | *No description.* |
|
|
1437
|
+
|
|
1438
|
+
---
|
|
1439
|
+
|
|
1440
|
+
##### `id`<sup>Required</sup> <a name="id" id="@alma-cdk/project.AccountConfiguration.property.id"></a>
|
|
1441
|
+
|
|
1442
|
+
```typescript
|
|
1443
|
+
public readonly id: string;
|
|
1444
|
+
```
|
|
1445
|
+
|
|
1446
|
+
- *Type:* string
|
|
1447
|
+
|
|
1448
|
+
---
|
|
1449
|
+
|
|
1450
|
+
##### `config`<sup>Optional</sup> <a name="config" id="@alma-cdk/project.AccountConfiguration.property.config"></a>
|
|
1451
|
+
|
|
1452
|
+
```typescript
|
|
1453
|
+
public readonly config: {[ key: string ]: any};
|
|
1454
|
+
```
|
|
1455
|
+
|
|
1456
|
+
- *Type:* {[ key: string ]: any}
|
|
1457
|
+
|
|
1458
|
+
---
|
|
1459
|
+
|
|
1460
|
+
### AccountsOneProps <a name="AccountsOneProps" id="@alma-cdk/project.AccountsOneProps"></a>
|
|
1461
|
+
|
|
1462
|
+
#### Initializer <a name="Initializer" id="@alma-cdk/project.AccountsOneProps.Initializer"></a>
|
|
1463
|
+
|
|
1464
|
+
```typescript
|
|
1465
|
+
import { AccountsOneProps } from '@alma-cdk/project'
|
|
1466
|
+
|
|
1467
|
+
const accountsOneProps: AccountsOneProps = { ... }
|
|
1468
|
+
```
|
|
1469
|
+
|
|
1470
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
1471
|
+
|
|
1472
|
+
| **Name** | **Type** | **Description** |
|
|
1473
|
+
| --- | --- | --- |
|
|
1474
|
+
| <code><a href="#@alma-cdk/project.AccountsOneProps.property.shared">shared</a></code> | <code><a href="#@alma-cdk/project.AccountConfiguration">AccountConfiguration</a></code> | *No description.* |
|
|
1475
|
+
| <code><a href="#@alma-cdk/project.AccountsOneProps.property.mock">mock</a></code> | <code><a href="#@alma-cdk/project.AccountConfiguration">AccountConfiguration</a></code> | *No description.* |
|
|
1476
|
+
|
|
1477
|
+
---
|
|
1478
|
+
|
|
1479
|
+
##### `shared`<sup>Required</sup> <a name="shared" id="@alma-cdk/project.AccountsOneProps.property.shared"></a>
|
|
1480
|
+
|
|
1481
|
+
```typescript
|
|
1482
|
+
public readonly shared: AccountConfiguration;
|
|
1483
|
+
```
|
|
1484
|
+
|
|
1485
|
+
- *Type:* <a href="#@alma-cdk/project.AccountConfiguration">AccountConfiguration</a>
|
|
1486
|
+
|
|
1487
|
+
---
|
|
1488
|
+
|
|
1489
|
+
##### `mock`<sup>Optional</sup> <a name="mock" id="@alma-cdk/project.AccountsOneProps.property.mock"></a>
|
|
1490
|
+
|
|
1491
|
+
```typescript
|
|
1492
|
+
public readonly mock: AccountConfiguration;
|
|
1493
|
+
```
|
|
1494
|
+
|
|
1495
|
+
- *Type:* <a href="#@alma-cdk/project.AccountConfiguration">AccountConfiguration</a>
|
|
1496
|
+
|
|
1497
|
+
---
|
|
1498
|
+
|
|
1499
|
+
### AccountsThreeProps <a name="AccountsThreeProps" id="@alma-cdk/project.AccountsThreeProps"></a>
|
|
1500
|
+
|
|
1501
|
+
#### Initializer <a name="Initializer" id="@alma-cdk/project.AccountsThreeProps.Initializer"></a>
|
|
1502
|
+
|
|
1503
|
+
```typescript
|
|
1504
|
+
import { AccountsThreeProps } from '@alma-cdk/project'
|
|
1505
|
+
|
|
1506
|
+
const accountsThreeProps: AccountsThreeProps = { ... }
|
|
1507
|
+
```
|
|
1508
|
+
|
|
1509
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
1510
|
+
|
|
1511
|
+
| **Name** | **Type** | **Description** |
|
|
1512
|
+
| --- | --- | --- |
|
|
1513
|
+
| <code><a href="#@alma-cdk/project.AccountsThreeProps.property.dev">dev</a></code> | <code><a href="#@alma-cdk/project.AccountConfiguration">AccountConfiguration</a></code> | *No description.* |
|
|
1514
|
+
| <code><a href="#@alma-cdk/project.AccountsThreeProps.property.preprod">preprod</a></code> | <code><a href="#@alma-cdk/project.AccountConfiguration">AccountConfiguration</a></code> | *No description.* |
|
|
1515
|
+
| <code><a href="#@alma-cdk/project.AccountsThreeProps.property.prod">prod</a></code> | <code><a href="#@alma-cdk/project.AccountConfiguration">AccountConfiguration</a></code> | *No description.* |
|
|
1516
|
+
| <code><a href="#@alma-cdk/project.AccountsThreeProps.property.mock">mock</a></code> | <code><a href="#@alma-cdk/project.AccountConfiguration">AccountConfiguration</a></code> | *No description.* |
|
|
1517
|
+
|
|
1518
|
+
---
|
|
1519
|
+
|
|
1520
|
+
##### `dev`<sup>Required</sup> <a name="dev" id="@alma-cdk/project.AccountsThreeProps.property.dev"></a>
|
|
1521
|
+
|
|
1522
|
+
```typescript
|
|
1523
|
+
public readonly dev: AccountConfiguration;
|
|
1524
|
+
```
|
|
1525
|
+
|
|
1526
|
+
- *Type:* <a href="#@alma-cdk/project.AccountConfiguration">AccountConfiguration</a>
|
|
1527
|
+
|
|
1528
|
+
---
|
|
1529
|
+
|
|
1530
|
+
##### `preprod`<sup>Required</sup> <a name="preprod" id="@alma-cdk/project.AccountsThreeProps.property.preprod"></a>
|
|
1531
|
+
|
|
1532
|
+
```typescript
|
|
1533
|
+
public readonly preprod: AccountConfiguration;
|
|
1534
|
+
```
|
|
1535
|
+
|
|
1536
|
+
- *Type:* <a href="#@alma-cdk/project.AccountConfiguration">AccountConfiguration</a>
|
|
1537
|
+
|
|
1538
|
+
---
|
|
1539
|
+
|
|
1540
|
+
##### `prod`<sup>Required</sup> <a name="prod" id="@alma-cdk/project.AccountsThreeProps.property.prod"></a>
|
|
1541
|
+
|
|
1542
|
+
```typescript
|
|
1543
|
+
public readonly prod: AccountConfiguration;
|
|
1544
|
+
```
|
|
1545
|
+
|
|
1546
|
+
- *Type:* <a href="#@alma-cdk/project.AccountConfiguration">AccountConfiguration</a>
|
|
1547
|
+
|
|
1548
|
+
---
|
|
1549
|
+
|
|
1550
|
+
##### `mock`<sup>Optional</sup> <a name="mock" id="@alma-cdk/project.AccountsThreeProps.property.mock"></a>
|
|
1551
|
+
|
|
1552
|
+
```typescript
|
|
1553
|
+
public readonly mock: AccountConfiguration;
|
|
1554
|
+
```
|
|
1555
|
+
|
|
1556
|
+
- *Type:* <a href="#@alma-cdk/project.AccountConfiguration">AccountConfiguration</a>
|
|
1557
|
+
|
|
1558
|
+
---
|
|
1559
|
+
|
|
1560
|
+
### AccountsTwoProps <a name="AccountsTwoProps" id="@alma-cdk/project.AccountsTwoProps"></a>
|
|
1561
|
+
|
|
1562
|
+
#### Initializer <a name="Initializer" id="@alma-cdk/project.AccountsTwoProps.Initializer"></a>
|
|
1563
|
+
|
|
1564
|
+
```typescript
|
|
1565
|
+
import { AccountsTwoProps } from '@alma-cdk/project'
|
|
1566
|
+
|
|
1567
|
+
const accountsTwoProps: AccountsTwoProps = { ... }
|
|
1568
|
+
```
|
|
1569
|
+
|
|
1570
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
1571
|
+
|
|
1572
|
+
| **Name** | **Type** | **Description** |
|
|
1573
|
+
| --- | --- | --- |
|
|
1574
|
+
| <code><a href="#@alma-cdk/project.AccountsTwoProps.property.dev">dev</a></code> | <code><a href="#@alma-cdk/project.AccountConfiguration">AccountConfiguration</a></code> | *No description.* |
|
|
1575
|
+
| <code><a href="#@alma-cdk/project.AccountsTwoProps.property.prod">prod</a></code> | <code><a href="#@alma-cdk/project.AccountConfiguration">AccountConfiguration</a></code> | *No description.* |
|
|
1576
|
+
| <code><a href="#@alma-cdk/project.AccountsTwoProps.property.mock">mock</a></code> | <code><a href="#@alma-cdk/project.AccountConfiguration">AccountConfiguration</a></code> | *No description.* |
|
|
1577
|
+
|
|
1578
|
+
---
|
|
1579
|
+
|
|
1580
|
+
##### `dev`<sup>Required</sup> <a name="dev" id="@alma-cdk/project.AccountsTwoProps.property.dev"></a>
|
|
1581
|
+
|
|
1582
|
+
```typescript
|
|
1583
|
+
public readonly dev: AccountConfiguration;
|
|
1584
|
+
```
|
|
1585
|
+
|
|
1586
|
+
- *Type:* <a href="#@alma-cdk/project.AccountConfiguration">AccountConfiguration</a>
|
|
1587
|
+
|
|
1588
|
+
---
|
|
1589
|
+
|
|
1590
|
+
##### `prod`<sup>Required</sup> <a name="prod" id="@alma-cdk/project.AccountsTwoProps.property.prod"></a>
|
|
1591
|
+
|
|
1592
|
+
```typescript
|
|
1593
|
+
public readonly prod: AccountConfiguration;
|
|
1594
|
+
```
|
|
1595
|
+
|
|
1596
|
+
- *Type:* <a href="#@alma-cdk/project.AccountConfiguration">AccountConfiguration</a>
|
|
1597
|
+
|
|
1598
|
+
---
|
|
1599
|
+
|
|
1600
|
+
##### `mock`<sup>Optional</sup> <a name="mock" id="@alma-cdk/project.AccountsTwoProps.property.mock"></a>
|
|
1601
|
+
|
|
1602
|
+
```typescript
|
|
1603
|
+
public readonly mock: AccountConfiguration;
|
|
1604
|
+
```
|
|
1605
|
+
|
|
1606
|
+
- *Type:* <a href="#@alma-cdk/project.AccountConfiguration">AccountConfiguration</a>
|
|
1607
|
+
|
|
1608
|
+
---
|
|
1609
|
+
|
|
1610
|
+
### Author <a name="Author" id="@alma-cdk/project.Author"></a>
|
|
1611
|
+
|
|
1612
|
+
Author information.
|
|
1613
|
+
|
|
1614
|
+
I.e. who owns/develops this project/service.
|
|
1615
|
+
|
|
1616
|
+
#### Initializer <a name="Initializer" id="@alma-cdk/project.Author.Initializer"></a>
|
|
1617
|
+
|
|
1618
|
+
```typescript
|
|
1619
|
+
import { Author } from '@alma-cdk/project'
|
|
1620
|
+
|
|
1621
|
+
const author: Author = { ... }
|
|
1622
|
+
```
|
|
1623
|
+
|
|
1624
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
1625
|
+
|
|
1626
|
+
| **Name** | **Type** | **Description** |
|
|
1627
|
+
| --- | --- | --- |
|
|
1628
|
+
| <code><a href="#@alma-cdk/project.Author.property.name">name</a></code> | <code>string</code> | Human-readable name for the team/contact responsible for this project/service. |
|
|
1629
|
+
| <code><a href="#@alma-cdk/project.Author.property.email">email</a></code> | <code>string</code> | Email address for the team/contact responsible for this project/service. |
|
|
1630
|
+
| <code><a href="#@alma-cdk/project.Author.property.organization">organization</a></code> | <code>string</code> | Human-readable name for the organization responsible for this project/service. |
|
|
1631
|
+
|
|
1632
|
+
---
|
|
1633
|
+
|
|
1634
|
+
##### `name`<sup>Required</sup> <a name="name" id="@alma-cdk/project.Author.property.name"></a>
|
|
1635
|
+
|
|
1636
|
+
```typescript
|
|
1637
|
+
public readonly name: string;
|
|
1638
|
+
```
|
|
1639
|
+
|
|
1640
|
+
- *Type:* string
|
|
1641
|
+
|
|
1642
|
+
Human-readable name for the team/contact responsible for this project/service.
|
|
1643
|
+
|
|
1644
|
+
---
|
|
1645
|
+
|
|
1646
|
+
*Example*
|
|
1647
|
+
|
|
1648
|
+
```typescript
|
|
1649
|
+
'Mad Scientists'
|
|
1650
|
+
```
|
|
1651
|
+
|
|
1652
|
+
|
|
1653
|
+
##### `email`<sup>Optional</sup> <a name="email" id="@alma-cdk/project.Author.property.email"></a>
|
|
1654
|
+
|
|
1655
|
+
```typescript
|
|
1656
|
+
public readonly email: string;
|
|
1657
|
+
```
|
|
1658
|
+
|
|
1659
|
+
- *Type:* string
|
|
1660
|
+
|
|
1661
|
+
Email address for the team/contact responsible for this project/service.
|
|
1662
|
+
|
|
1663
|
+
---
|
|
1664
|
+
|
|
1665
|
+
*Example*
|
|
1666
|
+
|
|
1667
|
+
```typescript
|
|
1668
|
+
'mad.scientists@acme.example.com'
|
|
1669
|
+
```
|
|
1670
|
+
|
|
1671
|
+
|
|
1672
|
+
##### `organization`<sup>Optional</sup> <a name="organization" id="@alma-cdk/project.Author.property.organization"></a>
|
|
1673
|
+
|
|
1674
|
+
```typescript
|
|
1675
|
+
public readonly organization: string;
|
|
1676
|
+
```
|
|
1677
|
+
|
|
1678
|
+
- *Type:* string
|
|
1679
|
+
|
|
1680
|
+
Human-readable name for the organization responsible for this project/service.
|
|
1681
|
+
|
|
1682
|
+
---
|
|
1683
|
+
|
|
1684
|
+
*Example*
|
|
1685
|
+
|
|
1686
|
+
```typescript
|
|
1687
|
+
'Acme Corp'
|
|
1688
|
+
```
|
|
1689
|
+
|
|
1690
|
+
|
|
1691
|
+
### NameProps <a name="NameProps" id="@alma-cdk/project.NameProps"></a>
|
|
1692
|
+
|
|
1693
|
+
#### Initializer <a name="Initializer" id="@alma-cdk/project.NameProps.Initializer"></a>
|
|
1694
|
+
|
|
1695
|
+
```typescript
|
|
1696
|
+
import { NameProps } from '@alma-cdk/project'
|
|
1697
|
+
|
|
1698
|
+
const nameProps: NameProps = { ... }
|
|
1699
|
+
```
|
|
1700
|
+
|
|
1701
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
1702
|
+
|
|
1703
|
+
| **Name** | **Type** | **Description** |
|
|
1704
|
+
| --- | --- | --- |
|
|
1705
|
+
| <code><a href="#@alma-cdk/project.NameProps.property.maxLength">maxLength</a></code> | <code>number</code> | *No description.* |
|
|
1706
|
+
| <code><a href="#@alma-cdk/project.NameProps.property.trim">trim</a></code> | <code>boolean</code> | *No description.* |
|
|
1707
|
+
|
|
1708
|
+
---
|
|
1709
|
+
|
|
1710
|
+
##### `maxLength`<sup>Optional</sup> <a name="maxLength" id="@alma-cdk/project.NameProps.property.maxLength"></a>
|
|
1711
|
+
|
|
1712
|
+
```typescript
|
|
1713
|
+
public readonly maxLength: number;
|
|
1714
|
+
```
|
|
1715
|
+
|
|
1716
|
+
- *Type:* number
|
|
1717
|
+
|
|
1718
|
+
---
|
|
1719
|
+
|
|
1720
|
+
##### `trim`<sup>Optional</sup> <a name="trim" id="@alma-cdk/project.NameProps.property.trim"></a>
|
|
1721
|
+
|
|
1722
|
+
```typescript
|
|
1723
|
+
public readonly trim: boolean;
|
|
1724
|
+
```
|
|
1725
|
+
|
|
1726
|
+
- *Type:* boolean
|
|
1727
|
+
|
|
1728
|
+
---
|
|
1729
|
+
|
|
1730
|
+
### ProjectConfiguration <a name="ProjectConfiguration" id="@alma-cdk/project.ProjectConfiguration"></a>
|
|
1731
|
+
|
|
1732
|
+
#### Initializer <a name="Initializer" id="@alma-cdk/project.ProjectConfiguration.Initializer"></a>
|
|
1733
|
+
|
|
1734
|
+
```typescript
|
|
1735
|
+
import { ProjectConfiguration } from '@alma-cdk/project'
|
|
1736
|
+
|
|
1737
|
+
const projectConfiguration: ProjectConfiguration = { ... }
|
|
1738
|
+
```
|
|
1739
|
+
|
|
1740
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
1741
|
+
|
|
1742
|
+
| **Name** | **Type** | **Description** |
|
|
1743
|
+
| --- | --- | --- |
|
|
1744
|
+
| <code><a href="#@alma-cdk/project.ProjectConfiguration.property.accounts">accounts</a></code> | <code>{[ key: string ]: <a href="#@alma-cdk/project.Account">Account</a>}</code> | Dictionary of AWS account specific configuration. |
|
|
1745
|
+
| <code><a href="#@alma-cdk/project.ProjectConfiguration.property.author">author</a></code> | <code><a href="#@alma-cdk/project.Author">Author</a></code> | Author information. |
|
|
1746
|
+
| <code><a href="#@alma-cdk/project.ProjectConfiguration.property.name">name</a></code> | <code>string</code> | Name of your project/service. |
|
|
1747
|
+
| <code><a href="#@alma-cdk/project.ProjectConfiguration.property.defaultRegion">defaultRegion</a></code> | <code>string</code> | Specify default region you wish to use. |
|
|
1748
|
+
|
|
1749
|
+
---
|
|
1750
|
+
|
|
1751
|
+
##### `accounts`<sup>Required</sup> <a name="accounts" id="@alma-cdk/project.ProjectConfiguration.property.accounts"></a>
|
|
1752
|
+
|
|
1753
|
+
```typescript
|
|
1754
|
+
public readonly accounts: {[ key: string ]: Account};
|
|
1755
|
+
```
|
|
1756
|
+
|
|
1757
|
+
- *Type:* {[ key: string ]: <a href="#@alma-cdk/project.Account">Account</a>}
|
|
1758
|
+
|
|
1759
|
+
Dictionary of AWS account specific configuration.
|
|
1760
|
+
|
|
1761
|
+
The key value can be anything (such as AWS Account alias), but it's recommended to keep it short such as `dev` or `prod`.
|
|
1762
|
+
|
|
1763
|
+
---
|
|
1764
|
+
|
|
1765
|
+
*Example*
|
|
1766
|
+
|
|
1767
|
+
```typescript
|
|
1768
|
+
accounts: {
|
|
1769
|
+
dev: {
|
|
1770
|
+
id: '111111111111',
|
|
1771
|
+
config: {
|
|
1772
|
+
baseDomain: 'example.net',
|
|
1773
|
+
},
|
|
1774
|
+
},
|
|
1775
|
+
prod: {
|
|
1776
|
+
id: '222222222222',
|
|
1777
|
+
config: {
|
|
1778
|
+
baseDomain: 'example.com',
|
|
1779
|
+
},
|
|
1780
|
+
},
|
|
1781
|
+
},
|
|
1782
|
+
```
|
|
1783
|
+
|
|
1784
|
+
|
|
1785
|
+
##### `author`<sup>Required</sup> <a name="author" id="@alma-cdk/project.ProjectConfiguration.property.author"></a>
|
|
1786
|
+
|
|
1787
|
+
```typescript
|
|
1788
|
+
public readonly author: Author;
|
|
1789
|
+
```
|
|
1790
|
+
|
|
1791
|
+
- *Type:* <a href="#@alma-cdk/project.Author">Author</a>
|
|
1792
|
+
|
|
1793
|
+
Author information.
|
|
1794
|
+
|
|
1795
|
+
I.e. who owns/develops this project/service.
|
|
1796
|
+
|
|
1797
|
+
---
|
|
1798
|
+
|
|
1799
|
+
##### `name`<sup>Required</sup> <a name="name" id="@alma-cdk/project.ProjectConfiguration.property.name"></a>
|
|
1800
|
+
|
|
1801
|
+
```typescript
|
|
1802
|
+
public readonly name: string;
|
|
1803
|
+
```
|
|
1804
|
+
|
|
1805
|
+
- *Type:* string
|
|
1806
|
+
|
|
1807
|
+
Name of your project/service.
|
|
1808
|
+
|
|
1809
|
+
Prefer `hyphen-case`.
|
|
1810
|
+
|
|
1811
|
+
---
|
|
1812
|
+
|
|
1813
|
+
*Example*
|
|
1814
|
+
|
|
1815
|
+
```typescript
|
|
1816
|
+
'my-cool-project'
|
|
1817
|
+
```
|
|
1818
|
+
|
|
1819
|
+
|
|
1820
|
+
##### `defaultRegion`<sup>Optional</sup> <a name="defaultRegion" id="@alma-cdk/project.ProjectConfiguration.property.defaultRegion"></a>
|
|
1821
|
+
|
|
1822
|
+
```typescript
|
|
1823
|
+
public readonly defaultRegion: string;
|
|
1824
|
+
```
|
|
1825
|
+
|
|
1826
|
+
- *Type:* string
|
|
1827
|
+
|
|
1828
|
+
Specify default region you wish to use.
|
|
1829
|
+
|
|
1830
|
+
If left empty will default to one of the following in order:
|
|
1831
|
+
1. `$CDK_DEFAULT_REGION`
|
|
1832
|
+
2. `$AWS_REGION`
|
|
1833
|
+
3. 'us-east-1'
|
|
1834
|
+
|
|
1835
|
+
---
|
|
1836
|
+
|
|
1837
|
+
### ProjectProps <a name="ProjectProps" id="@alma-cdk/project.ProjectProps"></a>
|
|
1838
|
+
|
|
1839
|
+
Props given to `Project`.
|
|
1840
|
+
|
|
1841
|
+
I.e. custom props for this construct and the usual props given to `cdk.App`.
|
|
1842
|
+
|
|
1843
|
+
#### Initializer <a name="Initializer" id="@alma-cdk/project.ProjectProps.Initializer"></a>
|
|
1844
|
+
|
|
1845
|
+
```typescript
|
|
1846
|
+
import { ProjectProps } from '@alma-cdk/project'
|
|
1847
|
+
|
|
1848
|
+
const projectProps: ProjectProps = { ... }
|
|
1849
|
+
```
|
|
1850
|
+
|
|
1851
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
1852
|
+
|
|
1853
|
+
| **Name** | **Type** | **Description** |
|
|
1854
|
+
| --- | --- | --- |
|
|
1855
|
+
| <code><a href="#@alma-cdk/project.ProjectProps.property.accounts">accounts</a></code> | <code>{[ key: string ]: <a href="#@alma-cdk/project.Account">Account</a>}</code> | Dictionary of AWS account specific configuration. |
|
|
1856
|
+
| <code><a href="#@alma-cdk/project.ProjectProps.property.author">author</a></code> | <code><a href="#@alma-cdk/project.Author">Author</a></code> | Author information. |
|
|
1857
|
+
| <code><a href="#@alma-cdk/project.ProjectProps.property.name">name</a></code> | <code>string</code> | Name of your project/service. |
|
|
1858
|
+
| <code><a href="#@alma-cdk/project.ProjectProps.property.defaultRegion">defaultRegion</a></code> | <code>string</code> | Specify default region you wish to use. |
|
|
1859
|
+
| <code><a href="#@alma-cdk/project.ProjectProps.property.analyticsReporting">analyticsReporting</a></code> | <code>boolean</code> | Include runtime versioning information in the Stacks of this app. |
|
|
1860
|
+
| <code><a href="#@alma-cdk/project.ProjectProps.property.autoSynth">autoSynth</a></code> | <code>boolean</code> | Automatically call `synth()` before the program exits. |
|
|
1861
|
+
| <code><a href="#@alma-cdk/project.ProjectProps.property.context">context</a></code> | <code>{[ key: string ]: any}</code> | Additional context values for the application. |
|
|
1862
|
+
| <code><a href="#@alma-cdk/project.ProjectProps.property.outdir">outdir</a></code> | <code>string</code> | The output directory into which to emit synthesized artifacts. |
|
|
1863
|
+
| <code><a href="#@alma-cdk/project.ProjectProps.property.stackTraces">stackTraces</a></code> | <code>boolean</code> | Include construct creation stack trace in the `aws:cdk:trace` metadata key of all constructs. |
|
|
1864
|
+
| <code><a href="#@alma-cdk/project.ProjectProps.property.treeMetadata">treeMetadata</a></code> | <code>boolean</code> | Include construct tree metadata as part of the Cloud Assembly. |
|
|
1865
|
+
|
|
1866
|
+
---
|
|
1867
|
+
|
|
1868
|
+
##### `accounts`<sup>Required</sup> <a name="accounts" id="@alma-cdk/project.ProjectProps.property.accounts"></a>
|
|
1869
|
+
|
|
1870
|
+
```typescript
|
|
1871
|
+
public readonly accounts: {[ key: string ]: Account};
|
|
1872
|
+
```
|
|
1873
|
+
|
|
1874
|
+
- *Type:* {[ key: string ]: <a href="#@alma-cdk/project.Account">Account</a>}
|
|
1875
|
+
|
|
1876
|
+
Dictionary of AWS account specific configuration.
|
|
1877
|
+
|
|
1878
|
+
The key value can be anything (such as AWS Account alias), but it's recommended to keep it short such as `dev` or `prod`.
|
|
1879
|
+
|
|
1880
|
+
---
|
|
1881
|
+
|
|
1882
|
+
*Example*
|
|
1883
|
+
|
|
1884
|
+
```typescript
|
|
1885
|
+
accounts: {
|
|
1886
|
+
dev: {
|
|
1887
|
+
id: '111111111111',
|
|
1888
|
+
config: {
|
|
1889
|
+
baseDomain: 'example.net',
|
|
1890
|
+
},
|
|
1891
|
+
},
|
|
1892
|
+
prod: {
|
|
1893
|
+
id: '222222222222',
|
|
1894
|
+
config: {
|
|
1895
|
+
baseDomain: 'example.com',
|
|
1896
|
+
},
|
|
1897
|
+
},
|
|
1898
|
+
},
|
|
1899
|
+
```
|
|
1900
|
+
|
|
1901
|
+
|
|
1902
|
+
##### `author`<sup>Required</sup> <a name="author" id="@alma-cdk/project.ProjectProps.property.author"></a>
|
|
1903
|
+
|
|
1904
|
+
```typescript
|
|
1905
|
+
public readonly author: Author;
|
|
1906
|
+
```
|
|
1907
|
+
|
|
1908
|
+
- *Type:* <a href="#@alma-cdk/project.Author">Author</a>
|
|
1909
|
+
|
|
1910
|
+
Author information.
|
|
1911
|
+
|
|
1912
|
+
I.e. who owns/develops this project/service.
|
|
1913
|
+
|
|
1914
|
+
---
|
|
1915
|
+
|
|
1916
|
+
##### `name`<sup>Required</sup> <a name="name" id="@alma-cdk/project.ProjectProps.property.name"></a>
|
|
1917
|
+
|
|
1918
|
+
```typescript
|
|
1919
|
+
public readonly name: string;
|
|
1920
|
+
```
|
|
1921
|
+
|
|
1922
|
+
- *Type:* string
|
|
1923
|
+
|
|
1924
|
+
Name of your project/service.
|
|
1925
|
+
|
|
1926
|
+
Prefer `hyphen-case`.
|
|
1927
|
+
|
|
1928
|
+
---
|
|
1929
|
+
|
|
1930
|
+
*Example*
|
|
1931
|
+
|
|
1932
|
+
```typescript
|
|
1933
|
+
'my-cool-project'
|
|
1934
|
+
```
|
|
1935
|
+
|
|
1936
|
+
|
|
1937
|
+
##### `defaultRegion`<sup>Optional</sup> <a name="defaultRegion" id="@alma-cdk/project.ProjectProps.property.defaultRegion"></a>
|
|
1938
|
+
|
|
1939
|
+
```typescript
|
|
1940
|
+
public readonly defaultRegion: string;
|
|
1941
|
+
```
|
|
1942
|
+
|
|
1943
|
+
- *Type:* string
|
|
1944
|
+
|
|
1945
|
+
Specify default region you wish to use.
|
|
1946
|
+
|
|
1947
|
+
If left empty will default to one of the following in order:
|
|
1948
|
+
1. `$CDK_DEFAULT_REGION`
|
|
1949
|
+
2. `$AWS_REGION`
|
|
1950
|
+
3. 'us-east-1'
|
|
1951
|
+
|
|
1952
|
+
---
|
|
1953
|
+
|
|
1954
|
+
##### `analyticsReporting`<sup>Optional</sup> <a name="analyticsReporting" id="@alma-cdk/project.ProjectProps.property.analyticsReporting"></a>
|
|
1955
|
+
|
|
1956
|
+
```typescript
|
|
1957
|
+
public readonly analyticsReporting: boolean;
|
|
1958
|
+
```
|
|
1959
|
+
|
|
1960
|
+
- *Type:* boolean
|
|
1961
|
+
- *Default:* Value of 'aws:cdk:version-reporting' context key
|
|
1962
|
+
|
|
1963
|
+
Include runtime versioning information in the Stacks of this app.
|
|
1964
|
+
|
|
1965
|
+
---
|
|
1966
|
+
|
|
1967
|
+
##### `autoSynth`<sup>Optional</sup> <a name="autoSynth" id="@alma-cdk/project.ProjectProps.property.autoSynth"></a>
|
|
1968
|
+
|
|
1969
|
+
```typescript
|
|
1970
|
+
public readonly autoSynth: boolean;
|
|
1971
|
+
```
|
|
1972
|
+
|
|
1973
|
+
- *Type:* boolean
|
|
1974
|
+
- *Default:* true if running via CDK CLI (`CDK_OUTDIR` is set), `false` otherwise
|
|
1975
|
+
|
|
1976
|
+
Automatically call `synth()` before the program exits.
|
|
1977
|
+
|
|
1978
|
+
If you set this, you don't have to call `synth()` explicitly. Note that
|
|
1979
|
+
this feature is only available for certain programming languages, and
|
|
1980
|
+
calling `synth()` is still recommended.
|
|
1981
|
+
|
|
1982
|
+
---
|
|
1983
|
+
|
|
1984
|
+
##### `context`<sup>Optional</sup> <a name="context" id="@alma-cdk/project.ProjectProps.property.context"></a>
|
|
1985
|
+
|
|
1986
|
+
```typescript
|
|
1987
|
+
public readonly context: {[ key: string ]: any};
|
|
1988
|
+
```
|
|
1989
|
+
|
|
1990
|
+
- *Type:* {[ key: string ]: any}
|
|
1991
|
+
- *Default:* no additional context
|
|
1992
|
+
|
|
1993
|
+
Additional context values for the application.
|
|
1994
|
+
|
|
1995
|
+
Context set by the CLI or the `context` key in `cdk.json` has precedence.
|
|
1996
|
+
|
|
1997
|
+
Context can be read from any construct using `node.getContext(key)`.
|
|
1998
|
+
|
|
1999
|
+
---
|
|
2000
|
+
|
|
2001
|
+
##### `outdir`<sup>Optional</sup> <a name="outdir" id="@alma-cdk/project.ProjectProps.property.outdir"></a>
|
|
2002
|
+
|
|
2003
|
+
```typescript
|
|
2004
|
+
public readonly outdir: string;
|
|
2005
|
+
```
|
|
2006
|
+
|
|
2007
|
+
- *Type:* string
|
|
2008
|
+
- *Default:* If this value is _not_ set, considers the environment variable `CDK_OUTDIR`. If `CDK_OUTDIR` is not defined, uses a temp directory.
|
|
2009
|
+
|
|
2010
|
+
The output directory into which to emit synthesized artifacts.
|
|
2011
|
+
|
|
2012
|
+
You should never need to set this value. By default, the value you pass to
|
|
2013
|
+
the CLI's `--output` flag will be used, and if you change it to a different
|
|
2014
|
+
directory the CLI will fail to pick up the generated Cloud Assembly.
|
|
2015
|
+
|
|
2016
|
+
This property is intended for internal and testing use.
|
|
2017
|
+
|
|
2018
|
+
---
|
|
2019
|
+
|
|
2020
|
+
##### `stackTraces`<sup>Optional</sup> <a name="stackTraces" id="@alma-cdk/project.ProjectProps.property.stackTraces"></a>
|
|
2021
|
+
|
|
2022
|
+
```typescript
|
|
2023
|
+
public readonly stackTraces: boolean;
|
|
2024
|
+
```
|
|
2025
|
+
|
|
2026
|
+
- *Type:* boolean
|
|
2027
|
+
- *Default:* true stack traces are included unless `aws:cdk:disable-stack-trace` is set in the context.
|
|
2028
|
+
|
|
2029
|
+
Include construct creation stack trace in the `aws:cdk:trace` metadata key of all constructs.
|
|
2030
|
+
|
|
2031
|
+
---
|
|
2032
|
+
|
|
2033
|
+
##### `treeMetadata`<sup>Optional</sup> <a name="treeMetadata" id="@alma-cdk/project.ProjectProps.property.treeMetadata"></a>
|
|
2034
|
+
|
|
2035
|
+
```typescript
|
|
2036
|
+
public readonly treeMetadata: boolean;
|
|
2037
|
+
```
|
|
2038
|
+
|
|
2039
|
+
- *Type:* boolean
|
|
2040
|
+
- *Default:* true
|
|
2041
|
+
|
|
2042
|
+
Include construct tree metadata as part of the Cloud Assembly.
|
|
2043
|
+
|
|
2044
|
+
---
|
|
2045
|
+
|
|
2046
|
+
## Classes <a name="Classes" id="Classes"></a>
|
|
2047
|
+
|
|
2048
|
+
### AccountContext <a name="AccountContext" id="@alma-cdk/project.AccountContext"></a>
|
|
2049
|
+
|
|
2050
|
+
#### Initializers <a name="Initializers" id="@alma-cdk/project.AccountContext.Initializer"></a>
|
|
2051
|
+
|
|
2052
|
+
```typescript
|
|
2053
|
+
import { AccountContext } from '@alma-cdk/project'
|
|
2054
|
+
|
|
2055
|
+
new AccountContext()
|
|
2056
|
+
```
|
|
2057
|
+
|
|
2058
|
+
| **Name** | **Type** | **Description** |
|
|
2059
|
+
| --- | --- | --- |
|
|
2060
|
+
|
|
2061
|
+
---
|
|
2062
|
+
|
|
2063
|
+
|
|
2064
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
2065
|
+
|
|
2066
|
+
| **Name** | **Description** |
|
|
2067
|
+
| --- | --- |
|
|
2068
|
+
| <code><a href="#@alma-cdk/project.AccountContext.getAccountConfig">getAccountConfig</a></code> | *No description.* |
|
|
2069
|
+
| <code><a href="#@alma-cdk/project.AccountContext.getAccountId">getAccountId</a></code> | *No description.* |
|
|
2070
|
+
| <code><a href="#@alma-cdk/project.AccountContext.getAccountType">getAccountType</a></code> | *No description.* |
|
|
2071
|
+
| <code><a href="#@alma-cdk/project.AccountContext.isDev">isDev</a></code> | *No description.* |
|
|
2072
|
+
| <code><a href="#@alma-cdk/project.AccountContext.isMock">isMock</a></code> | *No description.* |
|
|
2073
|
+
| <code><a href="#@alma-cdk/project.AccountContext.isPreProd">isPreProd</a></code> | *No description.* |
|
|
2074
|
+
| <code><a href="#@alma-cdk/project.AccountContext.isProd">isProd</a></code> | *No description.* |
|
|
2075
|
+
| <code><a href="#@alma-cdk/project.AccountContext.isShared">isShared</a></code> | *No description.* |
|
|
2076
|
+
|
|
2077
|
+
---
|
|
2078
|
+
|
|
2079
|
+
##### `getAccountConfig` <a name="getAccountConfig" id="@alma-cdk/project.AccountContext.getAccountConfig"></a>
|
|
2080
|
+
|
|
2081
|
+
```typescript
|
|
2082
|
+
import { AccountContext } from '@alma-cdk/project'
|
|
2083
|
+
|
|
2084
|
+
AccountContext.getAccountConfig(scope: Construct, key: string)
|
|
2085
|
+
```
|
|
2086
|
+
|
|
2087
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.AccountContext.getAccountConfig.parameter.scope"></a>
|
|
2088
|
+
|
|
2089
|
+
- *Type:* constructs.Construct
|
|
2090
|
+
|
|
2091
|
+
---
|
|
2092
|
+
|
|
2093
|
+
###### `key`<sup>Required</sup> <a name="key" id="@alma-cdk/project.AccountContext.getAccountConfig.parameter.key"></a>
|
|
2094
|
+
|
|
2095
|
+
- *Type:* string
|
|
2096
|
+
|
|
2097
|
+
---
|
|
2098
|
+
|
|
2099
|
+
##### `getAccountId` <a name="getAccountId" id="@alma-cdk/project.AccountContext.getAccountId"></a>
|
|
2100
|
+
|
|
2101
|
+
```typescript
|
|
2102
|
+
import { AccountContext } from '@alma-cdk/project'
|
|
2103
|
+
|
|
2104
|
+
AccountContext.getAccountId(scope: Construct)
|
|
2105
|
+
```
|
|
2106
|
+
|
|
2107
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.AccountContext.getAccountId.parameter.scope"></a>
|
|
2108
|
+
|
|
2109
|
+
- *Type:* constructs.Construct
|
|
2110
|
+
|
|
2111
|
+
---
|
|
2112
|
+
|
|
2113
|
+
##### `getAccountType` <a name="getAccountType" id="@alma-cdk/project.AccountContext.getAccountType"></a>
|
|
2114
|
+
|
|
2115
|
+
```typescript
|
|
2116
|
+
import { AccountContext } from '@alma-cdk/project'
|
|
2117
|
+
|
|
2118
|
+
AccountContext.getAccountType(scope: Construct)
|
|
2119
|
+
```
|
|
2120
|
+
|
|
2121
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.AccountContext.getAccountType.parameter.scope"></a>
|
|
2122
|
+
|
|
2123
|
+
- *Type:* constructs.Construct
|
|
2124
|
+
|
|
2125
|
+
---
|
|
2126
|
+
|
|
2127
|
+
##### `isDev` <a name="isDev" id="@alma-cdk/project.AccountContext.isDev"></a>
|
|
2128
|
+
|
|
2129
|
+
```typescript
|
|
2130
|
+
import { AccountContext } from '@alma-cdk/project'
|
|
2131
|
+
|
|
2132
|
+
AccountContext.isDev(scope: Construct)
|
|
2133
|
+
```
|
|
2134
|
+
|
|
2135
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.AccountContext.isDev.parameter.scope"></a>
|
|
2136
|
+
|
|
2137
|
+
- *Type:* constructs.Construct
|
|
2138
|
+
|
|
2139
|
+
---
|
|
2140
|
+
|
|
2141
|
+
##### `isMock` <a name="isMock" id="@alma-cdk/project.AccountContext.isMock"></a>
|
|
2142
|
+
|
|
2143
|
+
```typescript
|
|
2144
|
+
import { AccountContext } from '@alma-cdk/project'
|
|
2145
|
+
|
|
2146
|
+
AccountContext.isMock(scope: Construct)
|
|
2147
|
+
```
|
|
2148
|
+
|
|
2149
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.AccountContext.isMock.parameter.scope"></a>
|
|
2150
|
+
|
|
2151
|
+
- *Type:* constructs.Construct
|
|
2152
|
+
|
|
2153
|
+
---
|
|
2154
|
+
|
|
2155
|
+
##### `isPreProd` <a name="isPreProd" id="@alma-cdk/project.AccountContext.isPreProd"></a>
|
|
2156
|
+
|
|
2157
|
+
```typescript
|
|
2158
|
+
import { AccountContext } from '@alma-cdk/project'
|
|
2159
|
+
|
|
2160
|
+
AccountContext.isPreProd(scope: Construct)
|
|
2161
|
+
```
|
|
2162
|
+
|
|
2163
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.AccountContext.isPreProd.parameter.scope"></a>
|
|
2164
|
+
|
|
2165
|
+
- *Type:* constructs.Construct
|
|
2166
|
+
|
|
2167
|
+
---
|
|
2168
|
+
|
|
2169
|
+
##### `isProd` <a name="isProd" id="@alma-cdk/project.AccountContext.isProd"></a>
|
|
2170
|
+
|
|
2171
|
+
```typescript
|
|
2172
|
+
import { AccountContext } from '@alma-cdk/project'
|
|
2173
|
+
|
|
2174
|
+
AccountContext.isProd(scope: Construct)
|
|
2175
|
+
```
|
|
2176
|
+
|
|
2177
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.AccountContext.isProd.parameter.scope"></a>
|
|
2178
|
+
|
|
2179
|
+
- *Type:* constructs.Construct
|
|
2180
|
+
|
|
2181
|
+
---
|
|
2182
|
+
|
|
2183
|
+
##### `isShared` <a name="isShared" id="@alma-cdk/project.AccountContext.isShared"></a>
|
|
2184
|
+
|
|
2185
|
+
```typescript
|
|
2186
|
+
import { AccountContext } from '@alma-cdk/project'
|
|
2187
|
+
|
|
2188
|
+
AccountContext.isShared(scope: Construct)
|
|
2189
|
+
```
|
|
2190
|
+
|
|
2191
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.AccountContext.isShared.parameter.scope"></a>
|
|
2192
|
+
|
|
2193
|
+
- *Type:* constructs.Construct
|
|
2194
|
+
|
|
2195
|
+
---
|
|
2196
|
+
|
|
2197
|
+
|
|
2198
|
+
|
|
2199
|
+
### Accounts <a name="Accounts" id="@alma-cdk/project.Accounts"></a>
|
|
2200
|
+
|
|
2201
|
+
#### Initializers <a name="Initializers" id="@alma-cdk/project.Accounts.Initializer"></a>
|
|
2202
|
+
|
|
2203
|
+
```typescript
|
|
2204
|
+
import { Accounts } from '@alma-cdk/project'
|
|
2205
|
+
|
|
2206
|
+
new Accounts()
|
|
2207
|
+
```
|
|
2208
|
+
|
|
2209
|
+
| **Name** | **Type** | **Description** |
|
|
2210
|
+
| --- | --- | --- |
|
|
2211
|
+
|
|
2212
|
+
---
|
|
2213
|
+
|
|
2214
|
+
|
|
2215
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
2216
|
+
|
|
2217
|
+
| **Name** | **Description** |
|
|
2218
|
+
| --- | --- |
|
|
2219
|
+
| <code><a href="#@alma-cdk/project.Accounts.one">one</a></code> | Enables single account strategy. |
|
|
2220
|
+
| <code><a href="#@alma-cdk/project.Accounts.three">three</a></code> | Enables triple account strategy. |
|
|
2221
|
+
| <code><a href="#@alma-cdk/project.Accounts.two">two</a></code> | Enables dual account strategy. |
|
|
2222
|
+
|
|
2223
|
+
---
|
|
2224
|
+
|
|
2225
|
+
##### `one` <a name="one" id="@alma-cdk/project.Accounts.one"></a>
|
|
2226
|
+
|
|
2227
|
+
```typescript
|
|
2228
|
+
import { Accounts } from '@alma-cdk/project'
|
|
2229
|
+
|
|
2230
|
+
Accounts.one(props: AccountsOneProps)
|
|
2231
|
+
```
|
|
2232
|
+
|
|
2233
|
+
Enables single account strategy.
|
|
2234
|
+
|
|
2235
|
+
1. `shared` account with environments:
|
|
2236
|
+
- development
|
|
2237
|
+
- feature/*
|
|
2238
|
+
- test
|
|
2239
|
+
- qaN
|
|
2240
|
+
- staging
|
|
2241
|
+
- preproduction
|
|
2242
|
+
- production
|
|
2243
|
+
|
|
2244
|
+
*Example*
|
|
2245
|
+
|
|
2246
|
+
```typescript
|
|
2247
|
+
Accounts.ONE({
|
|
2248
|
+
shared: {
|
|
2249
|
+
id: '111111111111',
|
|
2250
|
+
},
|
|
2251
|
+
}),
|
|
2252
|
+
```
|
|
2253
|
+
|
|
2254
|
+
|
|
2255
|
+
###### `props`<sup>Required</sup> <a name="props" id="@alma-cdk/project.Accounts.one.parameter.props"></a>
|
|
2256
|
+
|
|
2257
|
+
- *Type:* <a href="#@alma-cdk/project.AccountsOneProps">AccountsOneProps</a>
|
|
2258
|
+
|
|
2259
|
+
---
|
|
2260
|
+
|
|
2261
|
+
##### `three` <a name="three" id="@alma-cdk/project.Accounts.three"></a>
|
|
2262
|
+
|
|
2263
|
+
```typescript
|
|
2264
|
+
import { Accounts } from '@alma-cdk/project'
|
|
2265
|
+
|
|
2266
|
+
Accounts.three(props: AccountsThreeProps)
|
|
2267
|
+
```
|
|
2268
|
+
|
|
2269
|
+
Enables triple account strategy.
|
|
2270
|
+
|
|
2271
|
+
1. `dev` account with environments:
|
|
2272
|
+
- development
|
|
2273
|
+
- feature/*
|
|
2274
|
+
- test
|
|
2275
|
+
- staging
|
|
2276
|
+
2. `preprod` account with environments:
|
|
2277
|
+
- qaN
|
|
2278
|
+
- preproduction
|
|
2279
|
+
3. `prod` account with environments:
|
|
2280
|
+
- production
|
|
2281
|
+
|
|
2282
|
+
*Example*
|
|
2283
|
+
|
|
2284
|
+
```typescript
|
|
2285
|
+
Accounts.THREE({
|
|
2286
|
+
dev: {
|
|
2287
|
+
id: '111111111111',
|
|
2288
|
+
},
|
|
2289
|
+
preprod: {
|
|
2290
|
+
id: '222222222222',
|
|
2291
|
+
},
|
|
2292
|
+
prod: {
|
|
2293
|
+
id: '333333333333',
|
|
2294
|
+
},
|
|
2295
|
+
}),
|
|
2296
|
+
```
|
|
2297
|
+
|
|
2298
|
+
|
|
2299
|
+
###### `props`<sup>Required</sup> <a name="props" id="@alma-cdk/project.Accounts.three.parameter.props"></a>
|
|
2300
|
+
|
|
2301
|
+
- *Type:* <a href="#@alma-cdk/project.AccountsThreeProps">AccountsThreeProps</a>
|
|
2302
|
+
|
|
2303
|
+
---
|
|
2304
|
+
|
|
2305
|
+
##### `two` <a name="two" id="@alma-cdk/project.Accounts.two"></a>
|
|
2306
|
+
|
|
2307
|
+
```typescript
|
|
2308
|
+
import { Accounts } from '@alma-cdk/project'
|
|
2309
|
+
|
|
2310
|
+
Accounts.two(props: AccountsTwoProps)
|
|
2311
|
+
```
|
|
2312
|
+
|
|
2313
|
+
Enables dual account strategy.
|
|
2314
|
+
|
|
2315
|
+
1. `dev` account with environments:
|
|
2316
|
+
- development
|
|
2317
|
+
- feature/*
|
|
2318
|
+
- test
|
|
2319
|
+
- qaN
|
|
2320
|
+
- staging
|
|
2321
|
+
2. `prod` account with environments:
|
|
2322
|
+
- preproduction
|
|
2323
|
+
- production
|
|
2324
|
+
|
|
2325
|
+
*Example*
|
|
2326
|
+
|
|
2327
|
+
```typescript
|
|
2328
|
+
Accounts.TWO({
|
|
2329
|
+
dev: {
|
|
2330
|
+
id: '111111111111',
|
|
2331
|
+
},
|
|
2332
|
+
prod: {
|
|
2333
|
+
id: '222222222222',
|
|
2334
|
+
},
|
|
2335
|
+
}),
|
|
2336
|
+
```
|
|
2337
|
+
|
|
2338
|
+
|
|
2339
|
+
###### `props`<sup>Required</sup> <a name="props" id="@alma-cdk/project.Accounts.two.parameter.props"></a>
|
|
2340
|
+
|
|
2341
|
+
- *Type:* <a href="#@alma-cdk/project.AccountsTwoProps">AccountsTwoProps</a>
|
|
2342
|
+
|
|
2343
|
+
---
|
|
2344
|
+
|
|
2345
|
+
|
|
2346
|
+
|
|
2347
|
+
### AccountType <a name="AccountType" id="@alma-cdk/project.AccountType"></a>
|
|
2348
|
+
|
|
2349
|
+
Internal class to handle set/get operations for Account Type.
|
|
2350
|
+
|
|
2351
|
+
#### Initializers <a name="Initializers" id="@alma-cdk/project.AccountType.Initializer"></a>
|
|
2352
|
+
|
|
2353
|
+
```typescript
|
|
2354
|
+
import { AccountType } from '@alma-cdk/project'
|
|
2355
|
+
|
|
2356
|
+
new AccountType()
|
|
2357
|
+
```
|
|
2358
|
+
|
|
2359
|
+
| **Name** | **Type** | **Description** |
|
|
2360
|
+
| --- | --- | --- |
|
|
2361
|
+
|
|
2362
|
+
---
|
|
2363
|
+
|
|
2364
|
+
|
|
2365
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
2366
|
+
|
|
2367
|
+
| **Name** | **Description** |
|
|
2368
|
+
| --- | --- |
|
|
2369
|
+
| <code><a href="#@alma-cdk/project.AccountType.get">get</a></code> | *No description.* |
|
|
2370
|
+
| <code><a href="#@alma-cdk/project.AccountType.matchFromEnvironment">matchFromEnvironment</a></code> | *No description.* |
|
|
2371
|
+
| <code><a href="#@alma-cdk/project.AccountType.set">set</a></code> | *No description.* |
|
|
2372
|
+
|
|
2373
|
+
---
|
|
2374
|
+
|
|
2375
|
+
##### `get` <a name="get" id="@alma-cdk/project.AccountType.get"></a>
|
|
2376
|
+
|
|
2377
|
+
```typescript
|
|
2378
|
+
import { AccountType } from '@alma-cdk/project'
|
|
2379
|
+
|
|
2380
|
+
AccountType.get(scope: Construct)
|
|
2381
|
+
```
|
|
2382
|
+
|
|
2383
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.AccountType.get.parameter.scope"></a>
|
|
2384
|
+
|
|
2385
|
+
- *Type:* constructs.Construct
|
|
2386
|
+
|
|
2387
|
+
---
|
|
2388
|
+
|
|
2389
|
+
##### `matchFromEnvironment` <a name="matchFromEnvironment" id="@alma-cdk/project.AccountType.matchFromEnvironment"></a>
|
|
2390
|
+
|
|
2391
|
+
```typescript
|
|
2392
|
+
import { AccountType } from '@alma-cdk/project'
|
|
2393
|
+
|
|
2394
|
+
AccountType.matchFromEnvironment(scope: Construct, accounts: {[ key: string ]: Account}, environmentType: string)
|
|
2395
|
+
```
|
|
2396
|
+
|
|
2397
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.AccountType.matchFromEnvironment.parameter.scope"></a>
|
|
2398
|
+
|
|
2399
|
+
- *Type:* constructs.Construct
|
|
2400
|
+
|
|
2401
|
+
---
|
|
2402
|
+
|
|
2403
|
+
###### `accounts`<sup>Required</sup> <a name="accounts" id="@alma-cdk/project.AccountType.matchFromEnvironment.parameter.accounts"></a>
|
|
2404
|
+
|
|
2405
|
+
- *Type:* {[ key: string ]: <a href="#@alma-cdk/project.Account">Account</a>}
|
|
2406
|
+
|
|
2407
|
+
---
|
|
2408
|
+
|
|
2409
|
+
###### `environmentType`<sup>Required</sup> <a name="environmentType" id="@alma-cdk/project.AccountType.matchFromEnvironment.parameter.environmentType"></a>
|
|
2410
|
+
|
|
2411
|
+
- *Type:* string
|
|
2412
|
+
|
|
2413
|
+
---
|
|
2414
|
+
|
|
2415
|
+
##### `set` <a name="set" id="@alma-cdk/project.AccountType.set"></a>
|
|
2416
|
+
|
|
2417
|
+
```typescript
|
|
2418
|
+
import { AccountType } from '@alma-cdk/project'
|
|
2419
|
+
|
|
2420
|
+
AccountType.set(scope: Construct, accountType: string)
|
|
2421
|
+
```
|
|
2422
|
+
|
|
2423
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.AccountType.set.parameter.scope"></a>
|
|
2424
|
+
|
|
2425
|
+
- *Type:* constructs.Construct
|
|
2426
|
+
|
|
2427
|
+
---
|
|
2428
|
+
|
|
2429
|
+
###### `accountType`<sup>Required</sup> <a name="accountType" id="@alma-cdk/project.AccountType.set.parameter.accountType"></a>
|
|
2430
|
+
|
|
2431
|
+
- *Type:* string
|
|
2432
|
+
|
|
2433
|
+
---
|
|
2434
|
+
|
|
2435
|
+
|
|
2436
|
+
|
|
2437
|
+
### EnvironmentContext <a name="EnvironmentContext" id="@alma-cdk/project.EnvironmentContext"></a>
|
|
2438
|
+
|
|
2439
|
+
#### Initializers <a name="Initializers" id="@alma-cdk/project.EnvironmentContext.Initializer"></a>
|
|
2440
|
+
|
|
2441
|
+
```typescript
|
|
2442
|
+
import { EnvironmentContext } from '@alma-cdk/project'
|
|
2443
|
+
|
|
2444
|
+
new EnvironmentContext()
|
|
2445
|
+
```
|
|
2446
|
+
|
|
2447
|
+
| **Name** | **Type** | **Description** |
|
|
2448
|
+
| --- | --- | --- |
|
|
2449
|
+
|
|
2450
|
+
---
|
|
2451
|
+
|
|
2452
|
+
|
|
2453
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
2454
|
+
|
|
2455
|
+
| **Name** | **Description** |
|
|
2456
|
+
| --- | --- |
|
|
2457
|
+
| <code><a href="#@alma-cdk/project.EnvironmentContext.getCategory">getCategory</a></code> | Get Environment Category. |
|
|
2458
|
+
| <code><a href="#@alma-cdk/project.EnvironmentContext.getFeatureInfo">getFeatureInfo</a></code> | Get Feature Info. |
|
|
2459
|
+
| <code><a href="#@alma-cdk/project.EnvironmentContext.getLabel">getLabel</a></code> | Get Environment Label. |
|
|
2460
|
+
| <code><a href="#@alma-cdk/project.EnvironmentContext.getName">getName</a></code> | Get Environment Name. |
|
|
2461
|
+
| <code><a href="#@alma-cdk/project.EnvironmentContext.getUrlName">getUrlName</a></code> | Get Environment URL/DNS Compatible Name. |
|
|
2462
|
+
| <code><a href="#@alma-cdk/project.EnvironmentContext.isDevelopment">isDevelopment</a></code> | Check if Environment is part of `development` category. |
|
|
2463
|
+
| <code><a href="#@alma-cdk/project.EnvironmentContext.isFeature">isFeature</a></code> | Check if Environment is part of `feature` category. |
|
|
2464
|
+
| <code><a href="#@alma-cdk/project.EnvironmentContext.isMock">isMock</a></code> | Check if Environment is part of `mock` category. |
|
|
2465
|
+
| <code><a href="#@alma-cdk/project.EnvironmentContext.isStable">isStable</a></code> | Check if Environment is part of `stable` category. |
|
|
2466
|
+
| <code><a href="#@alma-cdk/project.EnvironmentContext.isVerification">isVerification</a></code> | Check if Environment is part of `verification` category. |
|
|
2467
|
+
|
|
2468
|
+
---
|
|
2469
|
+
|
|
2470
|
+
##### `getCategory` <a name="getCategory" id="@alma-cdk/project.EnvironmentContext.getCategory"></a>
|
|
2471
|
+
|
|
2472
|
+
```typescript
|
|
2473
|
+
import { EnvironmentContext } from '@alma-cdk/project'
|
|
2474
|
+
|
|
2475
|
+
EnvironmentContext.getCategory(scope: Construct)
|
|
2476
|
+
```
|
|
2477
|
+
|
|
2478
|
+
Get Environment Category.
|
|
2479
|
+
|
|
2480
|
+
Categories are useful grouping to make distinction between `stable`
|
|
2481
|
+
environments (`staging` & `production`) from `feature` or `verification`
|
|
2482
|
+
environments (such as `test` or `preproduction`).
|
|
2483
|
+
|
|
2484
|
+
*Example*
|
|
2485
|
+
|
|
2486
|
+
```typescript
|
|
2487
|
+
'mock'
|
|
2488
|
+
'development'
|
|
2489
|
+
'feature'
|
|
2490
|
+
'verification'
|
|
2491
|
+
'stable'
|
|
2492
|
+
```
|
|
2493
|
+
|
|
2494
|
+
|
|
2495
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.EnvironmentContext.getCategory.parameter.scope"></a>
|
|
2496
|
+
|
|
2497
|
+
- *Type:* constructs.Construct
|
|
2498
|
+
|
|
2499
|
+
Construct.
|
|
2500
|
+
|
|
2501
|
+
---
|
|
2502
|
+
|
|
2503
|
+
##### `getFeatureInfo` <a name="getFeatureInfo" id="@alma-cdk/project.EnvironmentContext.getFeatureInfo"></a>
|
|
2504
|
+
|
|
2505
|
+
```typescript
|
|
2506
|
+
import { EnvironmentContext } from '@alma-cdk/project'
|
|
2507
|
+
|
|
2508
|
+
EnvironmentContext.getFeatureInfo(scope: Construct)
|
|
2509
|
+
```
|
|
2510
|
+
|
|
2511
|
+
Get Feature Info.
|
|
2512
|
+
|
|
2513
|
+
If environment belongs to `feature` category,
|
|
2514
|
+
this will return a string describing the feature (sting after `feature/`-prefix).
|
|
2515
|
+
|
|
2516
|
+
If environment is not a feature environment, will return an empty string.
|
|
2517
|
+
|
|
2518
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.EnvironmentContext.getFeatureInfo.parameter.scope"></a>
|
|
2519
|
+
|
|
2520
|
+
- *Type:* constructs.Construct
|
|
2521
|
+
|
|
2522
|
+
Construct.
|
|
2523
|
+
|
|
2524
|
+
---
|
|
2525
|
+
|
|
2526
|
+
##### `getLabel` <a name="getLabel" id="@alma-cdk/project.EnvironmentContext.getLabel"></a>
|
|
2527
|
+
|
|
2528
|
+
```typescript
|
|
2529
|
+
import { EnvironmentContext } from '@alma-cdk/project'
|
|
2530
|
+
|
|
2531
|
+
EnvironmentContext.getLabel(scope: Construct)
|
|
2532
|
+
```
|
|
2533
|
+
|
|
2534
|
+
Get Environment Label.
|
|
2535
|
+
|
|
2536
|
+
Labels are useful since Environment Name can be complex,
|
|
2537
|
+
such as `feature/foo-bar` or `qa3`,
|
|
2538
|
+
but we need to be able to “label” all `feature/*` and `qaN` environments
|
|
2539
|
+
as either `feature` or `qa`.
|
|
2540
|
+
|
|
2541
|
+
*Example*
|
|
2542
|
+
|
|
2543
|
+
```typescript
|
|
2544
|
+
'mock'
|
|
2545
|
+
'development'
|
|
2546
|
+
'feature'
|
|
2547
|
+
'test'
|
|
2548
|
+
'staging'
|
|
2549
|
+
'qa'
|
|
2550
|
+
'preproduction'
|
|
2551
|
+
'production'
|
|
2552
|
+
```
|
|
2553
|
+
|
|
2554
|
+
|
|
2555
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.EnvironmentContext.getLabel.parameter.scope"></a>
|
|
2556
|
+
|
|
2557
|
+
- *Type:* constructs.Construct
|
|
2558
|
+
|
|
2559
|
+
Construct.
|
|
2560
|
+
|
|
2561
|
+
---
|
|
2562
|
+
|
|
2563
|
+
##### `getName` <a name="getName" id="@alma-cdk/project.EnvironmentContext.getName"></a>
|
|
2564
|
+
|
|
2565
|
+
```typescript
|
|
2566
|
+
import { EnvironmentContext } from '@alma-cdk/project'
|
|
2567
|
+
|
|
2568
|
+
EnvironmentContext.getName(scope: Construct)
|
|
2569
|
+
```
|
|
2570
|
+
|
|
2571
|
+
Get Environment Name.
|
|
2572
|
+
|
|
2573
|
+
*Example*
|
|
2574
|
+
|
|
2575
|
+
```typescript
|
|
2576
|
+
'mock1'
|
|
2577
|
+
'mock2'
|
|
2578
|
+
'mock3'
|
|
2579
|
+
'development'
|
|
2580
|
+
'feature/foo-bar'
|
|
2581
|
+
'feature/ABC-123/new-stuff'
|
|
2582
|
+
'test'
|
|
2583
|
+
'staging'
|
|
2584
|
+
'qa1'
|
|
2585
|
+
'qa2'
|
|
2586
|
+
'qa3'
|
|
2587
|
+
'preproduction'
|
|
2588
|
+
'production'
|
|
2589
|
+
```
|
|
2590
|
+
|
|
2591
|
+
|
|
2592
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.EnvironmentContext.getName.parameter.scope"></a>
|
|
2593
|
+
|
|
2594
|
+
- *Type:* constructs.Construct
|
|
2595
|
+
|
|
2596
|
+
Construct.
|
|
2597
|
+
|
|
2598
|
+
---
|
|
2599
|
+
|
|
2600
|
+
##### `getUrlName` <a name="getUrlName" id="@alma-cdk/project.EnvironmentContext.getUrlName"></a>
|
|
2601
|
+
|
|
2602
|
+
```typescript
|
|
2603
|
+
import { EnvironmentContext } from '@alma-cdk/project'
|
|
2604
|
+
|
|
2605
|
+
EnvironmentContext.getUrlName(scope: Construct)
|
|
2606
|
+
```
|
|
2607
|
+
|
|
2608
|
+
Get Environment URL/DNS Compatible Name.
|
|
2609
|
+
|
|
2610
|
+
*Example*
|
|
2611
|
+
|
|
2612
|
+
```typescript
|
|
2613
|
+
'mock1'
|
|
2614
|
+
'mock2'
|
|
2615
|
+
'mock3'
|
|
2616
|
+
'development'
|
|
2617
|
+
'feature-foo-bar'
|
|
2618
|
+
'feature-abc-123-new-stuff'
|
|
2619
|
+
'test'
|
|
2620
|
+
'staging'
|
|
2621
|
+
'qa1'
|
|
2622
|
+
'qa2'
|
|
2623
|
+
'qa3'
|
|
2624
|
+
'preproduction'
|
|
2625
|
+
'production'
|
|
2626
|
+
```
|
|
2627
|
+
|
|
2628
|
+
|
|
2629
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.EnvironmentContext.getUrlName.parameter.scope"></a>
|
|
2630
|
+
|
|
2631
|
+
- *Type:* constructs.Construct
|
|
2632
|
+
|
|
2633
|
+
Construct.
|
|
2634
|
+
|
|
2635
|
+
---
|
|
2636
|
+
|
|
2637
|
+
##### `isDevelopment` <a name="isDevelopment" id="@alma-cdk/project.EnvironmentContext.isDevelopment"></a>
|
|
2638
|
+
|
|
2639
|
+
```typescript
|
|
2640
|
+
import { EnvironmentContext } from '@alma-cdk/project'
|
|
2641
|
+
|
|
2642
|
+
EnvironmentContext.isDevelopment(scope: Construct)
|
|
2643
|
+
```
|
|
2644
|
+
|
|
2645
|
+
Check if Environment is part of `development` category.
|
|
2646
|
+
|
|
2647
|
+
Returns true for `development`, otherwise `false`.
|
|
2648
|
+
|
|
2649
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.EnvironmentContext.isDevelopment.parameter.scope"></a>
|
|
2650
|
+
|
|
2651
|
+
- *Type:* constructs.Construct
|
|
2652
|
+
|
|
2653
|
+
Construct.
|
|
2654
|
+
|
|
2655
|
+
---
|
|
2656
|
+
|
|
2657
|
+
##### `isFeature` <a name="isFeature" id="@alma-cdk/project.EnvironmentContext.isFeature"></a>
|
|
2658
|
+
|
|
2659
|
+
```typescript
|
|
2660
|
+
import { EnvironmentContext } from '@alma-cdk/project'
|
|
2661
|
+
|
|
2662
|
+
EnvironmentContext.isFeature(scope: Construct)
|
|
2663
|
+
```
|
|
2664
|
+
|
|
2665
|
+
Check if Environment is part of `feature` category.
|
|
2666
|
+
|
|
2667
|
+
Returns `true` for environments with name beginning with `feature/`-prefix, otherwise `false`.
|
|
2668
|
+
|
|
2669
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.EnvironmentContext.isFeature.parameter.scope"></a>
|
|
2670
|
+
|
|
2671
|
+
- *Type:* constructs.Construct
|
|
2672
|
+
|
|
2673
|
+
Construct.
|
|
2674
|
+
|
|
2675
|
+
---
|
|
2676
|
+
|
|
2677
|
+
##### `isMock` <a name="isMock" id="@alma-cdk/project.EnvironmentContext.isMock"></a>
|
|
2678
|
+
|
|
2679
|
+
```typescript
|
|
2680
|
+
import { EnvironmentContext } from '@alma-cdk/project'
|
|
2681
|
+
|
|
2682
|
+
EnvironmentContext.isMock(scope: Construct)
|
|
2683
|
+
```
|
|
2684
|
+
|
|
2685
|
+
Check if Environment is part of `mock` category.
|
|
2686
|
+
|
|
2687
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.EnvironmentContext.isMock.parameter.scope"></a>
|
|
2688
|
+
|
|
2689
|
+
- *Type:* constructs.Construct
|
|
2690
|
+
|
|
2691
|
+
Construct.
|
|
2692
|
+
|
|
2693
|
+
---
|
|
2694
|
+
|
|
2695
|
+
##### `isStable` <a name="isStable" id="@alma-cdk/project.EnvironmentContext.isStable"></a>
|
|
2696
|
+
|
|
2697
|
+
```typescript
|
|
2698
|
+
import { EnvironmentContext } from '@alma-cdk/project'
|
|
2699
|
+
|
|
2700
|
+
EnvironmentContext.isStable(scope: Construct)
|
|
2701
|
+
```
|
|
2702
|
+
|
|
2703
|
+
Check if Environment is part of `stable` category.
|
|
2704
|
+
|
|
2705
|
+
Returns `true` for `staging` & `production`, otherwise `false`.
|
|
2706
|
+
|
|
2707
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.EnvironmentContext.isStable.parameter.scope"></a>
|
|
2708
|
+
|
|
2709
|
+
- *Type:* constructs.Construct
|
|
2710
|
+
|
|
2711
|
+
Construct.
|
|
2712
|
+
|
|
2713
|
+
---
|
|
2714
|
+
|
|
2715
|
+
##### `isVerification` <a name="isVerification" id="@alma-cdk/project.EnvironmentContext.isVerification"></a>
|
|
2716
|
+
|
|
2717
|
+
```typescript
|
|
2718
|
+
import { EnvironmentContext } from '@alma-cdk/project'
|
|
2719
|
+
|
|
2720
|
+
EnvironmentContext.isVerification(scope: Construct)
|
|
2721
|
+
```
|
|
2722
|
+
|
|
2723
|
+
Check if Environment is part of `verification` category.
|
|
2724
|
+
|
|
2725
|
+
Returns `true` for `test` & `preproduction`, otherwise `false`.
|
|
2726
|
+
|
|
2727
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.EnvironmentContext.isVerification.parameter.scope"></a>
|
|
2728
|
+
|
|
2729
|
+
- *Type:* constructs.Construct
|
|
2730
|
+
|
|
2731
|
+
Construct.
|
|
2732
|
+
|
|
2733
|
+
---
|
|
2734
|
+
|
|
2735
|
+
|
|
2736
|
+
|
|
2737
|
+
### EnvironmentType <a name="EnvironmentType" id="@alma-cdk/project.EnvironmentType"></a>
|
|
2738
|
+
|
|
2739
|
+
Internal class to handle set/get operations for Environment Type.
|
|
2740
|
+
|
|
2741
|
+
#### Initializers <a name="Initializers" id="@alma-cdk/project.EnvironmentType.Initializer"></a>
|
|
2742
|
+
|
|
2743
|
+
```typescript
|
|
2744
|
+
import { EnvironmentType } from '@alma-cdk/project'
|
|
2745
|
+
|
|
2746
|
+
new EnvironmentType()
|
|
2747
|
+
```
|
|
2748
|
+
|
|
2749
|
+
| **Name** | **Type** | **Description** |
|
|
2750
|
+
| --- | --- | --- |
|
|
2751
|
+
|
|
2752
|
+
---
|
|
2753
|
+
|
|
2754
|
+
|
|
2755
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
2756
|
+
|
|
2757
|
+
| **Name** | **Description** |
|
|
2758
|
+
| --- | --- |
|
|
2759
|
+
| <code><a href="#@alma-cdk/project.EnvironmentType.get">get</a></code> | *No description.* |
|
|
2760
|
+
| <code><a href="#@alma-cdk/project.EnvironmentType.set">set</a></code> | *No description.* |
|
|
2761
|
+
| <code><a href="#@alma-cdk/project.EnvironmentType.tryGet">tryGet</a></code> | *No description.* |
|
|
2762
|
+
|
|
2763
|
+
---
|
|
2764
|
+
|
|
2765
|
+
##### `get` <a name="get" id="@alma-cdk/project.EnvironmentType.get"></a>
|
|
2766
|
+
|
|
2767
|
+
```typescript
|
|
2768
|
+
import { EnvironmentType } from '@alma-cdk/project'
|
|
2769
|
+
|
|
2770
|
+
EnvironmentType.get(scope: Construct, allowedEnvironments: string[])
|
|
2771
|
+
```
|
|
2772
|
+
|
|
2773
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.EnvironmentType.get.parameter.scope"></a>
|
|
2774
|
+
|
|
2775
|
+
- *Type:* constructs.Construct
|
|
2776
|
+
|
|
2777
|
+
---
|
|
2778
|
+
|
|
2779
|
+
###### `allowedEnvironments`<sup>Required</sup> <a name="allowedEnvironments" id="@alma-cdk/project.EnvironmentType.get.parameter.allowedEnvironments"></a>
|
|
2780
|
+
|
|
2781
|
+
- *Type:* string[]
|
|
2782
|
+
|
|
2783
|
+
---
|
|
2784
|
+
|
|
2785
|
+
##### `set` <a name="set" id="@alma-cdk/project.EnvironmentType.set"></a>
|
|
2786
|
+
|
|
2787
|
+
```typescript
|
|
2788
|
+
import { EnvironmentType } from '@alma-cdk/project'
|
|
2789
|
+
|
|
2790
|
+
EnvironmentType.set(scope: Construct, environmentType: string)
|
|
2791
|
+
```
|
|
2792
|
+
|
|
2793
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.EnvironmentType.set.parameter.scope"></a>
|
|
2794
|
+
|
|
2795
|
+
- *Type:* constructs.Construct
|
|
2796
|
+
|
|
2797
|
+
---
|
|
2798
|
+
|
|
2799
|
+
###### `environmentType`<sup>Required</sup> <a name="environmentType" id="@alma-cdk/project.EnvironmentType.set.parameter.environmentType"></a>
|
|
2800
|
+
|
|
2801
|
+
- *Type:* string
|
|
2802
|
+
|
|
2803
|
+
---
|
|
2804
|
+
|
|
2805
|
+
##### `tryGet` <a name="tryGet" id="@alma-cdk/project.EnvironmentType.tryGet"></a>
|
|
2806
|
+
|
|
2807
|
+
```typescript
|
|
2808
|
+
import { EnvironmentType } from '@alma-cdk/project'
|
|
2809
|
+
|
|
2810
|
+
EnvironmentType.tryGet(scope: Construct)
|
|
2811
|
+
```
|
|
2812
|
+
|
|
2813
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.EnvironmentType.tryGet.parameter.scope"></a>
|
|
2814
|
+
|
|
2815
|
+
- *Type:* constructs.Construct
|
|
2816
|
+
|
|
2817
|
+
---
|
|
2818
|
+
|
|
2819
|
+
|
|
2820
|
+
|
|
2821
|
+
### EnvRegExp <a name="EnvRegExp" id="@alma-cdk/project.EnvRegExp"></a>
|
|
2822
|
+
|
|
2823
|
+
#### Initializers <a name="Initializers" id="@alma-cdk/project.EnvRegExp.Initializer"></a>
|
|
2824
|
+
|
|
2825
|
+
```typescript
|
|
2826
|
+
import { EnvRegExp } from '@alma-cdk/project'
|
|
2827
|
+
|
|
2828
|
+
new EnvRegExp(base: string)
|
|
2829
|
+
```
|
|
2830
|
+
|
|
2831
|
+
| **Name** | **Type** | **Description** |
|
|
2832
|
+
| --- | --- | --- |
|
|
2833
|
+
| <code><a href="#@alma-cdk/project.EnvRegExp.Initializer.parameter.base">base</a></code> | <code>string</code> | *No description.* |
|
|
2834
|
+
|
|
2835
|
+
---
|
|
2836
|
+
|
|
2837
|
+
##### `base`<sup>Required</sup> <a name="base" id="@alma-cdk/project.EnvRegExp.Initializer.parameter.base"></a>
|
|
2838
|
+
|
|
2839
|
+
- *Type:* string
|
|
2840
|
+
|
|
2841
|
+
---
|
|
2842
|
+
|
|
2843
|
+
#### Methods <a name="Methods" id="Methods"></a>
|
|
2844
|
+
|
|
2845
|
+
| **Name** | **Description** |
|
|
2846
|
+
| --- | --- |
|
|
2847
|
+
| <code><a href="#@alma-cdk/project.EnvRegExp.test">test</a></code> | *No description.* |
|
|
2848
|
+
|
|
2849
|
+
---
|
|
2850
|
+
|
|
2851
|
+
##### `test` <a name="test" id="@alma-cdk/project.EnvRegExp.test"></a>
|
|
2852
|
+
|
|
2853
|
+
```typescript
|
|
2854
|
+
public test(value: string): boolean
|
|
2855
|
+
```
|
|
2856
|
+
|
|
2857
|
+
###### `value`<sup>Required</sup> <a name="value" id="@alma-cdk/project.EnvRegExp.test.parameter.value"></a>
|
|
2858
|
+
|
|
2859
|
+
- *Type:* string
|
|
2860
|
+
|
|
2861
|
+
---
|
|
2862
|
+
|
|
2863
|
+
|
|
2864
|
+
|
|
2865
|
+
|
|
2866
|
+
### Name <a name="Name" id="@alma-cdk/project.Name"></a>
|
|
2867
|
+
|
|
2868
|
+
#### Initializers <a name="Initializers" id="@alma-cdk/project.Name.Initializer"></a>
|
|
2869
|
+
|
|
2870
|
+
```typescript
|
|
2871
|
+
import { Name } from '@alma-cdk/project'
|
|
2872
|
+
|
|
2873
|
+
new Name()
|
|
2874
|
+
```
|
|
2875
|
+
|
|
2876
|
+
| **Name** | **Type** | **Description** |
|
|
2877
|
+
| --- | --- | --- |
|
|
2878
|
+
|
|
2879
|
+
---
|
|
2880
|
+
|
|
2881
|
+
|
|
2882
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
2883
|
+
|
|
2884
|
+
| **Name** | **Description** |
|
|
2885
|
+
| --- | --- |
|
|
2886
|
+
| <code><a href="#@alma-cdk/project.Name.globally">globally</a></code> | PascalCase naming with global prefixes (org, project…). |
|
|
2887
|
+
| <code><a href="#@alma-cdk/project.Name.it">it</a></code> | *No description.* |
|
|
2888
|
+
| <code><a href="#@alma-cdk/project.Name.withProject">withProject</a></code> | *No description.* |
|
|
2889
|
+
|
|
2890
|
+
---
|
|
2891
|
+
|
|
2892
|
+
##### `globally` <a name="globally" id="@alma-cdk/project.Name.globally"></a>
|
|
2893
|
+
|
|
2894
|
+
```typescript
|
|
2895
|
+
import { Name } from '@alma-cdk/project'
|
|
2896
|
+
|
|
2897
|
+
Name.globally(scope: Construct, baseName: string, props?: NameProps)
|
|
2898
|
+
```
|
|
2899
|
+
|
|
2900
|
+
PascalCase naming with global prefixes (org, project…).
|
|
2901
|
+
|
|
2902
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.Name.globally.parameter.scope"></a>
|
|
2903
|
+
|
|
2904
|
+
- *Type:* constructs.Construct
|
|
2905
|
+
|
|
2906
|
+
---
|
|
2907
|
+
|
|
2908
|
+
###### `baseName`<sup>Required</sup> <a name="baseName" id="@alma-cdk/project.Name.globally.parameter.baseName"></a>
|
|
2909
|
+
|
|
2910
|
+
- *Type:* string
|
|
2911
|
+
|
|
2912
|
+
---
|
|
2913
|
+
|
|
2914
|
+
###### `props`<sup>Optional</sup> <a name="props" id="@alma-cdk/project.Name.globally.parameter.props"></a>
|
|
2915
|
+
|
|
2916
|
+
- *Type:* <a href="#@alma-cdk/project.NameProps">NameProps</a>
|
|
2917
|
+
|
|
2918
|
+
---
|
|
2919
|
+
|
|
2920
|
+
##### `it` <a name="it" id="@alma-cdk/project.Name.it"></a>
|
|
2921
|
+
|
|
2922
|
+
```typescript
|
|
2923
|
+
import { Name } from '@alma-cdk/project'
|
|
2924
|
+
|
|
2925
|
+
Name.it(scope: Construct, baseName: string, props?: NameProps)
|
|
2926
|
+
```
|
|
2927
|
+
|
|
2928
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.Name.it.parameter.scope"></a>
|
|
2929
|
+
|
|
2930
|
+
- *Type:* constructs.Construct
|
|
2931
|
+
|
|
2932
|
+
---
|
|
2933
|
+
|
|
2934
|
+
###### `baseName`<sup>Required</sup> <a name="baseName" id="@alma-cdk/project.Name.it.parameter.baseName"></a>
|
|
2935
|
+
|
|
2936
|
+
- *Type:* string
|
|
2937
|
+
|
|
2938
|
+
---
|
|
2939
|
+
|
|
2940
|
+
###### `props`<sup>Optional</sup> <a name="props" id="@alma-cdk/project.Name.it.parameter.props"></a>
|
|
2941
|
+
|
|
2942
|
+
- *Type:* <a href="#@alma-cdk/project.NameProps">NameProps</a>
|
|
2943
|
+
|
|
2944
|
+
---
|
|
2945
|
+
|
|
2946
|
+
##### `withProject` <a name="withProject" id="@alma-cdk/project.Name.withProject"></a>
|
|
2947
|
+
|
|
2948
|
+
```typescript
|
|
2949
|
+
import { Name } from '@alma-cdk/project'
|
|
2950
|
+
|
|
2951
|
+
Name.withProject(scope: Construct, baseName: string, props?: NameProps)
|
|
2952
|
+
```
|
|
2953
|
+
|
|
2954
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.Name.withProject.parameter.scope"></a>
|
|
2955
|
+
|
|
2956
|
+
- *Type:* constructs.Construct
|
|
2957
|
+
|
|
2958
|
+
---
|
|
2959
|
+
|
|
2960
|
+
###### `baseName`<sup>Required</sup> <a name="baseName" id="@alma-cdk/project.Name.withProject.parameter.baseName"></a>
|
|
2961
|
+
|
|
2962
|
+
- *Type:* string
|
|
2963
|
+
|
|
2964
|
+
---
|
|
2965
|
+
|
|
2966
|
+
###### `props`<sup>Optional</sup> <a name="props" id="@alma-cdk/project.Name.withProject.parameter.props"></a>
|
|
2967
|
+
|
|
2968
|
+
- *Type:* <a href="#@alma-cdk/project.NameProps">NameProps</a>
|
|
2969
|
+
|
|
2970
|
+
---
|
|
2971
|
+
|
|
2972
|
+
|
|
2973
|
+
|
|
2974
|
+
### PathName <a name="PathName" id="@alma-cdk/project.PathName"></a>
|
|
2975
|
+
|
|
2976
|
+
#### Initializers <a name="Initializers" id="@alma-cdk/project.PathName.Initializer"></a>
|
|
2977
|
+
|
|
2978
|
+
```typescript
|
|
2979
|
+
import { PathName } from '@alma-cdk/project'
|
|
2980
|
+
|
|
2981
|
+
new PathName()
|
|
2982
|
+
```
|
|
2983
|
+
|
|
2984
|
+
| **Name** | **Type** | **Description** |
|
|
2985
|
+
| --- | --- | --- |
|
|
2986
|
+
|
|
2987
|
+
---
|
|
2988
|
+
|
|
2989
|
+
|
|
2990
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
2991
|
+
|
|
2992
|
+
| **Name** | **Description** |
|
|
2993
|
+
| --- | --- |
|
|
2994
|
+
| <code><a href="#@alma-cdk/project.PathName.globally">globally</a></code> | *No description.* |
|
|
2995
|
+
| <code><a href="#@alma-cdk/project.PathName.it">it</a></code> | *No description.* |
|
|
2996
|
+
| <code><a href="#@alma-cdk/project.PathName.withProject">withProject</a></code> | *No description.* |
|
|
2997
|
+
|
|
2998
|
+
---
|
|
2999
|
+
|
|
3000
|
+
##### `globally` <a name="globally" id="@alma-cdk/project.PathName.globally"></a>
|
|
3001
|
+
|
|
3002
|
+
```typescript
|
|
3003
|
+
import { PathName } from '@alma-cdk/project'
|
|
3004
|
+
|
|
3005
|
+
PathName.globally(scope: Construct, baseName: string, props?: NameProps)
|
|
3006
|
+
```
|
|
3007
|
+
|
|
3008
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.PathName.globally.parameter.scope"></a>
|
|
3009
|
+
|
|
3010
|
+
- *Type:* constructs.Construct
|
|
3011
|
+
|
|
3012
|
+
---
|
|
3013
|
+
|
|
3014
|
+
###### `baseName`<sup>Required</sup> <a name="baseName" id="@alma-cdk/project.PathName.globally.parameter.baseName"></a>
|
|
3015
|
+
|
|
3016
|
+
- *Type:* string
|
|
3017
|
+
|
|
3018
|
+
---
|
|
3019
|
+
|
|
3020
|
+
###### `props`<sup>Optional</sup> <a name="props" id="@alma-cdk/project.PathName.globally.parameter.props"></a>
|
|
3021
|
+
|
|
3022
|
+
- *Type:* <a href="#@alma-cdk/project.NameProps">NameProps</a>
|
|
3023
|
+
|
|
3024
|
+
---
|
|
3025
|
+
|
|
3026
|
+
##### `it` <a name="it" id="@alma-cdk/project.PathName.it"></a>
|
|
3027
|
+
|
|
3028
|
+
```typescript
|
|
3029
|
+
import { PathName } from '@alma-cdk/project'
|
|
3030
|
+
|
|
3031
|
+
PathName.it(scope: Construct, baseName: string, props?: NameProps)
|
|
3032
|
+
```
|
|
3033
|
+
|
|
3034
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.PathName.it.parameter.scope"></a>
|
|
3035
|
+
|
|
3036
|
+
- *Type:* constructs.Construct
|
|
3037
|
+
|
|
3038
|
+
---
|
|
3039
|
+
|
|
3040
|
+
###### `baseName`<sup>Required</sup> <a name="baseName" id="@alma-cdk/project.PathName.it.parameter.baseName"></a>
|
|
3041
|
+
|
|
3042
|
+
- *Type:* string
|
|
3043
|
+
|
|
3044
|
+
---
|
|
3045
|
+
|
|
3046
|
+
###### `props`<sup>Optional</sup> <a name="props" id="@alma-cdk/project.PathName.it.parameter.props"></a>
|
|
3047
|
+
|
|
3048
|
+
- *Type:* <a href="#@alma-cdk/project.NameProps">NameProps</a>
|
|
3049
|
+
|
|
3050
|
+
---
|
|
3051
|
+
|
|
3052
|
+
##### `withProject` <a name="withProject" id="@alma-cdk/project.PathName.withProject"></a>
|
|
3053
|
+
|
|
3054
|
+
```typescript
|
|
3055
|
+
import { PathName } from '@alma-cdk/project'
|
|
3056
|
+
|
|
3057
|
+
PathName.withProject(scope: Construct, baseName: string, props?: NameProps)
|
|
3058
|
+
```
|
|
3059
|
+
|
|
3060
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.PathName.withProject.parameter.scope"></a>
|
|
3061
|
+
|
|
3062
|
+
- *Type:* constructs.Construct
|
|
3063
|
+
|
|
3064
|
+
---
|
|
3065
|
+
|
|
3066
|
+
###### `baseName`<sup>Required</sup> <a name="baseName" id="@alma-cdk/project.PathName.withProject.parameter.baseName"></a>
|
|
3067
|
+
|
|
3068
|
+
- *Type:* string
|
|
3069
|
+
|
|
3070
|
+
---
|
|
3071
|
+
|
|
3072
|
+
###### `props`<sup>Optional</sup> <a name="props" id="@alma-cdk/project.PathName.withProject.parameter.props"></a>
|
|
3073
|
+
|
|
3074
|
+
- *Type:* <a href="#@alma-cdk/project.NameProps">NameProps</a>
|
|
3075
|
+
|
|
3076
|
+
---
|
|
3077
|
+
|
|
3078
|
+
|
|
3079
|
+
|
|
3080
|
+
### ProjectContext <a name="ProjectContext" id="@alma-cdk/project.ProjectContext"></a>
|
|
3081
|
+
|
|
3082
|
+
#### Initializers <a name="Initializers" id="@alma-cdk/project.ProjectContext.Initializer"></a>
|
|
3083
|
+
|
|
3084
|
+
```typescript
|
|
3085
|
+
import { ProjectContext } from '@alma-cdk/project'
|
|
3086
|
+
|
|
3087
|
+
new ProjectContext()
|
|
3088
|
+
```
|
|
3089
|
+
|
|
3090
|
+
| **Name** | **Type** | **Description** |
|
|
3091
|
+
| --- | --- | --- |
|
|
3092
|
+
|
|
3093
|
+
---
|
|
3094
|
+
|
|
3095
|
+
|
|
3096
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
3097
|
+
|
|
3098
|
+
| **Name** | **Description** |
|
|
3099
|
+
| --- | --- |
|
|
3100
|
+
| <code><a href="#@alma-cdk/project.ProjectContext.getAccountConfig">getAccountConfig</a></code> | *No description.* |
|
|
3101
|
+
| <code><a href="#@alma-cdk/project.ProjectContext.getAccountId">getAccountId</a></code> | *No description.* |
|
|
3102
|
+
| <code><a href="#@alma-cdk/project.ProjectContext.getAccountType">getAccountType</a></code> | Returns the account type given in runtime/CLI context. |
|
|
3103
|
+
| <code><a href="#@alma-cdk/project.ProjectContext.getAllowedEnvironments">getAllowedEnvironments</a></code> | *No description.* |
|
|
3104
|
+
| <code><a href="#@alma-cdk/project.ProjectContext.getAuthorEmail">getAuthorEmail</a></code> | *No description.* |
|
|
3105
|
+
| <code><a href="#@alma-cdk/project.ProjectContext.getAuthorName">getAuthorName</a></code> | *No description.* |
|
|
3106
|
+
| <code><a href="#@alma-cdk/project.ProjectContext.getAuthorOrganization">getAuthorOrganization</a></code> | *No description.* |
|
|
3107
|
+
| <code><a href="#@alma-cdk/project.ProjectContext.getDefaultRegion">getDefaultRegion</a></code> | *No description.* |
|
|
3108
|
+
| <code><a href="#@alma-cdk/project.ProjectContext.getEnvironment">getEnvironment</a></code> | *No description.* |
|
|
3109
|
+
| <code><a href="#@alma-cdk/project.ProjectContext.getName">getName</a></code> | *No description.* |
|
|
3110
|
+
| <code><a href="#@alma-cdk/project.ProjectContext.tryGetEnvironment">tryGetEnvironment</a></code> | *No description.* |
|
|
3111
|
+
|
|
3112
|
+
---
|
|
3113
|
+
|
|
3114
|
+
##### `getAccountConfig` <a name="getAccountConfig" id="@alma-cdk/project.ProjectContext.getAccountConfig"></a>
|
|
3115
|
+
|
|
3116
|
+
```typescript
|
|
3117
|
+
import { ProjectContext } from '@alma-cdk/project'
|
|
3118
|
+
|
|
3119
|
+
ProjectContext.getAccountConfig(scope: Construct, key: string, defaultValue?: any)
|
|
3120
|
+
```
|
|
3121
|
+
|
|
3122
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.ProjectContext.getAccountConfig.parameter.scope"></a>
|
|
3123
|
+
|
|
3124
|
+
- *Type:* constructs.Construct
|
|
3125
|
+
|
|
3126
|
+
---
|
|
3127
|
+
|
|
3128
|
+
###### `key`<sup>Required</sup> <a name="key" id="@alma-cdk/project.ProjectContext.getAccountConfig.parameter.key"></a>
|
|
3129
|
+
|
|
3130
|
+
- *Type:* string
|
|
3131
|
+
|
|
3132
|
+
---
|
|
3133
|
+
|
|
3134
|
+
###### `defaultValue`<sup>Optional</sup> <a name="defaultValue" id="@alma-cdk/project.ProjectContext.getAccountConfig.parameter.defaultValue"></a>
|
|
3135
|
+
|
|
3136
|
+
- *Type:* any
|
|
3137
|
+
|
|
3138
|
+
---
|
|
3139
|
+
|
|
3140
|
+
##### `getAccountId` <a name="getAccountId" id="@alma-cdk/project.ProjectContext.getAccountId"></a>
|
|
3141
|
+
|
|
3142
|
+
```typescript
|
|
3143
|
+
import { ProjectContext } from '@alma-cdk/project'
|
|
3144
|
+
|
|
3145
|
+
ProjectContext.getAccountId(scope: Construct)
|
|
3146
|
+
```
|
|
3147
|
+
|
|
3148
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.ProjectContext.getAccountId.parameter.scope"></a>
|
|
3149
|
+
|
|
3150
|
+
- *Type:* constructs.Construct
|
|
3151
|
+
|
|
3152
|
+
---
|
|
3153
|
+
|
|
3154
|
+
##### `getAccountType` <a name="getAccountType" id="@alma-cdk/project.ProjectContext.getAccountType"></a>
|
|
3155
|
+
|
|
3156
|
+
```typescript
|
|
3157
|
+
import { ProjectContext } from '@alma-cdk/project'
|
|
3158
|
+
|
|
3159
|
+
ProjectContext.getAccountType(scope: Construct)
|
|
3160
|
+
```
|
|
3161
|
+
|
|
3162
|
+
Returns the account type given in runtime/CLI context.
|
|
3163
|
+
|
|
3164
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.ProjectContext.getAccountType.parameter.scope"></a>
|
|
3165
|
+
|
|
3166
|
+
- *Type:* constructs.Construct
|
|
3167
|
+
|
|
3168
|
+
---
|
|
3169
|
+
|
|
3170
|
+
##### `getAllowedEnvironments` <a name="getAllowedEnvironments" id="@alma-cdk/project.ProjectContext.getAllowedEnvironments"></a>
|
|
3171
|
+
|
|
3172
|
+
```typescript
|
|
3173
|
+
import { ProjectContext } from '@alma-cdk/project'
|
|
3174
|
+
|
|
3175
|
+
ProjectContext.getAllowedEnvironments(scope: Construct)
|
|
3176
|
+
```
|
|
3177
|
+
|
|
3178
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.ProjectContext.getAllowedEnvironments.parameter.scope"></a>
|
|
3179
|
+
|
|
3180
|
+
- *Type:* constructs.Construct
|
|
3181
|
+
|
|
3182
|
+
---
|
|
3183
|
+
|
|
3184
|
+
##### `getAuthorEmail` <a name="getAuthorEmail" id="@alma-cdk/project.ProjectContext.getAuthorEmail"></a>
|
|
3185
|
+
|
|
3186
|
+
```typescript
|
|
3187
|
+
import { ProjectContext } from '@alma-cdk/project'
|
|
3188
|
+
|
|
3189
|
+
ProjectContext.getAuthorEmail(scope: Construct)
|
|
3190
|
+
```
|
|
3191
|
+
|
|
3192
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.ProjectContext.getAuthorEmail.parameter.scope"></a>
|
|
3193
|
+
|
|
3194
|
+
- *Type:* constructs.Construct
|
|
3195
|
+
|
|
3196
|
+
---
|
|
3197
|
+
|
|
3198
|
+
##### `getAuthorName` <a name="getAuthorName" id="@alma-cdk/project.ProjectContext.getAuthorName"></a>
|
|
3199
|
+
|
|
3200
|
+
```typescript
|
|
3201
|
+
import { ProjectContext } from '@alma-cdk/project'
|
|
3202
|
+
|
|
3203
|
+
ProjectContext.getAuthorName(scope: Construct)
|
|
3204
|
+
```
|
|
3205
|
+
|
|
3206
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.ProjectContext.getAuthorName.parameter.scope"></a>
|
|
3207
|
+
|
|
3208
|
+
- *Type:* constructs.Construct
|
|
3209
|
+
|
|
3210
|
+
---
|
|
3211
|
+
|
|
3212
|
+
##### `getAuthorOrganization` <a name="getAuthorOrganization" id="@alma-cdk/project.ProjectContext.getAuthorOrganization"></a>
|
|
3213
|
+
|
|
3214
|
+
```typescript
|
|
3215
|
+
import { ProjectContext } from '@alma-cdk/project'
|
|
3216
|
+
|
|
3217
|
+
ProjectContext.getAuthorOrganization(scope: Construct)
|
|
3218
|
+
```
|
|
3219
|
+
|
|
3220
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.ProjectContext.getAuthorOrganization.parameter.scope"></a>
|
|
3221
|
+
|
|
3222
|
+
- *Type:* constructs.Construct
|
|
3223
|
+
|
|
3224
|
+
---
|
|
3225
|
+
|
|
3226
|
+
##### `getDefaultRegion` <a name="getDefaultRegion" id="@alma-cdk/project.ProjectContext.getDefaultRegion"></a>
|
|
3227
|
+
|
|
3228
|
+
```typescript
|
|
3229
|
+
import { ProjectContext } from '@alma-cdk/project'
|
|
3230
|
+
|
|
3231
|
+
ProjectContext.getDefaultRegion(scope: Construct)
|
|
3232
|
+
```
|
|
3233
|
+
|
|
3234
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.ProjectContext.getDefaultRegion.parameter.scope"></a>
|
|
3235
|
+
|
|
3236
|
+
- *Type:* constructs.Construct
|
|
3237
|
+
|
|
3238
|
+
---
|
|
3239
|
+
|
|
3240
|
+
##### `getEnvironment` <a name="getEnvironment" id="@alma-cdk/project.ProjectContext.getEnvironment"></a>
|
|
3241
|
+
|
|
3242
|
+
```typescript
|
|
3243
|
+
import { ProjectContext } from '@alma-cdk/project'
|
|
3244
|
+
|
|
3245
|
+
ProjectContext.getEnvironment(scope: Construct)
|
|
3246
|
+
```
|
|
3247
|
+
|
|
3248
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.ProjectContext.getEnvironment.parameter.scope"></a>
|
|
3249
|
+
|
|
3250
|
+
- *Type:* constructs.Construct
|
|
3251
|
+
|
|
3252
|
+
---
|
|
3253
|
+
|
|
3254
|
+
##### `getName` <a name="getName" id="@alma-cdk/project.ProjectContext.getName"></a>
|
|
3255
|
+
|
|
3256
|
+
```typescript
|
|
3257
|
+
import { ProjectContext } from '@alma-cdk/project'
|
|
3258
|
+
|
|
3259
|
+
ProjectContext.getName(scope: Construct)
|
|
3260
|
+
```
|
|
3261
|
+
|
|
3262
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.ProjectContext.getName.parameter.scope"></a>
|
|
3263
|
+
|
|
3264
|
+
- *Type:* constructs.Construct
|
|
3265
|
+
|
|
3266
|
+
---
|
|
3267
|
+
|
|
3268
|
+
##### `tryGetEnvironment` <a name="tryGetEnvironment" id="@alma-cdk/project.ProjectContext.tryGetEnvironment"></a>
|
|
3269
|
+
|
|
3270
|
+
```typescript
|
|
3271
|
+
import { ProjectContext } from '@alma-cdk/project'
|
|
3272
|
+
|
|
3273
|
+
ProjectContext.tryGetEnvironment(scope: Construct)
|
|
3274
|
+
```
|
|
3275
|
+
|
|
3276
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.ProjectContext.tryGetEnvironment.parameter.scope"></a>
|
|
3277
|
+
|
|
3278
|
+
- *Type:* constructs.Construct
|
|
3279
|
+
|
|
3280
|
+
---
|
|
3281
|
+
|
|
3282
|
+
|
|
3283
|
+
|
|
3284
|
+
### UrlName <a name="UrlName" id="@alma-cdk/project.UrlName"></a>
|
|
3285
|
+
|
|
3286
|
+
#### Initializers <a name="Initializers" id="@alma-cdk/project.UrlName.Initializer"></a>
|
|
3287
|
+
|
|
3288
|
+
```typescript
|
|
3289
|
+
import { UrlName } from '@alma-cdk/project'
|
|
3290
|
+
|
|
3291
|
+
new UrlName()
|
|
3292
|
+
```
|
|
3293
|
+
|
|
3294
|
+
| **Name** | **Type** | **Description** |
|
|
3295
|
+
| --- | --- | --- |
|
|
3296
|
+
|
|
3297
|
+
---
|
|
3298
|
+
|
|
3299
|
+
|
|
3300
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
3301
|
+
|
|
3302
|
+
| **Name** | **Description** |
|
|
3303
|
+
| --- | --- |
|
|
3304
|
+
| <code><a href="#@alma-cdk/project.UrlName.globally">globally</a></code> | *No description.* |
|
|
3305
|
+
| <code><a href="#@alma-cdk/project.UrlName.it">it</a></code> | *No description.* |
|
|
3306
|
+
| <code><a href="#@alma-cdk/project.UrlName.withProject">withProject</a></code> | *No description.* |
|
|
3307
|
+
|
|
3308
|
+
---
|
|
3309
|
+
|
|
3310
|
+
##### `globally` <a name="globally" id="@alma-cdk/project.UrlName.globally"></a>
|
|
3311
|
+
|
|
3312
|
+
```typescript
|
|
3313
|
+
import { UrlName } from '@alma-cdk/project'
|
|
3314
|
+
|
|
3315
|
+
UrlName.globally(scope: Construct, baseName: string, props?: NameProps)
|
|
3316
|
+
```
|
|
3317
|
+
|
|
3318
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.UrlName.globally.parameter.scope"></a>
|
|
3319
|
+
|
|
3320
|
+
- *Type:* constructs.Construct
|
|
3321
|
+
|
|
3322
|
+
---
|
|
3323
|
+
|
|
3324
|
+
###### `baseName`<sup>Required</sup> <a name="baseName" id="@alma-cdk/project.UrlName.globally.parameter.baseName"></a>
|
|
3325
|
+
|
|
3326
|
+
- *Type:* string
|
|
3327
|
+
|
|
3328
|
+
---
|
|
3329
|
+
|
|
3330
|
+
###### `props`<sup>Optional</sup> <a name="props" id="@alma-cdk/project.UrlName.globally.parameter.props"></a>
|
|
3331
|
+
|
|
3332
|
+
- *Type:* <a href="#@alma-cdk/project.NameProps">NameProps</a>
|
|
3333
|
+
|
|
3334
|
+
---
|
|
3335
|
+
|
|
3336
|
+
##### `it` <a name="it" id="@alma-cdk/project.UrlName.it"></a>
|
|
3337
|
+
|
|
3338
|
+
```typescript
|
|
3339
|
+
import { UrlName } from '@alma-cdk/project'
|
|
3340
|
+
|
|
3341
|
+
UrlName.it(scope: Construct, baseName: string, props?: NameProps)
|
|
3342
|
+
```
|
|
3343
|
+
|
|
3344
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.UrlName.it.parameter.scope"></a>
|
|
3345
|
+
|
|
3346
|
+
- *Type:* constructs.Construct
|
|
3347
|
+
|
|
3348
|
+
---
|
|
3349
|
+
|
|
3350
|
+
###### `baseName`<sup>Required</sup> <a name="baseName" id="@alma-cdk/project.UrlName.it.parameter.baseName"></a>
|
|
3351
|
+
|
|
3352
|
+
- *Type:* string
|
|
3353
|
+
|
|
3354
|
+
---
|
|
3355
|
+
|
|
3356
|
+
###### `props`<sup>Optional</sup> <a name="props" id="@alma-cdk/project.UrlName.it.parameter.props"></a>
|
|
3357
|
+
|
|
3358
|
+
- *Type:* <a href="#@alma-cdk/project.NameProps">NameProps</a>
|
|
3359
|
+
|
|
3360
|
+
---
|
|
3361
|
+
|
|
3362
|
+
##### `withProject` <a name="withProject" id="@alma-cdk/project.UrlName.withProject"></a>
|
|
3363
|
+
|
|
3364
|
+
```typescript
|
|
3365
|
+
import { UrlName } from '@alma-cdk/project'
|
|
3366
|
+
|
|
3367
|
+
UrlName.withProject(scope: Construct, baseName: string, props?: NameProps)
|
|
3368
|
+
```
|
|
3369
|
+
|
|
3370
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="@alma-cdk/project.UrlName.withProject.parameter.scope"></a>
|
|
3371
|
+
|
|
3372
|
+
- *Type:* constructs.Construct
|
|
3373
|
+
|
|
3374
|
+
---
|
|
3375
|
+
|
|
3376
|
+
###### `baseName`<sup>Required</sup> <a name="baseName" id="@alma-cdk/project.UrlName.withProject.parameter.baseName"></a>
|
|
3377
|
+
|
|
3378
|
+
- *Type:* string
|
|
3379
|
+
|
|
3380
|
+
---
|
|
3381
|
+
|
|
3382
|
+
###### `props`<sup>Optional</sup> <a name="props" id="@alma-cdk/project.UrlName.withProject.parameter.props"></a>
|
|
3383
|
+
|
|
3384
|
+
- *Type:* <a href="#@alma-cdk/project.NameProps">NameProps</a>
|
|
3385
|
+
|
|
3386
|
+
---
|
|
3387
|
+
|
|
3388
|
+
|
|
3389
|
+
|
|
3390
|
+
|
|
3391
|
+
## Enums <a name="Enums" id="Enums"></a>
|
|
3392
|
+
|
|
3393
|
+
### EnvironmentCategory <a name="EnvironmentCategory" id="@alma-cdk/project.EnvironmentCategory"></a>
|
|
3394
|
+
|
|
3395
|
+
Availalbe Enviroment Categories.
|
|
3396
|
+
|
|
3397
|
+
Categories are useful grouping to make distinction between `stable`
|
|
3398
|
+
environments (`staging` & `production`) from `feature` or `verification`
|
|
3399
|
+
environments (such as `test` or `preproduction`).
|
|
3400
|
+
|
|
3401
|
+
#### Members <a name="Members" id="Members"></a>
|
|
3402
|
+
|
|
3403
|
+
| **Name** | **Description** |
|
|
3404
|
+
| --- | --- |
|
|
3405
|
+
| <code><a href="#@alma-cdk/project.EnvironmentCategory.MOCK">MOCK</a></code> | *No description.* |
|
|
3406
|
+
| <code><a href="#@alma-cdk/project.EnvironmentCategory.DEVELOPMENT">DEVELOPMENT</a></code> | *No description.* |
|
|
3407
|
+
| <code><a href="#@alma-cdk/project.EnvironmentCategory.FEATURE">FEATURE</a></code> | *No description.* |
|
|
3408
|
+
| <code><a href="#@alma-cdk/project.EnvironmentCategory.VERIFICATION">VERIFICATION</a></code> | *No description.* |
|
|
3409
|
+
| <code><a href="#@alma-cdk/project.EnvironmentCategory.STABLE">STABLE</a></code> | *No description.* |
|
|
3410
|
+
|
|
3411
|
+
---
|
|
3412
|
+
|
|
3413
|
+
##### `MOCK` <a name="MOCK" id="@alma-cdk/project.EnvironmentCategory.MOCK"></a>
|
|
3414
|
+
|
|
3415
|
+
---
|
|
3416
|
+
|
|
3417
|
+
|
|
3418
|
+
##### `DEVELOPMENT` <a name="DEVELOPMENT" id="@alma-cdk/project.EnvironmentCategory.DEVELOPMENT"></a>
|
|
3419
|
+
|
|
3420
|
+
---
|
|
3421
|
+
|
|
3422
|
+
|
|
3423
|
+
##### `FEATURE` <a name="FEATURE" id="@alma-cdk/project.EnvironmentCategory.FEATURE"></a>
|
|
3424
|
+
|
|
3425
|
+
---
|
|
3426
|
+
|
|
3427
|
+
|
|
3428
|
+
##### `VERIFICATION` <a name="VERIFICATION" id="@alma-cdk/project.EnvironmentCategory.VERIFICATION"></a>
|
|
3429
|
+
|
|
3430
|
+
---
|
|
3431
|
+
|
|
3432
|
+
|
|
3433
|
+
##### `STABLE` <a name="STABLE" id="@alma-cdk/project.EnvironmentCategory.STABLE"></a>
|
|
3434
|
+
|
|
3435
|
+
---
|
|
3436
|
+
|
|
3437
|
+
|
|
3438
|
+
### EnvironmentLabel <a name="EnvironmentLabel" id="@alma-cdk/project.EnvironmentLabel"></a>
|
|
3439
|
+
|
|
3440
|
+
Available Environment Labels.
|
|
3441
|
+
|
|
3442
|
+
Labels are useful since Environment Name can be complex,
|
|
3443
|
+
such as `feature/foo-bar` or `qa3`,
|
|
3444
|
+
but we need to be able to “label” all `feature/*` and `qaN` environments
|
|
3445
|
+
as either `feature` or `qa`.
|
|
3446
|
+
|
|
3447
|
+
#### Members <a name="Members" id="Members"></a>
|
|
3448
|
+
|
|
3449
|
+
| **Name** | **Description** |
|
|
3450
|
+
| --- | --- |
|
|
3451
|
+
| <code><a href="#@alma-cdk/project.EnvironmentLabel.MOCK">MOCK</a></code> | *No description.* |
|
|
3452
|
+
| <code><a href="#@alma-cdk/project.EnvironmentLabel.DEVELOPMENT">DEVELOPMENT</a></code> | *No description.* |
|
|
3453
|
+
| <code><a href="#@alma-cdk/project.EnvironmentLabel.FEATURE">FEATURE</a></code> | *No description.* |
|
|
3454
|
+
| <code><a href="#@alma-cdk/project.EnvironmentLabel.TEST">TEST</a></code> | *No description.* |
|
|
3455
|
+
| <code><a href="#@alma-cdk/project.EnvironmentLabel.STAGING">STAGING</a></code> | *No description.* |
|
|
3456
|
+
| <code><a href="#@alma-cdk/project.EnvironmentLabel.QA">QA</a></code> | *No description.* |
|
|
3457
|
+
| <code><a href="#@alma-cdk/project.EnvironmentLabel.PREPRODUCTION">PREPRODUCTION</a></code> | *No description.* |
|
|
3458
|
+
| <code><a href="#@alma-cdk/project.EnvironmentLabel.PRODUCTION">PRODUCTION</a></code> | *No description.* |
|
|
3459
|
+
|
|
3460
|
+
---
|
|
3461
|
+
|
|
3462
|
+
##### `MOCK` <a name="MOCK" id="@alma-cdk/project.EnvironmentLabel.MOCK"></a>
|
|
3463
|
+
|
|
3464
|
+
---
|
|
3465
|
+
|
|
3466
|
+
|
|
3467
|
+
##### `DEVELOPMENT` <a name="DEVELOPMENT" id="@alma-cdk/project.EnvironmentLabel.DEVELOPMENT"></a>
|
|
3468
|
+
|
|
3469
|
+
---
|
|
3470
|
+
|
|
3471
|
+
|
|
3472
|
+
##### `FEATURE` <a name="FEATURE" id="@alma-cdk/project.EnvironmentLabel.FEATURE"></a>
|
|
3473
|
+
|
|
3474
|
+
---
|
|
3475
|
+
|
|
3476
|
+
|
|
3477
|
+
##### `TEST` <a name="TEST" id="@alma-cdk/project.EnvironmentLabel.TEST"></a>
|
|
3478
|
+
|
|
3479
|
+
---
|
|
3480
|
+
|
|
3481
|
+
|
|
3482
|
+
##### `STAGING` <a name="STAGING" id="@alma-cdk/project.EnvironmentLabel.STAGING"></a>
|
|
3483
|
+
|
|
3484
|
+
---
|
|
3485
|
+
|
|
3486
|
+
|
|
3487
|
+
##### `QA` <a name="QA" id="@alma-cdk/project.EnvironmentLabel.QA"></a>
|
|
3488
|
+
|
|
3489
|
+
---
|
|
3490
|
+
|
|
3491
|
+
|
|
3492
|
+
##### `PREPRODUCTION` <a name="PREPRODUCTION" id="@alma-cdk/project.EnvironmentLabel.PREPRODUCTION"></a>
|
|
3493
|
+
|
|
3494
|
+
---
|
|
3495
|
+
|
|
3496
|
+
|
|
3497
|
+
##### `PRODUCTION` <a name="PRODUCTION" id="@alma-cdk/project.EnvironmentLabel.PRODUCTION"></a>
|
|
3498
|
+
|
|
3499
|
+
---
|
|
3500
|
+
|