@gradientedge/cdk-utils 4.4.2 → 4.4.3
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/app/api-destined-function/package.json +0 -1
- package/package.json +3 -3
- package/app/api-destined-function/node_modules/uuid/dist/bin/uuid +0 -2
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/index.js +0 -9
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/md5.js +0 -215
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/nil.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/parse.js +0 -35
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/regex.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/rng.js +0 -19
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/stringify.js +0 -30
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v1.js +0 -95
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v3.js +0 -4
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v35.js +0 -64
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v4.js +0 -24
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v5.js +0 -4
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/validate.js +0 -7
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/version.js +0 -11
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/index.js +0 -9
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/md5.js +0 -13
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/nil.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/parse.js +0 -35
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/regex.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/rng.js +0 -12
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/sha1.js +0 -13
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/stringify.js +0 -29
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/v1.js +0 -95
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/v3.js +0 -4
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/v35.js +0 -64
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/v4.js +0 -24
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/v5.js +0 -4
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/validate.js +0 -7
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/version.js +0 -11
- package/app/api-destined-function/node_modules/uuid/dist/index.js +0 -79
- package/app/api-destined-function/node_modules/uuid/dist/md5-browser.js +0 -223
- package/app/api-destined-function/node_modules/uuid/dist/md5.js +0 -23
- package/app/api-destined-function/node_modules/uuid/dist/nil.js +0 -8
- package/app/api-destined-function/node_modules/uuid/dist/parse.js +0 -45
- package/app/api-destined-function/node_modules/uuid/dist/regex.js +0 -8
- package/app/api-destined-function/node_modules/uuid/dist/rng-browser.js +0 -26
- package/app/api-destined-function/node_modules/uuid/dist/rng.js +0 -24
- package/app/api-destined-function/node_modules/uuid/dist/sha1-browser.js +0 -104
- package/app/api-destined-function/node_modules/uuid/dist/sha1.js +0 -23
- package/app/api-destined-function/node_modules/uuid/dist/stringify.js +0 -39
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuid.min.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/uuid-bin.js +0 -85
- package/app/api-destined-function/node_modules/uuid/dist/v1.js +0 -107
- package/app/api-destined-function/node_modules/uuid/dist/v3.js +0 -16
- package/app/api-destined-function/node_modules/uuid/dist/v35.js +0 -78
- package/app/api-destined-function/node_modules/uuid/dist/v4.js +0 -37
- package/app/api-destined-function/node_modules/uuid/dist/v5.js +0 -16
- package/app/api-destined-function/node_modules/uuid/dist/validate.js +0 -17
- package/app/api-destined-function/node_modules/uuid/dist/version.js +0 -21
- package/dist/app/api-destined-function/layers/nodejs/node_modules/.bin/uuid +0 -2
- package/dist/app/api-destined-function/layers/nodejs/node_modules/.yarn-integrity +0 -109
- package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/LICENSE +0 -21
- package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/README.md +0 -16
- package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/index.d.mts +0 -10
- package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/index.d.ts +0 -80
- package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/package.json +0 -54
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/LICENSE.md +0 -9
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/README.md +0 -505
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/bin/uuid +0 -2
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/index.js +0 -9
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/md5.js +0 -215
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/nil.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/parse.js +0 -35
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/regex.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/rng.js +0 -19
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/stringify.js +0 -30
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v1.js +0 -95
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v3.js +0 -4
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v35.js +0 -64
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v4.js +0 -24
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v5.js +0 -4
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/validate.js +0 -7
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/version.js +0 -11
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/index.js +0 -9
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/md5.js +0 -13
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/nil.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/parse.js +0 -35
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/regex.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/rng.js +0 -12
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/sha1.js +0 -13
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/stringify.js +0 -29
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v1.js +0 -95
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v3.js +0 -4
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v35.js +0 -64
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v4.js +0 -24
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v5.js +0 -4
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/validate.js +0 -7
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/version.js +0 -11
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/index.js +0 -79
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/md5-browser.js +0 -223
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/md5.js +0 -23
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/nil.js +0 -8
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/parse.js +0 -45
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/regex.js +0 -8
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/rng-browser.js +0 -26
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/rng.js +0 -24
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/sha1-browser.js +0 -104
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/sha1.js +0 -23
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/stringify.js +0 -39
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuid.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/uuid-bin.js +0 -85
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v1.js +0 -107
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v3.js +0 -16
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v35.js +0 -78
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v4.js +0 -37
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v5.js +0 -16
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/validate.js +0 -17
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/version.js +0 -21
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/package.json +0 -135
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/wrapper.mjs +0 -10
- package/dist/app/api-destined-function/layers/nodejs/package.json +0 -30
- package/dist/app/api-destined-function/src/lib/lambda.d.ts +0 -19
- package/dist/app/api-destined-function/src/lib/lambda.d.ts.map +0 -1
- package/dist/app/api-destined-function/src/lib/lambda.js +0 -34
- package/dist/app/api-destined-function/src/lib/lambda.js.map +0 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/src/lib/common/construct.d.ts +0 -80
- package/dist/src/lib/common/construct.d.ts.map +0 -1
- package/dist/src/lib/common/construct.js +0 -134
- package/dist/src/lib/common/construct.js.map +0 -1
- package/dist/src/lib/common/index.d.ts +0 -3
- package/dist/src/lib/common/index.d.ts.map +0 -1
- package/dist/src/lib/common/index.js +0 -15
- package/dist/src/lib/common/index.js.map +0 -1
- package/dist/src/lib/common/stack.d.ts +0 -55
- package/dist/src/lib/common/stack.d.ts.map +0 -1
- package/dist/src/lib/common/stack.js +0 -148
- package/dist/src/lib/common/stack.js.map +0 -1
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destination-event.d.ts +0 -17
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destination-event.d.ts.map +0 -1
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destination-event.js +0 -18
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destination-event.js.map +0 -1
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-lambda.d.ts +0 -20
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-lambda.d.ts.map +0 -1
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-lambda.js +0 -20
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-lambda.js.map +0 -1
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-rest-api.d.ts +0 -36
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-rest-api.d.ts.map +0 -1
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-rest-api.js +0 -30
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-rest-api.js.map +0 -1
- package/dist/src/lib/construct/api-to-eventbridge-target/index.d.ts +0 -5
- package/dist/src/lib/construct/api-to-eventbridge-target/index.d.ts.map +0 -1
- package/dist/src/lib/construct/api-to-eventbridge-target/index.js +0 -17
- package/dist/src/lib/construct/api-to-eventbridge-target/index.js.map +0 -1
- package/dist/src/lib/construct/api-to-eventbridge-target/main.d.ts +0 -135
- package/dist/src/lib/construct/api-to-eventbridge-target/main.d.ts.map +0 -1
- package/dist/src/lib/construct/api-to-eventbridge-target/main.js +0 -488
- package/dist/src/lib/construct/api-to-eventbridge-target/main.js.map +0 -1
- package/dist/src/lib/construct/graphql-api-lambda/index.d.ts +0 -2
- package/dist/src/lib/construct/graphql-api-lambda/index.d.ts.map +0 -1
- package/dist/src/lib/construct/graphql-api-lambda/index.js +0 -14
- package/dist/src/lib/construct/graphql-api-lambda/index.js.map +0 -1
- package/dist/src/lib/construct/graphql-api-lambda/main.d.ts +0 -113
- package/dist/src/lib/construct/graphql-api-lambda/main.d.ts.map +0 -1
- package/dist/src/lib/construct/graphql-api-lambda/main.js +0 -202
- package/dist/src/lib/construct/graphql-api-lambda/main.js.map +0 -1
- package/dist/src/lib/construct/index.d.ts +0 -5
- package/dist/src/lib/construct/index.d.ts.map +0 -1
- package/dist/src/lib/construct/index.js +0 -17
- package/dist/src/lib/construct/index.js.map +0 -1
- package/dist/src/lib/construct/site-with-ecs-backend/index.d.ts +0 -2
- package/dist/src/lib/construct/site-with-ecs-backend/index.d.ts.map +0 -1
- package/dist/src/lib/construct/site-with-ecs-backend/index.js +0 -14
- package/dist/src/lib/construct/site-with-ecs-backend/index.js.map +0 -1
- package/dist/src/lib/construct/site-with-ecs-backend/main.d.ts +0 -168
- package/dist/src/lib/construct/site-with-ecs-backend/main.d.ts.map +0 -1
- package/dist/src/lib/construct/site-with-ecs-backend/main.js +0 -328
- package/dist/src/lib/construct/site-with-ecs-backend/main.js.map +0 -1
- package/dist/src/lib/construct/static-site/index.d.ts +0 -2
- package/dist/src/lib/construct/static-site/index.d.ts.map +0 -1
- package/dist/src/lib/construct/static-site/index.js +0 -14
- package/dist/src/lib/construct/static-site/index.js.map +0 -1
- package/dist/src/lib/construct/static-site/main.d.ts +0 -95
- package/dist/src/lib/construct/static-site/main.d.ts.map +0 -1
- package/dist/src/lib/construct/static-site/main.js +0 -169
- package/dist/src/lib/construct/static-site/main.js.map +0 -1
- package/dist/src/lib/manager/aws/acm-manager.d.ts +0 -47
- package/dist/src/lib/manager/aws/acm-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/acm-manager.js +0 -91
- package/dist/src/lib/manager/aws/acm-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/api-manager.d.ts +0 -44
- package/dist/src/lib/manager/aws/api-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/api-manager.js +0 -112
- package/dist/src/lib/manager/aws/api-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/app-config-manager.d.ts +0 -66
- package/dist/src/lib/manager/aws/app-config-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/app-config-manager.js +0 -149
- package/dist/src/lib/manager/aws/app-config-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/cloudfront-manager.d.ts +0 -113
- package/dist/src/lib/manager/aws/cloudfront-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/cloudfront-manager.js +0 -283
- package/dist/src/lib/manager/aws/cloudfront-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/cloudtrail-manager.d.ts +0 -49
- package/dist/src/lib/manager/aws/cloudtrail-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/cloudtrail-manager.js +0 -100
- package/dist/src/lib/manager/aws/cloudtrail-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/cloudwatch-manager.d.ts +0 -122
- package/dist/src/lib/manager/aws/cloudwatch-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/cloudwatch-manager.js +0 -353
- package/dist/src/lib/manager/aws/cloudwatch-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/codebuild-manager.d.ts +0 -41
- package/dist/src/lib/manager/aws/codebuild-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/codebuild-manager.js +0 -95
- package/dist/src/lib/manager/aws/codebuild-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/dynamodb-manager.d.ts +0 -33
- package/dist/src/lib/manager/aws/dynamodb-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/dynamodb-manager.js +0 -80
- package/dist/src/lib/manager/aws/dynamodb-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/ecr-manager.d.ts +0 -32
- package/dist/src/lib/manager/aws/ecr-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/ecr-manager.js +0 -61
- package/dist/src/lib/manager/aws/ecr-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/ecs-manager.d.ts +0 -49
- package/dist/src/lib/manager/aws/ecs-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/ecs-manager.js +0 -104
- package/dist/src/lib/manager/aws/ecs-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/eks-manager.d.ts +0 -37
- package/dist/src/lib/manager/aws/eks-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/eks-manager.js +0 -110
- package/dist/src/lib/manager/aws/eks-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/event-manager.d.ts +0 -68
- package/dist/src/lib/manager/aws/event-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/event-manager.js +0 -163
- package/dist/src/lib/manager/aws/event-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/iam-manager.d.ts +0 -155
- package/dist/src/lib/manager/aws/iam-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/iam-manager.js +0 -381
- package/dist/src/lib/manager/aws/iam-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/index.d.ts +0 -23
- package/dist/src/lib/manager/aws/index.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/index.js +0 -35
- package/dist/src/lib/manager/aws/index.js.map +0 -1
- package/dist/src/lib/manager/aws/lambda-manager.d.ts +0 -95
- package/dist/src/lib/manager/aws/lambda-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/lambda-manager.js +0 -197
- package/dist/src/lib/manager/aws/lambda-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/log-manager.d.ts +0 -52
- package/dist/src/lib/manager/aws/log-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/log-manager.js +0 -109
- package/dist/src/lib/manager/aws/log-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/route53-manager.d.ts +0 -69
- package/dist/src/lib/manager/aws/route53-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/route53-manager.js +0 -159
- package/dist/src/lib/manager/aws/route53-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/s3-manager.d.ts +0 -74
- package/dist/src/lib/manager/aws/s3-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/s3-manager.js +0 -203
- package/dist/src/lib/manager/aws/s3-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/secrets-manager.d.ts +0 -58
- package/dist/src/lib/manager/aws/secrets-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/secrets-manager.js +0 -117
- package/dist/src/lib/manager/aws/secrets-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/sns-manager.d.ts +0 -43
- package/dist/src/lib/manager/aws/sns-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/sns-manager.js +0 -91
- package/dist/src/lib/manager/aws/sns-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/ssm-manager.d.ts +0 -61
- package/dist/src/lib/manager/aws/ssm-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/ssm-manager.js +0 -125
- package/dist/src/lib/manager/aws/ssm-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/vpc-manager.d.ts +0 -46
- package/dist/src/lib/manager/aws/vpc-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/vpc-manager.js +0 -95
- package/dist/src/lib/manager/aws/vpc-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/waf-manager.d.ts +0 -40
- package/dist/src/lib/manager/aws/waf-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/waf-manager.js +0 -90
- package/dist/src/lib/manager/aws/waf-manager.js.map +0 -1
- package/dist/src/lib/manager/index.d.ts +0 -2
- package/dist/src/lib/manager/index.d.ts.map +0 -1
- package/dist/src/lib/manager/index.js +0 -14
- package/dist/src/lib/manager/index.js.map +0 -1
- package/dist/src/lib/types/aws/index.d.ts +0 -480
- package/dist/src/lib/types/aws/index.d.ts.map +0 -1
- package/dist/src/lib/types/aws/index.js +0 -3
- package/dist/src/lib/types/aws/index.js.map +0 -1
- package/dist/src/lib/types/index.d.ts +0 -2
- package/dist/src/lib/types/index.d.ts.map +0 -1
- package/dist/src/lib/types/index.js +0 -14
- package/dist/src/lib/types/index.js.map +0 -1
- package/dist/src/lib/utils/aws/index.d.ts +0 -16
- package/dist/src/lib/utils/aws/index.d.ts.map +0 -1
- package/dist/src/lib/utils/aws/index.js +0 -50
- package/dist/src/lib/utils/aws/index.js.map +0 -1
- package/dist/src/lib/utils/index.d.ts +0 -63
- package/dist/src/lib/utils/index.d.ts.map +0 -1
- package/dist/src/lib/utils/index.js +0 -85
- package/dist/src/lib/utils/index.js.map +0 -1
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
|
|
8
|
-
var _rng = _interopRequireDefault(require("./rng.js"));
|
|
9
|
-
|
|
10
|
-
var _stringify = _interopRequireDefault(require("./stringify.js"));
|
|
11
|
-
|
|
12
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
-
|
|
14
|
-
function v4(options, buf, offset) {
|
|
15
|
-
options = options || {};
|
|
16
|
-
|
|
17
|
-
const rnds = options.random || (options.rng || _rng.default)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
rnds[6] = rnds[6] & 0x0f | 0x40;
|
|
21
|
-
rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
|
|
22
|
-
|
|
23
|
-
if (buf) {
|
|
24
|
-
offset = offset || 0;
|
|
25
|
-
|
|
26
|
-
for (let i = 0; i < 16; ++i) {
|
|
27
|
-
buf[offset + i] = rnds[i];
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
return buf;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
return (0, _stringify.default)(rnds);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
var _default = v4;
|
|
37
|
-
exports.default = _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
|
|
8
|
-
var _v = _interopRequireDefault(require("./v35.js"));
|
|
9
|
-
|
|
10
|
-
var _sha = _interopRequireDefault(require("./sha1.js"));
|
|
11
|
-
|
|
12
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
-
|
|
14
|
-
const v5 = (0, _v.default)('v5', 0x50, _sha.default);
|
|
15
|
-
var _default = v5;
|
|
16
|
-
exports.default = _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
|
|
8
|
-
var _regex = _interopRequireDefault(require("./regex.js"));
|
|
9
|
-
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
-
|
|
12
|
-
function validate(uuid) {
|
|
13
|
-
return typeof uuid === 'string' && _regex.default.test(uuid);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
var _default = validate;
|
|
17
|
-
exports.default = _default;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
|
|
8
|
-
var _validate = _interopRequireDefault(require("./validate.js"));
|
|
9
|
-
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
-
|
|
12
|
-
function version(uuid) {
|
|
13
|
-
if (!(0, _validate.default)(uuid)) {
|
|
14
|
-
throw TypeError('Invalid UUID');
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
return parseInt(uuid.substr(14, 1), 16);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
var _default = version;
|
|
21
|
-
exports.default = _default;
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "uuid",
|
|
3
|
-
"version": "8.3.2",
|
|
4
|
-
"description": "RFC4122 (v1, v4, and v5) UUIDs",
|
|
5
|
-
"commitlint": {
|
|
6
|
-
"extends": [
|
|
7
|
-
"@commitlint/config-conventional"
|
|
8
|
-
]
|
|
9
|
-
},
|
|
10
|
-
"keywords": [
|
|
11
|
-
"uuid",
|
|
12
|
-
"guid",
|
|
13
|
-
"rfc4122"
|
|
14
|
-
],
|
|
15
|
-
"license": "MIT",
|
|
16
|
-
"bin": {
|
|
17
|
-
"uuid": "./dist/bin/uuid"
|
|
18
|
-
},
|
|
19
|
-
"sideEffects": false,
|
|
20
|
-
"main": "./dist/index.js",
|
|
21
|
-
"exports": {
|
|
22
|
-
".": {
|
|
23
|
-
"node": {
|
|
24
|
-
"module": "./dist/esm-node/index.js",
|
|
25
|
-
"require": "./dist/index.js",
|
|
26
|
-
"import": "./wrapper.mjs"
|
|
27
|
-
},
|
|
28
|
-
"default": "./dist/esm-browser/index.js"
|
|
29
|
-
},
|
|
30
|
-
"./package.json": "./package.json"
|
|
31
|
-
},
|
|
32
|
-
"module": "./dist/esm-node/index.js",
|
|
33
|
-
"browser": {
|
|
34
|
-
"./dist/md5.js": "./dist/md5-browser.js",
|
|
35
|
-
"./dist/rng.js": "./dist/rng-browser.js",
|
|
36
|
-
"./dist/sha1.js": "./dist/sha1-browser.js",
|
|
37
|
-
"./dist/esm-node/index.js": "./dist/esm-browser/index.js"
|
|
38
|
-
},
|
|
39
|
-
"files": [
|
|
40
|
-
"CHANGELOG.md",
|
|
41
|
-
"CONTRIBUTING.md",
|
|
42
|
-
"LICENSE.md",
|
|
43
|
-
"README.md",
|
|
44
|
-
"dist",
|
|
45
|
-
"wrapper.mjs"
|
|
46
|
-
],
|
|
47
|
-
"devDependencies": {
|
|
48
|
-
"@babel/cli": "7.11.6",
|
|
49
|
-
"@babel/core": "7.11.6",
|
|
50
|
-
"@babel/preset-env": "7.11.5",
|
|
51
|
-
"@commitlint/cli": "11.0.0",
|
|
52
|
-
"@commitlint/config-conventional": "11.0.0",
|
|
53
|
-
"@rollup/plugin-node-resolve": "9.0.0",
|
|
54
|
-
"babel-eslint": "10.1.0",
|
|
55
|
-
"bundlewatch": "0.3.1",
|
|
56
|
-
"eslint": "7.10.0",
|
|
57
|
-
"eslint-config-prettier": "6.12.0",
|
|
58
|
-
"eslint-config-standard": "14.1.1",
|
|
59
|
-
"eslint-plugin-import": "2.22.1",
|
|
60
|
-
"eslint-plugin-node": "11.1.0",
|
|
61
|
-
"eslint-plugin-prettier": "3.1.4",
|
|
62
|
-
"eslint-plugin-promise": "4.2.1",
|
|
63
|
-
"eslint-plugin-standard": "4.0.1",
|
|
64
|
-
"husky": "4.3.0",
|
|
65
|
-
"jest": "25.5.4",
|
|
66
|
-
"lint-staged": "10.4.0",
|
|
67
|
-
"npm-run-all": "4.1.5",
|
|
68
|
-
"optional-dev-dependency": "2.0.1",
|
|
69
|
-
"prettier": "2.1.2",
|
|
70
|
-
"random-seed": "0.3.0",
|
|
71
|
-
"rollup": "2.28.2",
|
|
72
|
-
"rollup-plugin-terser": "7.0.2",
|
|
73
|
-
"runmd": "1.3.2",
|
|
74
|
-
"standard-version": "9.0.0"
|
|
75
|
-
},
|
|
76
|
-
"optionalDevDependencies": {
|
|
77
|
-
"@wdio/browserstack-service": "6.4.0",
|
|
78
|
-
"@wdio/cli": "6.4.0",
|
|
79
|
-
"@wdio/jasmine-framework": "6.4.0",
|
|
80
|
-
"@wdio/local-runner": "6.4.0",
|
|
81
|
-
"@wdio/spec-reporter": "6.4.0",
|
|
82
|
-
"@wdio/static-server-service": "6.4.0",
|
|
83
|
-
"@wdio/sync": "6.4.0"
|
|
84
|
-
},
|
|
85
|
-
"scripts": {
|
|
86
|
-
"examples:browser:webpack:build": "cd examples/browser-webpack && npm install && npm run build",
|
|
87
|
-
"examples:browser:rollup:build": "cd examples/browser-rollup && npm install && npm run build",
|
|
88
|
-
"examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test",
|
|
89
|
-
"examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test",
|
|
90
|
-
"lint": "npm run eslint:check && npm run prettier:check",
|
|
91
|
-
"eslint:check": "eslint src/ test/ examples/ *.js",
|
|
92
|
-
"eslint:fix": "eslint --fix src/ test/ examples/ *.js",
|
|
93
|
-
"pretest": "[ -n $CI ] || npm run build",
|
|
94
|
-
"test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/",
|
|
95
|
-
"pretest:browser": "optional-dev-dependency && npm run build && npm-run-all --parallel examples:browser:**",
|
|
96
|
-
"test:browser": "wdio run ./wdio.conf.js",
|
|
97
|
-
"pretest:node": "npm run build",
|
|
98
|
-
"test:node": "npm-run-all --parallel examples:node:**",
|
|
99
|
-
"test:pack": "./scripts/testpack.sh",
|
|
100
|
-
"pretest:benchmark": "npm run build",
|
|
101
|
-
"test:benchmark": "cd examples/benchmark && npm install && npm test",
|
|
102
|
-
"prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
|
|
103
|
-
"prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
|
|
104
|
-
"bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json",
|
|
105
|
-
"md": "runmd --watch --output=README.md README_js.md",
|
|
106
|
-
"docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )",
|
|
107
|
-
"docs:diff": "npm run docs && git diff --quiet README.md",
|
|
108
|
-
"build": "./scripts/build.sh",
|
|
109
|
-
"prepack": "npm run build",
|
|
110
|
-
"release": "standard-version --no-verify"
|
|
111
|
-
},
|
|
112
|
-
"repository": {
|
|
113
|
-
"type": "git",
|
|
114
|
-
"url": "https://github.com/uuidjs/uuid.git"
|
|
115
|
-
},
|
|
116
|
-
"husky": {
|
|
117
|
-
"hooks": {
|
|
118
|
-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
|
119
|
-
"pre-commit": "lint-staged"
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
"lint-staged": {
|
|
123
|
-
"*.{js,jsx,json,md}": [
|
|
124
|
-
"prettier --write"
|
|
125
|
-
],
|
|
126
|
-
"*.{js,jsx}": [
|
|
127
|
-
"eslint --fix"
|
|
128
|
-
]
|
|
129
|
-
},
|
|
130
|
-
"standard-version": {
|
|
131
|
-
"scripts": {
|
|
132
|
-
"postchangelog": "prettier --write CHANGELOG.md"
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import uuid from './dist/index.js';
|
|
2
|
-
export const v1 = uuid.v1;
|
|
3
|
-
export const v3 = uuid.v3;
|
|
4
|
-
export const v4 = uuid.v4;
|
|
5
|
-
export const v5 = uuid.v5;
|
|
6
|
-
export const NIL = uuid.NIL;
|
|
7
|
-
export const version = uuid.version;
|
|
8
|
-
export const validate = uuid.validate;
|
|
9
|
-
export const stringify = uuid.stringify;
|
|
10
|
-
export const parse = uuid.parse;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@gradientedge/cdk-utils-api-destined-function",
|
|
3
|
-
"version": "0.0.0-SNAPSHOT",
|
|
4
|
-
"description": "Application for API Destined Function",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"license": "UNLICENSED",
|
|
7
|
-
"engines": {
|
|
8
|
-
"node": ">=14.16.0 <15"
|
|
9
|
-
},
|
|
10
|
-
"repository": {
|
|
11
|
-
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/gradientedge/cdk-utils.git"
|
|
13
|
-
},
|
|
14
|
-
"scripts": {
|
|
15
|
-
"build": "yarn package:function && yarn copy:layers",
|
|
16
|
-
"copy:layers": "cp -R layers ../../dist/app/api-destined-function",
|
|
17
|
-
"init": "yarn install",
|
|
18
|
-
"package:function": "mkdirp layers/nodejs && cp -R package.json layers/nodejs && cd layers/nodejs && yarn install --production --no-lockfile",
|
|
19
|
-
"start": "node dist/index",
|
|
20
|
-
"test": "npx jest --ci --runInBand --passWithNoTests"
|
|
21
|
-
},
|
|
22
|
-
"dependencies": {
|
|
23
|
-
"@types/uuid": "^8.3.4",
|
|
24
|
-
"uuid": "^8.3.2"
|
|
25
|
-
},
|
|
26
|
-
"devDependencies": {
|
|
27
|
-
"mkdirp": "^1.0.4",
|
|
28
|
-
"rimraf": "^3.0.2"
|
|
29
|
-
}
|
|
30
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare const processEvent: (event: any) => {
|
|
2
|
-
statusCode: number;
|
|
3
|
-
id: string;
|
|
4
|
-
message: string;
|
|
5
|
-
body: {
|
|
6
|
-
payload: {
|
|
7
|
-
body: any;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
origin: any;
|
|
11
|
-
source: string;
|
|
12
|
-
sourceId: string | undefined;
|
|
13
|
-
httpMethod: any;
|
|
14
|
-
path: any;
|
|
15
|
-
referer: any;
|
|
16
|
-
resource: any;
|
|
17
|
-
success: boolean;
|
|
18
|
-
};
|
|
19
|
-
//# sourceMappingURL=lambda.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lambda.d.ts","sourceRoot":"","sources":["../../../../../app/api-destined-function/src/lib/lambda.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,UAAW,GAAG;;;;;;;;;;;;;;;;;CAqBtC,CAAA"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.processEvent = void 0;
|
|
4
|
-
const uuid_1 = require("uuid");
|
|
5
|
-
const processEvent = (event) => {
|
|
6
|
-
if (!event)
|
|
7
|
-
throw new Error('Invalid Event');
|
|
8
|
-
return {
|
|
9
|
-
statusCode: 200,
|
|
10
|
-
id: (0, uuid_1.v4)(),
|
|
11
|
-
message: 'Webhook call successful',
|
|
12
|
-
body: {
|
|
13
|
-
payload: {
|
|
14
|
-
body: event.body,
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
origin: event.headers?.origin,
|
|
18
|
-
source: 'custom:api-destined-lambda',
|
|
19
|
-
sourceId: process.env.SOURCE_ID,
|
|
20
|
-
httpMethod: event.httpMethod,
|
|
21
|
-
path: event.path,
|
|
22
|
-
referer: event.headers?.referer,
|
|
23
|
-
resource: event.resource,
|
|
24
|
-
success: true,
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
exports.processEvent = processEvent;
|
|
28
|
-
exports.handler = async (event, context, callback) => {
|
|
29
|
-
console.log('Event:', JSON.stringify(event));
|
|
30
|
-
console.log('Context:', JSON.stringify(context));
|
|
31
|
-
console.log('Event Records:', JSON.stringify(event.Records));
|
|
32
|
-
return callback(null, (0, exports.processEvent)(event));
|
|
33
|
-
};
|
|
34
|
-
//# sourceMappingURL=lambda.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lambda.js","sourceRoot":"","sources":["../../../../../app/api-destined-function/src/lib/lambda.ts"],"names":[],"mappings":";;;AAAA,+BAAmC;AAE5B,MAAM,YAAY,GAAG,CAAC,KAAU,EAAE,EAAE;IACzC,IAAI,CAAC,KAAK;QAAE,MAAM,IAAI,KAAK,CAAC,eAAe,CAAC,CAAA;IAE5C,OAAO;QACL,UAAU,EAAE,GAAG;QACf,EAAE,EAAE,IAAA,SAAM,GAAE;QACZ,OAAO,EAAE,yBAAyB;QAClC,IAAI,EAAE;YACJ,OAAO,EAAE;gBACP,IAAI,EAAE,KAAK,CAAC,IAAI;aACjB;SACF;QACD,MAAM,EAAE,KAAK,CAAC,OAAO,EAAE,MAAM;QAC7B,MAAM,EAAE,4BAA4B;QACpC,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,SAAS;QAC/B,UAAU,EAAE,KAAK,CAAC,UAAU;QAC5B,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,OAAO;QAC/B,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,OAAO,EAAE,IAAI;KACd,CAAA;AACH,CAAC,CAAA;AArBY,QAAA,YAAY,gBAqBxB;AAED,OAAO,CAAC,OAAO,GAAG,KAAK,EAAE,KAAU,EAAE,OAAY,EAAE,QAAa,EAAE,EAAE;IAClE,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAA;IAC5C,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAA;IAChD,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAA;IAC5D,OAAO,QAAQ,CAAC,IAAI,EAAE,IAAA,oBAAY,EAAC,KAAK,CAAC,CAAC,CAAA;AAC5C,CAAC,CAAA"}
|
package/dist/index.d.ts
DELETED
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,qBAAqB,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA"}
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mDAAgC;AAChC,sDAAmC;AACnC,oDAAiC;AACjC,kDAA+B;AAC/B,kDAA+B"}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import * as cdk from 'aws-cdk-lib';
|
|
2
|
-
import { Construct } from 'constructs';
|
|
3
|
-
import * as aws from '../manager/aws';
|
|
4
|
-
import * as types from '../types';
|
|
5
|
-
/**
|
|
6
|
-
* @stability stable
|
|
7
|
-
* @category cdk-utils.common-construct
|
|
8
|
-
* @subcategory Construct
|
|
9
|
-
* @classdesc Common construct to use as a base for all higher level constructs.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* import { CommonConstruct } from '@gradientedge/cdk-utils';
|
|
13
|
-
*
|
|
14
|
-
* class CustomConstruct extends CommonConstruct {
|
|
15
|
-
* constructor(parent: cdk.Construct, id: string, props: common.CommonStackProps) {
|
|
16
|
-
* super(parent, id, props);
|
|
17
|
-
* this.props = props;
|
|
18
|
-
* };
|
|
19
|
-
* };
|
|
20
|
-
*/
|
|
21
|
-
export declare class CommonConstruct extends Construct {
|
|
22
|
-
props: types.CommonStackProps;
|
|
23
|
-
acmManager: aws.AcmManager;
|
|
24
|
-
apiManager: aws.ApiManager;
|
|
25
|
-
appConfigManager: aws.AppConfigManager;
|
|
26
|
-
codeBuildManager: aws.CodeBuildManager;
|
|
27
|
-
cloudFrontManager: aws.CloudFrontManager;
|
|
28
|
-
cloudTrailManager: aws.CloudTrailManager;
|
|
29
|
-
cloudWatchManager: aws.CloudWatchManager;
|
|
30
|
-
dynamodbManager: aws.DynamodbManager;
|
|
31
|
-
ecrManager: aws.EcrManager;
|
|
32
|
-
ecsManager: aws.EcsManager;
|
|
33
|
-
eksManager: aws.EksManager;
|
|
34
|
-
eventManager: aws.EventManager;
|
|
35
|
-
iamManager: aws.IamManager;
|
|
36
|
-
lambdaManager: aws.LambdaManager;
|
|
37
|
-
logManager: aws.LogManager;
|
|
38
|
-
route53Manager: aws.Route53Manager;
|
|
39
|
-
s3Manager: aws.S3Manager;
|
|
40
|
-
secretsManager: aws.SecretsManager;
|
|
41
|
-
snsManager: aws.SnsManager;
|
|
42
|
-
ssMManager: aws.SsmManager;
|
|
43
|
-
vpcManager: aws.VpcManager;
|
|
44
|
-
wafManager: aws.WafManager;
|
|
45
|
-
fullyQualifiedDomainName: string;
|
|
46
|
-
constructor(parent: Construct, id: string, props: types.CommonStackProps);
|
|
47
|
-
/**
|
|
48
|
-
* @summary Helper method to add CloudFormation outputs from the construct
|
|
49
|
-
* @param {string} id scoped id of the resource
|
|
50
|
-
* @param {string} value the value of the exported output
|
|
51
|
-
* @param {string?} description optional description for the output
|
|
52
|
-
* @param {boolean} overrideId Flag which indicates whether to override the default logical id of the output
|
|
53
|
-
*/
|
|
54
|
-
protected addCfnOutput(id: string, value: string, description?: string, overrideId?: boolean): cdk.CfnOutput;
|
|
55
|
-
/**
|
|
56
|
-
* @summary Determine the fully qualified domain name based on domainName & subDomain
|
|
57
|
-
*/
|
|
58
|
-
protected determineFullyQualifiedDomain(): void;
|
|
59
|
-
/**
|
|
60
|
-
* @summary Utility method to determine if the initialisation is in development (dev) stage
|
|
61
|
-
* This is determined by the stage property injected via cdk context
|
|
62
|
-
*/
|
|
63
|
-
isDevelopmentStage: () => boolean;
|
|
64
|
-
/**
|
|
65
|
-
* @summary Utility method to determine if the initialisation is in test (tst) stage
|
|
66
|
-
* This is determined by the stage property injected via cdk context
|
|
67
|
-
*/
|
|
68
|
-
isTestStage: () => boolean;
|
|
69
|
-
/**
|
|
70
|
-
* @summary Utility method to determine if the initialisation is in uat (uat) stage
|
|
71
|
-
* This is determined by the stage property injected via cdk context
|
|
72
|
-
*/
|
|
73
|
-
isUatStage: () => boolean;
|
|
74
|
-
/**
|
|
75
|
-
* @summary Utility method to determine if the initialisation is in production (prd) stage
|
|
76
|
-
* This is determined by the stage property injected via cdk context
|
|
77
|
-
*/
|
|
78
|
-
isProductionStage: () => boolean;
|
|
79
|
-
}
|
|
80
|
-
//# sourceMappingURL=construct.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"construct.d.ts","sourceRoot":"","sources":["../../../../src/lib/common/construct.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,aAAa,CAAA;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AACtC,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAA;AACrC,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AAGjC;;;;;;;;;;;;;;;GAeG;AACH,qBAAa,eAAgB,SAAQ,SAAS;IAC5C,KAAK,EAAE,KAAK,CAAC,gBAAgB,CAAA;IAC7B,UAAU,EAAE,GAAG,CAAC,UAAU,CAAA;IAC1B,UAAU,EAAE,GAAG,CAAC,UAAU,CAAA;IAC1B,gBAAgB,EAAE,GAAG,CAAC,gBAAgB,CAAA;IACtC,gBAAgB,EAAE,GAAG,CAAC,gBAAgB,CAAA;IACtC,iBAAiB,EAAE,GAAG,CAAC,iBAAiB,CAAA;IACxC,iBAAiB,EAAE,GAAG,CAAC,iBAAiB,CAAA;IACxC,iBAAiB,EAAE,GAAG,CAAC,iBAAiB,CAAA;IACxC,eAAe,EAAE,GAAG,CAAC,eAAe,CAAA;IACpC,UAAU,EAAE,GAAG,CAAC,UAAU,CAAA;IAC1B,UAAU,EAAE,GAAG,CAAC,UAAU,CAAA;IAC1B,UAAU,EAAE,GAAG,CAAC,UAAU,CAAA;IAC1B,YAAY,EAAE,GAAG,CAAC,YAAY,CAAA;IAC9B,UAAU,EAAE,GAAG,CAAC,UAAU,CAAA;IAC1B,aAAa,EAAE,GAAG,CAAC,aAAa,CAAA;IAChC,UAAU,EAAE,GAAG,CAAC,UAAU,CAAA;IAC1B,cAAc,EAAE,GAAG,CAAC,cAAc,CAAA;IAClC,SAAS,EAAE,GAAG,CAAC,SAAS,CAAA;IACxB,cAAc,EAAE,GAAG,CAAC,cAAc,CAAA;IAClC,UAAU,EAAE,GAAG,CAAC,UAAU,CAAA;IAC1B,UAAU,EAAE,GAAG,CAAC,UAAU,CAAA;IAC1B,UAAU,EAAE,GAAG,CAAC,UAAU,CAAA;IAC1B,UAAU,EAAE,GAAG,CAAC,UAAU,CAAA;IAC1B,wBAAwB,EAAE,MAAM,CAAA;gBAEpB,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,CAAC,gBAAgB;IA6BxE;;;;;;OAMG;IACH,SAAS,CAAC,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,EAAE,UAAU,UAAO,GAAG,GAAG,CAAC,SAAS;IAIzG;;OAEG;IACH,SAAS,CAAC,6BAA6B;IAMvC;;;OAGG;IACI,kBAAkB,gBAA2C;IAEpE;;;OAGG;IACI,WAAW,gBAA4C;IAE9D;;;OAGG;IACI,UAAU,gBAA2C;IAE5D;;;OAGG;IACI,iBAAiB,gBAA2C;CACpE"}
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
-
}) : function(o, v) {
|
|
12
|
-
o["default"] = v;
|
|
13
|
-
});
|
|
14
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
|
-
if (mod && mod.__esModule) return mod;
|
|
16
|
-
var result = {};
|
|
17
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
-
__setModuleDefault(result, mod);
|
|
19
|
-
return result;
|
|
20
|
-
};
|
|
21
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.CommonConstruct = void 0;
|
|
23
|
-
const constructs_1 = require("constructs");
|
|
24
|
-
const aws = __importStar(require("../manager/aws"));
|
|
25
|
-
const utils = __importStar(require("../utils"));
|
|
26
|
-
/**
|
|
27
|
-
* @stability stable
|
|
28
|
-
* @category cdk-utils.common-construct
|
|
29
|
-
* @subcategory Construct
|
|
30
|
-
* @classdesc Common construct to use as a base for all higher level constructs.
|
|
31
|
-
*
|
|
32
|
-
* @example
|
|
33
|
-
* import { CommonConstruct } from '@gradientedge/cdk-utils';
|
|
34
|
-
*
|
|
35
|
-
* class CustomConstruct extends CommonConstruct {
|
|
36
|
-
* constructor(parent: cdk.Construct, id: string, props: common.CommonStackProps) {
|
|
37
|
-
* super(parent, id, props);
|
|
38
|
-
* this.props = props;
|
|
39
|
-
* };
|
|
40
|
-
* };
|
|
41
|
-
*/
|
|
42
|
-
class CommonConstruct extends constructs_1.Construct {
|
|
43
|
-
props;
|
|
44
|
-
acmManager;
|
|
45
|
-
apiManager;
|
|
46
|
-
appConfigManager;
|
|
47
|
-
codeBuildManager;
|
|
48
|
-
cloudFrontManager;
|
|
49
|
-
cloudTrailManager;
|
|
50
|
-
cloudWatchManager;
|
|
51
|
-
dynamodbManager;
|
|
52
|
-
ecrManager;
|
|
53
|
-
ecsManager;
|
|
54
|
-
eksManager;
|
|
55
|
-
eventManager;
|
|
56
|
-
iamManager;
|
|
57
|
-
lambdaManager;
|
|
58
|
-
logManager;
|
|
59
|
-
route53Manager;
|
|
60
|
-
s3Manager;
|
|
61
|
-
secretsManager;
|
|
62
|
-
snsManager;
|
|
63
|
-
ssMManager;
|
|
64
|
-
vpcManager;
|
|
65
|
-
wafManager;
|
|
66
|
-
fullyQualifiedDomainName;
|
|
67
|
-
constructor(parent, id, props) {
|
|
68
|
-
super(parent, id);
|
|
69
|
-
this.props = props;
|
|
70
|
-
this.acmManager = new aws.AcmManager();
|
|
71
|
-
this.apiManager = new aws.ApiManager();
|
|
72
|
-
this.appConfigManager = new aws.AppConfigManager();
|
|
73
|
-
this.codeBuildManager = new aws.CodeBuildManager();
|
|
74
|
-
this.cloudFrontManager = new aws.CloudFrontManager();
|
|
75
|
-
this.cloudTrailManager = new aws.CloudTrailManager();
|
|
76
|
-
this.cloudWatchManager = new aws.CloudWatchManager();
|
|
77
|
-
this.dynamodbManager = new aws.DynamodbManager();
|
|
78
|
-
this.ecrManager = new aws.EcrManager();
|
|
79
|
-
this.ecsManager = new aws.EcsManager();
|
|
80
|
-
this.eksManager = new aws.EksManager();
|
|
81
|
-
this.eventManager = new aws.EventManager();
|
|
82
|
-
this.iamManager = new aws.IamManager();
|
|
83
|
-
this.lambdaManager = new aws.LambdaManager();
|
|
84
|
-
this.logManager = new aws.LogManager();
|
|
85
|
-
this.route53Manager = new aws.Route53Manager();
|
|
86
|
-
this.s3Manager = new aws.S3Manager();
|
|
87
|
-
this.secretsManager = new aws.SecretsManager();
|
|
88
|
-
this.snsManager = new aws.SnsManager();
|
|
89
|
-
this.ssMManager = new aws.SsmManager();
|
|
90
|
-
this.vpcManager = new aws.VpcManager();
|
|
91
|
-
this.wafManager = new aws.WafManager();
|
|
92
|
-
this.determineFullyQualifiedDomain();
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* @summary Helper method to add CloudFormation outputs from the construct
|
|
96
|
-
* @param {string} id scoped id of the resource
|
|
97
|
-
* @param {string} value the value of the exported output
|
|
98
|
-
* @param {string?} description optional description for the output
|
|
99
|
-
* @param {boolean} overrideId Flag which indicates whether to override the default logical id of the output
|
|
100
|
-
*/
|
|
101
|
-
addCfnOutput(id, value, description, overrideId = true) {
|
|
102
|
-
return utils.createCfnOutput(id, this, value, description, overrideId);
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* @summary Determine the fully qualified domain name based on domainName & subDomain
|
|
106
|
-
*/
|
|
107
|
-
determineFullyQualifiedDomain() {
|
|
108
|
-
this.fullyQualifiedDomainName = this.props.subDomain
|
|
109
|
-
? `${this.props.subDomain}.${this.props.domainName}`
|
|
110
|
-
: this.props.domainName;
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* @summary Utility method to determine if the initialisation is in development (dev) stage
|
|
114
|
-
* This is determined by the stage property injected via cdk context
|
|
115
|
-
*/
|
|
116
|
-
isDevelopmentStage = () => utils.isDevStage(this.props.stage);
|
|
117
|
-
/**
|
|
118
|
-
* @summary Utility method to determine if the initialisation is in test (tst) stage
|
|
119
|
-
* This is determined by the stage property injected via cdk context
|
|
120
|
-
*/
|
|
121
|
-
isTestStage = () => utils.isTestStage(this.props.stage);
|
|
122
|
-
/**
|
|
123
|
-
* @summary Utility method to determine if the initialisation is in uat (uat) stage
|
|
124
|
-
* This is determined by the stage property injected via cdk context
|
|
125
|
-
*/
|
|
126
|
-
isUatStage = () => utils.isUatStage(this.props.stage);
|
|
127
|
-
/**
|
|
128
|
-
* @summary Utility method to determine if the initialisation is in production (prd) stage
|
|
129
|
-
* This is determined by the stage property injected via cdk context
|
|
130
|
-
*/
|
|
131
|
-
isProductionStage = () => utils.isPrdStage(this.props.stage);
|
|
132
|
-
}
|
|
133
|
-
exports.CommonConstruct = CommonConstruct;
|
|
134
|
-
//# sourceMappingURL=construct.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"construct.js","sourceRoot":"","sources":["../../../../src/lib/common/construct.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./construct"), exports);
|
|
14
|
-
__exportStar(require("./stack"), exports);
|
|
15
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAA2B;AAC3B,0CAAuB"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import * as cdk from 'aws-cdk-lib';
|
|
2
|
-
import { CommonStackProps } from '../types';
|
|
3
|
-
import { CommonConstruct } from './construct';
|
|
4
|
-
/**
|
|
5
|
-
* @stability stable
|
|
6
|
-
* @category cdk-utils.common-stack
|
|
7
|
-
* @subcategory Construct
|
|
8
|
-
* @classdesc Common stack to use as a base for all higher level constructs.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* import { CommonStack } from '@gradientedge/cdk-utils'
|
|
12
|
-
*
|
|
13
|
-
* class CustomStack extends CommonStack {
|
|
14
|
-
* constructor(parent: cdk.App, name: string, props: cdk.StackProps) {
|
|
15
|
-
* super(parent, name, props)
|
|
16
|
-
* // provision resources
|
|
17
|
-
* }
|
|
18
|
-
* }
|
|
19
|
-
*/
|
|
20
|
-
export declare class CommonStack extends cdk.Stack {
|
|
21
|
-
construct: CommonConstruct;
|
|
22
|
-
props: CommonStackProps;
|
|
23
|
-
constructor(parent: cdk.App, name: string, props: cdk.StackProps);
|
|
24
|
-
/**
|
|
25
|
-
* @summary Method to determine the core CDK construct properties injected via context cdk.json
|
|
26
|
-
* @param {cdk.StackProps} props The stack properties
|
|
27
|
-
* @return The stack properties
|
|
28
|
-
*/
|
|
29
|
-
protected determineConstructProps(props: cdk.StackProps): {
|
|
30
|
-
stackName: string | undefined;
|
|
31
|
-
name: string;
|
|
32
|
-
region: any;
|
|
33
|
-
stage: any;
|
|
34
|
-
domainName: any;
|
|
35
|
-
subDomain: any;
|
|
36
|
-
extraContexts: any;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* @summary Method to determine extra cdk contexts apart from the main cdk.json
|
|
40
|
-
* - Sets the properties from the extra contexts into cdk node context
|
|
41
|
-
* - Primary use is to have layered config in separate files to enable easier maintenance and readability
|
|
42
|
-
*/
|
|
43
|
-
protected determineExtraContexts(): void;
|
|
44
|
-
/**
|
|
45
|
-
* @summary Method to determine extra cdk stage contexts apart from the main cdk.json
|
|
46
|
-
* - Sets the properties from the extra stage contexts into cdk node context
|
|
47
|
-
* - Primary use is to have layered config for each environment which is injected into the context
|
|
48
|
-
*/
|
|
49
|
-
protected determineStageContexts(): void;
|
|
50
|
-
/**
|
|
51
|
-
* @summary Determine the fully qualified domain name based on domainName & subDomain
|
|
52
|
-
*/
|
|
53
|
-
protected fullyQualifiedDomain(): any;
|
|
54
|
-
}
|
|
55
|
-
//# sourceMappingURL=stack.d.ts.map
|