@gradientedge/cdk-utils 9.84.0 → 9.85.0
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/.husky/pre-commit +4 -0
- package/app/api-destined-function/node_modules/.bin/rimraf +2 -2
- package/app/api-destined-function/node_modules/.bin/uuid +4 -4
- package/app/api-destined-function/package.json +5 -4
- package/babel.config.mjs +16 -0
- package/dist/app/api-destined-function/src/lib/lambda.js +4 -8
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -17
- package/dist/lib/lambda.js +4 -8
- package/dist/lib/lambda.js.map +1 -1
- package/dist/src/lib/aws/common/construct.d.ts +3 -3
- package/dist/src/lib/aws/common/construct.js +41 -45
- package/dist/src/lib/aws/common/index.d.ts +4 -4
- package/dist/src/lib/aws/common/index.js +4 -20
- package/dist/src/lib/aws/common/resource-name-formatter.d.ts +1 -1
- package/dist/src/lib/aws/common/resource-name-formatter.js +12 -14
- package/dist/src/lib/aws/common/stack.d.ts +2 -2
- package/dist/src/lib/aws/common/stack.js +22 -29
- package/dist/src/lib/aws/common/types.d.ts +1 -1
- package/dist/src/lib/aws/common/types.js +1 -2
- package/dist/src/lib/aws/construct/api-to-any-target/index.d.ts +3 -3
- package/dist/src/lib/aws/construct/api-to-any-target/index.js +3 -19
- package/dist/src/lib/aws/construct/api-to-any-target/main.d.ts +2 -2
- package/dist/src/lib/aws/construct/api-to-any-target/main.js +19 -23
- package/dist/src/lib/aws/construct/api-to-any-target/target.d.ts +1 -1
- package/dist/src/lib/aws/construct/api-to-any-target/target.js +1 -5
- package/dist/src/lib/aws/construct/api-to-any-target/types.d.ts +2 -2
- package/dist/src/lib/aws/construct/api-to-any-target/types.js +1 -2
- package/dist/src/lib/aws/construct/api-to-eventbridge-target/api.d.ts +1 -1
- package/dist/src/lib/aws/construct/api-to-eventbridge-target/api.js +1 -5
- package/dist/src/lib/aws/construct/api-to-eventbridge-target/event.d.ts +1 -1
- package/dist/src/lib/aws/construct/api-to-eventbridge-target/event.js +1 -5
- package/dist/src/lib/aws/construct/api-to-eventbridge-target/index.d.ts +4 -4
- package/dist/src/lib/aws/construct/api-to-eventbridge-target/index.js +4 -20
- package/dist/src/lib/aws/construct/api-to-eventbridge-target/main.d.ts +2 -2
- package/dist/src/lib/aws/construct/api-to-eventbridge-target/main.js +40 -44
- package/dist/src/lib/aws/construct/api-to-eventbridge-target/types.d.ts +2 -2
- package/dist/src/lib/aws/construct/api-to-eventbridge-target/types.js +1 -2
- package/dist/src/lib/aws/construct/api-to-eventbridge-target-with-sns/api-destined-lambda.d.ts +1 -1
- package/dist/src/lib/aws/construct/api-to-eventbridge-target-with-sns/api-destined-lambda.js +1 -5
- package/dist/src/lib/aws/construct/api-to-eventbridge-target-with-sns/index.d.ts +3 -3
- package/dist/src/lib/aws/construct/api-to-eventbridge-target-with-sns/index.js +3 -19
- package/dist/src/lib/aws/construct/api-to-eventbridge-target-with-sns/main.d.ts +3 -3
- package/dist/src/lib/aws/construct/api-to-eventbridge-target-with-sns/main.js +45 -49
- package/dist/src/lib/aws/construct/api-to-eventbridge-target-with-sns/types.d.ts +1 -1
- package/dist/src/lib/aws/construct/api-to-eventbridge-target-with-sns/types.js +1 -2
- package/dist/src/lib/aws/construct/api-to-lambda-target/api.d.ts +1 -1
- package/dist/src/lib/aws/construct/api-to-lambda-target/api.js +1 -5
- package/dist/src/lib/aws/construct/api-to-lambda-target/index.d.ts +3 -3
- package/dist/src/lib/aws/construct/api-to-lambda-target/index.js +3 -19
- package/dist/src/lib/aws/construct/api-to-lambda-target/main.d.ts +2 -2
- package/dist/src/lib/aws/construct/api-to-lambda-target/main.js +17 -21
- package/dist/src/lib/aws/construct/api-to-lambda-target/types.d.ts +2 -2
- package/dist/src/lib/aws/construct/api-to-lambda-target/types.js +1 -2
- package/dist/src/lib/aws/construct/application-configuration/index.d.ts +2 -2
- package/dist/src/lib/aws/construct/application-configuration/index.js +2 -18
- package/dist/src/lib/aws/construct/application-configuration/main.d.ts +2 -2
- package/dist/src/lib/aws/construct/application-configuration/main.js +22 -26
- package/dist/src/lib/aws/construct/application-configuration/types.d.ts +2 -2
- package/dist/src/lib/aws/construct/application-configuration/types.js +1 -2
- package/dist/src/lib/aws/construct/event-handler/handler.d.ts +1 -1
- package/dist/src/lib/aws/construct/event-handler/handler.js +1 -5
- package/dist/src/lib/aws/construct/event-handler/index.d.ts +3 -3
- package/dist/src/lib/aws/construct/event-handler/index.js +3 -19
- package/dist/src/lib/aws/construct/event-handler/main.d.ts +3 -3
- package/dist/src/lib/aws/construct/event-handler/main.js +22 -29
- package/dist/src/lib/aws/construct/event-handler/types.d.ts +2 -2
- package/dist/src/lib/aws/construct/event-handler/types.js +1 -2
- package/dist/src/lib/aws/construct/index.d.ts +14 -14
- package/dist/src/lib/aws/construct/index.js +14 -30
- package/dist/src/lib/aws/construct/lambda-with-iam-access/index.d.ts +2 -2
- package/dist/src/lib/aws/construct/lambda-with-iam-access/index.js +2 -18
- package/dist/src/lib/aws/construct/lambda-with-iam-access/main.d.ts +2 -2
- package/dist/src/lib/aws/construct/lambda-with-iam-access/main.js +22 -29
- package/dist/src/lib/aws/construct/lambda-with-iam-access/types.d.ts +2 -2
- package/dist/src/lib/aws/construct/lambda-with-iam-access/types.js +1 -2
- package/dist/src/lib/aws/construct/piped-event-handler/index.d.ts +2 -2
- package/dist/src/lib/aws/construct/piped-event-handler/index.js +2 -18
- package/dist/src/lib/aws/construct/piped-event-handler/main.d.ts +2 -2
- package/dist/src/lib/aws/construct/piped-event-handler/main.js +8 -15
- package/dist/src/lib/aws/construct/piped-event-handler/types.d.ts +2 -2
- package/dist/src/lib/aws/construct/piped-event-handler/types.js +1 -2
- package/dist/src/lib/aws/construct/rest-api-lambda/index.d.ts +2 -2
- package/dist/src/lib/aws/construct/rest-api-lambda/index.js +2 -18
- package/dist/src/lib/aws/construct/rest-api-lambda/main.d.ts +2 -2
- package/dist/src/lib/aws/construct/rest-api-lambda/main.js +11 -18
- package/dist/src/lib/aws/construct/rest-api-lambda/types.d.ts +2 -2
- package/dist/src/lib/aws/construct/rest-api-lambda/types.js +1 -2
- package/dist/src/lib/aws/construct/rest-api-lambda-with-cache/index.d.ts +2 -2
- package/dist/src/lib/aws/construct/rest-api-lambda-with-cache/index.js +2 -18
- package/dist/src/lib/aws/construct/rest-api-lambda-with-cache/main.d.ts +2 -2
- package/dist/src/lib/aws/construct/rest-api-lambda-with-cache/main.js +14 -21
- package/dist/src/lib/aws/construct/rest-api-lambda-with-cache/types.d.ts +2 -2
- package/dist/src/lib/aws/construct/rest-api-lambda-with-cache/types.js +1 -2
- package/dist/src/lib/aws/construct/site-with-ecs-backend/constants.js +2 -5
- package/dist/src/lib/aws/construct/site-with-ecs-backend/index.d.ts +3 -3
- package/dist/src/lib/aws/construct/site-with-ecs-backend/index.js +3 -19
- package/dist/src/lib/aws/construct/site-with-ecs-backend/main.d.ts +2 -2
- package/dist/src/lib/aws/construct/site-with-ecs-backend/main.js +31 -38
- package/dist/src/lib/aws/construct/site-with-ecs-backend/types.d.ts +3 -3
- package/dist/src/lib/aws/construct/site-with-ecs-backend/types.js +1 -2
- package/dist/src/lib/aws/construct/site-with-lambda-backend/constants.js +3 -6
- package/dist/src/lib/aws/construct/site-with-lambda-backend/index.d.ts +3 -3
- package/dist/src/lib/aws/construct/site-with-lambda-backend/index.js +3 -19
- package/dist/src/lib/aws/construct/site-with-lambda-backend/main.d.ts +2 -2
- package/dist/src/lib/aws/construct/site-with-lambda-backend/main.js +31 -38
- package/dist/src/lib/aws/construct/site-with-lambda-backend/types.d.ts +3 -3
- package/dist/src/lib/aws/construct/site-with-lambda-backend/types.js +1 -2
- package/dist/src/lib/aws/construct/static-asset-deployment/index.d.ts +2 -2
- package/dist/src/lib/aws/construct/static-asset-deployment/index.js +2 -18
- package/dist/src/lib/aws/construct/static-asset-deployment/main.d.ts +2 -2
- package/dist/src/lib/aws/construct/static-asset-deployment/main.js +13 -20
- package/dist/src/lib/aws/construct/static-asset-deployment/types.d.ts +2 -2
- package/dist/src/lib/aws/construct/static-asset-deployment/types.js +1 -2
- package/dist/src/lib/aws/construct/static-site/index.d.ts +2 -2
- package/dist/src/lib/aws/construct/static-site/index.js +2 -18
- package/dist/src/lib/aws/construct/static-site/main.d.ts +2 -5
- package/dist/src/lib/aws/construct/static-site/main.js +5 -15
- package/dist/src/lib/aws/construct/static-site/types.d.ts +2 -2
- package/dist/src/lib/aws/construct/static-site/types.js +1 -2
- package/dist/src/lib/aws/index.d.ts +5 -5
- package/dist/src/lib/aws/index.js +5 -21
- package/dist/src/lib/aws/services/api-gateway/index.d.ts +2 -2
- package/dist/src/lib/aws/services/api-gateway/index.js +2 -18
- package/dist/src/lib/aws/services/api-gateway/main.d.ts +2 -2
- package/dist/src/lib/aws/services/api-gateway/main.js +27 -34
- package/dist/src/lib/aws/services/api-gateway/types.d.ts +1 -1
- package/dist/src/lib/aws/services/api-gateway/types.js +1 -2
- package/dist/src/lib/aws/services/appconfig/constants.js +2 -5
- package/dist/src/lib/aws/services/appconfig/index.d.ts +3 -3
- package/dist/src/lib/aws/services/appconfig/index.js +3 -19
- package/dist/src/lib/aws/services/appconfig/main.d.ts +3 -3
- package/dist/src/lib/aws/services/appconfig/main.js +23 -27
- package/dist/src/lib/aws/services/appconfig/types.js +1 -2
- package/dist/src/lib/aws/services/certificate-manager/index.d.ts +2 -2
- package/dist/src/lib/aws/services/certificate-manager/index.js +2 -18
- package/dist/src/lib/aws/services/certificate-manager/main.d.ts +2 -2
- package/dist/src/lib/aws/services/certificate-manager/main.js +10 -14
- package/dist/src/lib/aws/services/certificate-manager/types.js +1 -2
- package/dist/src/lib/aws/services/cloudfront/index.d.ts +2 -2
- package/dist/src/lib/aws/services/cloudfront/index.js +2 -18
- package/dist/src/lib/aws/services/cloudfront/main.d.ts +7 -20
- package/dist/src/lib/aws/services/cloudfront/main.js +54 -141
- package/dist/src/lib/aws/services/cloudfront/types.d.ts +2 -7
- package/dist/src/lib/aws/services/cloudfront/types.js +1 -2
- package/dist/src/lib/aws/services/cloudtrail/index.d.ts +2 -2
- package/dist/src/lib/aws/services/cloudtrail/index.js +2 -18
- package/dist/src/lib/aws/services/cloudtrail/main.d.ts +2 -2
- package/dist/src/lib/aws/services/cloudtrail/main.js +6 -10
- package/dist/src/lib/aws/services/cloudtrail/types.js +1 -2
- package/dist/src/lib/aws/services/cloudwatch/index.d.ts +3 -3
- package/dist/src/lib/aws/services/cloudwatch/index.js +3 -19
- package/dist/src/lib/aws/services/cloudwatch/logs.d.ts +2 -2
- package/dist/src/lib/aws/services/cloudwatch/logs.js +9 -49
- package/dist/src/lib/aws/services/cloudwatch/main.d.ts +2 -2
- package/dist/src/lib/aws/services/cloudwatch/main.js +8 -48
- package/dist/src/lib/aws/services/cloudwatch/types.d.ts +1 -1
- package/dist/src/lib/aws/services/cloudwatch/types.js +1 -2
- package/dist/src/lib/aws/services/codebuild/index.d.ts +1 -1
- package/dist/src/lib/aws/services/codebuild/index.js +1 -17
- package/dist/src/lib/aws/services/codebuild/main.d.ts +1 -1
- package/dist/src/lib/aws/services/codebuild/main.js +8 -12
- package/dist/src/lib/aws/services/constants.js +2 -5
- package/dist/src/lib/aws/services/dynamodb/index.d.ts +2 -2
- package/dist/src/lib/aws/services/dynamodb/index.js +2 -18
- package/dist/src/lib/aws/services/dynamodb/main.d.ts +2 -2
- package/dist/src/lib/aws/services/dynamodb/main.js +19 -24
- package/dist/src/lib/aws/services/dynamodb/types.d.ts +1 -1
- package/dist/src/lib/aws/services/dynamodb/types.js +1 -2
- package/dist/src/lib/aws/services/elastic-container-registry/index.d.ts +1 -1
- package/dist/src/lib/aws/services/elastic-container-registry/index.js +1 -17
- package/dist/src/lib/aws/services/elastic-container-registry/main.d.ts +1 -1
- package/dist/src/lib/aws/services/elastic-container-registry/main.js +5 -9
- package/dist/src/lib/aws/services/elastic-container-service/index.d.ts +2 -2
- package/dist/src/lib/aws/services/elastic-container-service/index.js +2 -18
- package/dist/src/lib/aws/services/elastic-container-service/main.d.ts +2 -2
- package/dist/src/lib/aws/services/elastic-container-service/main.js +29 -36
- package/dist/src/lib/aws/services/elastic-container-service/types.d.ts +1 -1
- package/dist/src/lib/aws/services/elastic-container-service/types.js +1 -2
- package/dist/src/lib/aws/services/elastic-file-system/index.d.ts +2 -2
- package/dist/src/lib/aws/services/elastic-file-system/index.js +2 -18
- package/dist/src/lib/aws/services/elastic-file-system/main.d.ts +2 -2
- package/dist/src/lib/aws/services/elastic-file-system/main.js +19 -26
- package/dist/src/lib/aws/services/elastic-file-system/types.js +1 -2
- package/dist/src/lib/aws/services/elastic-kubernetes-service/index.d.ts +2 -2
- package/dist/src/lib/aws/services/elastic-kubernetes-service/index.js +2 -18
- package/dist/src/lib/aws/services/elastic-kubernetes-service/main.d.ts +2 -2
- package/dist/src/lib/aws/services/elastic-kubernetes-service/main.js +9 -13
- package/dist/src/lib/aws/services/elastic-kubernetes-service/types.js +1 -2
- package/dist/src/lib/aws/services/elasticache/index.d.ts +2 -2
- package/dist/src/lib/aws/services/elasticache/index.js +2 -18
- package/dist/src/lib/aws/services/elasticache/main.d.ts +2 -2
- package/dist/src/lib/aws/services/elasticache/main.js +14 -21
- package/dist/src/lib/aws/services/elasticache/types.js +1 -2
- package/dist/src/lib/aws/services/eventbridge/index.d.ts +3 -3
- package/dist/src/lib/aws/services/eventbridge/index.js +3 -19
- package/dist/src/lib/aws/services/eventbridge/main.d.ts +2 -2
- package/dist/src/lib/aws/services/eventbridge/main.js +39 -46
- package/dist/src/lib/aws/services/eventbridge/target.d.ts +1 -1
- package/dist/src/lib/aws/services/eventbridge/target.js +7 -12
- package/dist/src/lib/aws/services/eventbridge/types.d.ts +1 -1
- package/dist/src/lib/aws/services/eventbridge/types.js +1 -2
- package/dist/src/lib/aws/services/evidently/index.d.ts +2 -2
- package/dist/src/lib/aws/services/evidently/index.js +2 -18
- package/dist/src/lib/aws/services/evidently/main.d.ts +2 -2
- package/dist/src/lib/aws/services/evidently/main.js +18 -22
- package/dist/src/lib/aws/services/evidently/types.js +1 -2
- package/dist/src/lib/aws/services/identity-access-management/index.d.ts +1 -1
- package/dist/src/lib/aws/services/identity-access-management/index.js +1 -17
- package/dist/src/lib/aws/services/identity-access-management/main.d.ts +1 -1
- package/dist/src/lib/aws/services/identity-access-management/main.js +112 -116
- package/dist/src/lib/aws/services/index.d.ts +28 -28
- package/dist/src/lib/aws/services/index.js +28 -44
- package/dist/src/lib/aws/services/key-management-service/index.d.ts +2 -2
- package/dist/src/lib/aws/services/key-management-service/index.js +2 -18
- package/dist/src/lib/aws/services/key-management-service/main.d.ts +2 -2
- package/dist/src/lib/aws/services/key-management-service/main.js +6 -10
- package/dist/src/lib/aws/services/key-management-service/types.js +1 -2
- package/dist/src/lib/aws/services/lambda/index.d.ts +2 -2
- package/dist/src/lib/aws/services/lambda/index.js +2 -18
- package/dist/src/lib/aws/services/lambda/main.d.ts +4 -3
- package/dist/src/lib/aws/services/lambda/main.js +48 -57
- package/dist/src/lib/aws/services/lambda/types.d.ts +4 -3
- package/dist/src/lib/aws/services/lambda/types.js +1 -2
- package/dist/src/lib/aws/services/route53/index.d.ts +2 -2
- package/dist/src/lib/aws/services/route53/index.js +2 -18
- package/dist/src/lib/aws/services/route53/main.d.ts +2 -2
- package/dist/src/lib/aws/services/route53/main.js +21 -25
- package/dist/src/lib/aws/services/route53/types.js +1 -2
- package/dist/src/lib/aws/services/secrets-manager/index.d.ts +2 -2
- package/dist/src/lib/aws/services/secrets-manager/index.js +2 -18
- package/dist/src/lib/aws/services/secrets-manager/main.d.ts +2 -2
- package/dist/src/lib/aws/services/secrets-manager/main.js +12 -16
- package/dist/src/lib/aws/services/secrets-manager/types.js +1 -2
- package/dist/src/lib/aws/services/simple-notification-service/index.d.ts +2 -2
- package/dist/src/lib/aws/services/simple-notification-service/index.js +2 -18
- package/dist/src/lib/aws/services/simple-notification-service/main.d.ts +2 -2
- package/dist/src/lib/aws/services/simple-notification-service/main.js +14 -21
- package/dist/src/lib/aws/services/simple-notification-service/types.js +1 -2
- package/dist/src/lib/aws/services/simple-queue-service/index.d.ts +2 -2
- package/dist/src/lib/aws/services/simple-queue-service/index.js +2 -18
- package/dist/src/lib/aws/services/simple-queue-service/main.d.ts +3 -3
- package/dist/src/lib/aws/services/simple-queue-service/main.js +18 -25
- package/dist/src/lib/aws/services/simple-queue-service/types.d.ts +1 -1
- package/dist/src/lib/aws/services/simple-queue-service/types.js +1 -2
- package/dist/src/lib/aws/services/simple-storage-service/index.d.ts +2 -2
- package/dist/src/lib/aws/services/simple-storage-service/index.js +2 -18
- package/dist/src/lib/aws/services/simple-storage-service/main.d.ts +2 -2
- package/dist/src/lib/aws/services/simple-storage-service/main.js +35 -42
- package/dist/src/lib/aws/services/simple-storage-service/types.d.ts +1 -1
- package/dist/src/lib/aws/services/simple-storage-service/types.js +1 -2
- package/dist/src/lib/aws/services/step-function/index.d.ts +2 -2
- package/dist/src/lib/aws/services/step-function/index.js +2 -18
- package/dist/src/lib/aws/services/step-function/main.d.ts +2 -2
- package/dist/src/lib/aws/services/step-function/main.js +45 -52
- package/dist/src/lib/aws/services/step-function/types.js +1 -2
- package/dist/src/lib/aws/services/systems-manager/index.d.ts +2 -2
- package/dist/src/lib/aws/services/systems-manager/index.js +2 -18
- package/dist/src/lib/aws/services/systems-manager/main.d.ts +2 -2
- package/dist/src/lib/aws/services/systems-manager/main.js +11 -16
- package/dist/src/lib/aws/services/systems-manager/types.js +1 -2
- package/dist/src/lib/aws/services/virtual-private-cloud/index.d.ts +2 -2
- package/dist/src/lib/aws/services/virtual-private-cloud/index.js +2 -18
- package/dist/src/lib/aws/services/virtual-private-cloud/ipv6.d.ts +2 -2
- package/dist/src/lib/aws/services/virtual-private-cloud/ipv6.js +12 -19
- package/dist/src/lib/aws/services/virtual-private-cloud/main.d.ts +2 -2
- package/dist/src/lib/aws/services/virtual-private-cloud/main.js +19 -26
- package/dist/src/lib/aws/services/virtual-private-cloud/types.js +1 -2
- package/dist/src/lib/aws/services/web-application-firewall/index.d.ts +2 -2
- package/dist/src/lib/aws/services/web-application-firewall/index.js +2 -18
- package/dist/src/lib/aws/services/web-application-firewall/main.d.ts +2 -2
- package/dist/src/lib/aws/services/web-application-firewall/main.js +9 -13
- package/dist/src/lib/aws/services/web-application-firewall/types.js +1 -2
- package/dist/src/lib/aws/types/index.js +1 -2
- package/dist/src/lib/aws/utils/index.d.ts +1 -1
- package/dist/src/lib/aws/utils/index.js +11 -20
- package/dist/src/lib/azure/.gen/providers/azapi/provider/index.js +4 -43
- package/dist/src/lib/azure/common/constants.js +3 -6
- package/dist/src/lib/azure/common/construct.d.ts +3 -3
- package/dist/src/lib/azure/common/construct.js +37 -41
- package/dist/src/lib/azure/common/index.d.ts +6 -6
- package/dist/src/lib/azure/common/index.js +6 -22
- package/dist/src/lib/azure/common/resource-name-formatter.d.ts +1 -2
- package/dist/src/lib/azure/common/resource-name-formatter.js +2 -6
- package/dist/src/lib/azure/common/stack.d.ts +2 -2
- package/dist/src/lib/azure/common/stack.js +20 -27
- package/dist/src/lib/azure/common/tagging.js +5 -9
- package/dist/src/lib/azure/common/types.d.ts +3 -3
- package/dist/src/lib/azure/common/types.js +1 -2
- package/dist/src/lib/azure/index.d.ts +4 -4
- package/dist/src/lib/azure/index.js +4 -20
- package/dist/src/lib/azure/services/api-management/index.d.ts +2 -2
- package/dist/src/lib/azure/services/api-management/index.js +2 -18
- package/dist/src/lib/azure/services/api-management/main.d.ts +9 -9
- package/dist/src/lib/azure/services/api-management/main.js +41 -48
- package/dist/src/lib/azure/services/api-management/types.d.ts +6 -6
- package/dist/src/lib/azure/services/api-management/types.js +1 -2
- package/dist/src/lib/azure/services/app-configuration/index.d.ts +2 -2
- package/dist/src/lib/azure/services/app-configuration/index.js +2 -18
- package/dist/src/lib/azure/services/app-configuration/main.d.ts +3 -3
- package/dist/src/lib/azure/services/app-configuration/main.js +9 -13
- package/dist/src/lib/azure/services/app-configuration/types.d.ts +1 -1
- package/dist/src/lib/azure/services/app-configuration/types.js +1 -2
- package/dist/src/lib/azure/services/app-service/index.d.ts +2 -2
- package/dist/src/lib/azure/services/app-service/index.js +2 -18
- package/dist/src/lib/azure/services/app-service/main.d.ts +4 -4
- package/dist/src/lib/azure/services/app-service/main.js +16 -20
- package/dist/src/lib/azure/services/app-service/types.d.ts +2 -2
- package/dist/src/lib/azure/services/app-service/types.js +1 -2
- package/dist/src/lib/azure/services/application-insights/index.d.ts +2 -2
- package/dist/src/lib/azure/services/application-insights/index.js +2 -18
- package/dist/src/lib/azure/services/application-insights/main.d.ts +3 -3
- package/dist/src/lib/azure/services/application-insights/main.js +9 -13
- package/dist/src/lib/azure/services/application-insights/types.d.ts +1 -1
- package/dist/src/lib/azure/services/application-insights/types.js +1 -2
- package/dist/src/lib/azure/services/cosmosdb/index.d.ts +2 -2
- package/dist/src/lib/azure/services/cosmosdb/index.js +2 -18
- package/dist/src/lib/azure/services/cosmosdb/main.d.ts +5 -5
- package/dist/src/lib/azure/services/cosmosdb/main.js +21 -25
- package/dist/src/lib/azure/services/cosmosdb/types.d.ts +3 -3
- package/dist/src/lib/azure/services/cosmosdb/types.js +1 -2
- package/dist/src/lib/azure/services/dns/index.d.ts +2 -2
- package/dist/src/lib/azure/services/dns/index.js +2 -18
- package/dist/src/lib/azure/services/dns/main.d.ts +6 -6
- package/dist/src/lib/azure/services/dns/main.js +24 -28
- package/dist/src/lib/azure/services/dns/types.d.ts +4 -4
- package/dist/src/lib/azure/services/dns/types.js +1 -2
- package/dist/src/lib/azure/services/eventgrid/index.d.ts +2 -2
- package/dist/src/lib/azure/services/eventgrid/index.js +2 -18
- package/dist/src/lib/azure/services/eventgrid/main.d.ts +6 -6
- package/dist/src/lib/azure/services/eventgrid/main.js +34 -38
- package/dist/src/lib/azure/services/eventgrid/types.d.ts +3 -3
- package/dist/src/lib/azure/services/eventgrid/types.js +1 -2
- package/dist/src/lib/azure/services/function/index.d.ts +2 -2
- package/dist/src/lib/azure/services/function/index.js +2 -18
- package/dist/src/lib/azure/services/function/main.d.ts +5 -5
- package/dist/src/lib/azure/services/function/main.js +17 -21
- package/dist/src/lib/azure/services/function/types.d.ts +3 -3
- package/dist/src/lib/azure/services/function/types.js +1 -2
- package/dist/src/lib/azure/services/index.d.ts +15 -15
- package/dist/src/lib/azure/services/index.js +15 -31
- package/dist/src/lib/azure/services/key-vault/index.d.ts +2 -2
- package/dist/src/lib/azure/services/key-vault/index.js +2 -18
- package/dist/src/lib/azure/services/key-vault/main.d.ts +3 -3
- package/dist/src/lib/azure/services/key-vault/main.js +9 -13
- package/dist/src/lib/azure/services/key-vault/types.d.ts +1 -1
- package/dist/src/lib/azure/services/key-vault/types.js +1 -2
- package/dist/src/lib/azure/services/log-analytics-workspace/index.d.ts +2 -2
- package/dist/src/lib/azure/services/log-analytics-workspace/index.js +2 -18
- package/dist/src/lib/azure/services/log-analytics-workspace/main.d.ts +3 -3
- package/dist/src/lib/azure/services/log-analytics-workspace/main.js +9 -13
- package/dist/src/lib/azure/services/log-analytics-workspace/types.d.ts +1 -1
- package/dist/src/lib/azure/services/log-analytics-workspace/types.js +1 -2
- package/dist/src/lib/azure/services/monitor/index.d.ts +2 -2
- package/dist/src/lib/azure/services/monitor/index.js +2 -18
- package/dist/src/lib/azure/services/monitor/main.d.ts +3 -3
- package/dist/src/lib/azure/services/monitor/main.js +7 -11
- package/dist/src/lib/azure/services/monitor/types.d.ts +1 -1
- package/dist/src/lib/azure/services/monitor/types.js +1 -2
- package/dist/src/lib/azure/services/redis/index.d.ts +2 -2
- package/dist/src/lib/azure/services/redis/index.js +2 -18
- package/dist/src/lib/azure/services/redis/main.d.ts +3 -3
- package/dist/src/lib/azure/services/redis/main.js +9 -13
- package/dist/src/lib/azure/services/redis/types.d.ts +1 -1
- package/dist/src/lib/azure/services/redis/types.js +1 -2
- package/dist/src/lib/azure/services/resource-group/index.d.ts +2 -2
- package/dist/src/lib/azure/services/resource-group/index.js +2 -18
- package/dist/src/lib/azure/services/resource-group/main.d.ts +3 -3
- package/dist/src/lib/azure/services/resource-group/main.js +7 -11
- package/dist/src/lib/azure/services/resource-group/types.d.ts +1 -1
- package/dist/src/lib/azure/services/resource-group/types.js +1 -2
- package/dist/src/lib/azure/services/servicebus/index.d.ts +2 -2
- package/dist/src/lib/azure/services/servicebus/index.js +2 -18
- package/dist/src/lib/azure/services/servicebus/main.d.ts +7 -7
- package/dist/src/lib/azure/services/servicebus/main.js +29 -33
- package/dist/src/lib/azure/services/servicebus/types.d.ts +5 -5
- package/dist/src/lib/azure/services/servicebus/types.js +1 -2
- package/dist/src/lib/azure/services/storage/index.d.ts +2 -2
- package/dist/src/lib/azure/services/storage/index.js +2 -18
- package/dist/src/lib/azure/services/storage/main.d.ts +6 -6
- package/dist/src/lib/azure/services/storage/main.js +27 -31
- package/dist/src/lib/azure/services/storage/types.d.ts +5 -5
- package/dist/src/lib/azure/services/storage/types.js +1 -2
- package/dist/src/lib/azure/types/index.js +1 -2
- package/dist/src/lib/azure/utils/index.d.ts +1 -1
- package/dist/src/lib/azure/utils/index.js +5 -12
- package/dist/src/lib/cloudflare/common/constants.js +2 -5
- package/dist/src/lib/cloudflare/common/construct.d.ts +4 -4
- package/dist/src/lib/cloudflare/common/construct.js +32 -36
- package/dist/src/lib/cloudflare/common/index.d.ts +4 -4
- package/dist/src/lib/cloudflare/common/index.js +4 -20
- package/dist/src/lib/cloudflare/common/stack.d.ts +2 -2
- package/dist/src/lib/cloudflare/common/stack.js +18 -25
- package/dist/src/lib/cloudflare/common/types.d.ts +3 -3
- package/dist/src/lib/cloudflare/common/types.js +1 -2
- package/dist/src/lib/cloudflare/construct/index.d.ts +2 -2
- package/dist/src/lib/cloudflare/construct/index.js +2 -18
- package/dist/src/lib/cloudflare/construct/pages-static-site/index.d.ts +2 -2
- package/dist/src/lib/cloudflare/construct/pages-static-site/index.js +2 -18
- package/dist/src/lib/cloudflare/construct/pages-static-site/main.d.ts +7 -7
- package/dist/src/lib/cloudflare/construct/pages-static-site/main.js +12 -16
- package/dist/src/lib/cloudflare/construct/pages-static-site/types.d.ts +2 -2
- package/dist/src/lib/cloudflare/construct/pages-static-site/types.js +1 -2
- package/dist/src/lib/cloudflare/construct/worker-site/index.d.ts +2 -2
- package/dist/src/lib/cloudflare/construct/worker-site/index.js +2 -18
- package/dist/src/lib/cloudflare/construct/worker-site/main.d.ts +5 -5
- package/dist/src/lib/cloudflare/construct/worker-site/main.js +15 -19
- package/dist/src/lib/cloudflare/construct/worker-site/types.d.ts +2 -2
- package/dist/src/lib/cloudflare/construct/worker-site/types.js +1 -2
- package/dist/src/lib/cloudflare/index.d.ts +5 -5
- package/dist/src/lib/cloudflare/index.js +5 -21
- package/dist/src/lib/cloudflare/services/access/index.d.ts +2 -2
- package/dist/src/lib/cloudflare/services/access/index.js +2 -18
- package/dist/src/lib/cloudflare/services/access/main.d.ts +13 -13
- package/dist/src/lib/cloudflare/services/access/main.js +45 -49
- package/dist/src/lib/cloudflare/services/access/types.d.ts +11 -11
- package/dist/src/lib/cloudflare/services/access/types.js +1 -2
- package/dist/src/lib/cloudflare/services/api-shield/index.d.ts +2 -2
- package/dist/src/lib/cloudflare/services/api-shield/index.js +2 -18
- package/dist/src/lib/cloudflare/services/api-shield/main.d.ts +7 -7
- package/dist/src/lib/cloudflare/services/api-shield/main.js +22 -26
- package/dist/src/lib/cloudflare/services/api-shield/types.d.ts +5 -5
- package/dist/src/lib/cloudflare/services/api-shield/types.js +1 -2
- package/dist/src/lib/cloudflare/services/argo/index.d.ts +2 -2
- package/dist/src/lib/cloudflare/services/argo/index.js +2 -18
- package/dist/src/lib/cloudflare/services/argo/main.d.ts +4 -4
- package/dist/src/lib/cloudflare/services/argo/main.js +10 -14
- package/dist/src/lib/cloudflare/services/argo/types.d.ts +2 -2
- package/dist/src/lib/cloudflare/services/argo/types.js +1 -2
- package/dist/src/lib/cloudflare/services/filter/index.d.ts +2 -2
- package/dist/src/lib/cloudflare/services/filter/index.js +2 -18
- package/dist/src/lib/cloudflare/services/filter/main.d.ts +3 -3
- package/dist/src/lib/cloudflare/services/filter/main.js +6 -10
- package/dist/src/lib/cloudflare/services/filter/types.d.ts +1 -1
- package/dist/src/lib/cloudflare/services/filter/types.js +1 -2
- package/dist/src/lib/cloudflare/services/firewall/index.d.ts +2 -2
- package/dist/src/lib/cloudflare/services/firewall/index.js +2 -18
- package/dist/src/lib/cloudflare/services/firewall/main.d.ts +3 -3
- package/dist/src/lib/cloudflare/services/firewall/main.js +6 -10
- package/dist/src/lib/cloudflare/services/firewall/types.d.ts +1 -1
- package/dist/src/lib/cloudflare/services/firewall/types.js +1 -2
- package/dist/src/lib/cloudflare/services/index.d.ts +10 -10
- package/dist/src/lib/cloudflare/services/index.js +10 -26
- package/dist/src/lib/cloudflare/services/page/index.d.ts +2 -2
- package/dist/src/lib/cloudflare/services/page/index.js +2 -18
- package/dist/src/lib/cloudflare/services/page/main.d.ts +5 -5
- package/dist/src/lib/cloudflare/services/page/main.js +17 -21
- package/dist/src/lib/cloudflare/services/page/types.d.ts +3 -3
- package/dist/src/lib/cloudflare/services/page/types.js +1 -2
- package/dist/src/lib/cloudflare/services/record/index.d.ts +2 -2
- package/dist/src/lib/cloudflare/services/record/index.js +2 -18
- package/dist/src/lib/cloudflare/services/record/main.d.ts +3 -3
- package/dist/src/lib/cloudflare/services/record/main.js +6 -10
- package/dist/src/lib/cloudflare/services/record/types.d.ts +1 -1
- package/dist/src/lib/cloudflare/services/record/types.js +1 -2
- package/dist/src/lib/cloudflare/services/rule-set/index.d.ts +2 -2
- package/dist/src/lib/cloudflare/services/rule-set/index.js +2 -18
- package/dist/src/lib/cloudflare/services/rule-set/main.d.ts +3 -3
- package/dist/src/lib/cloudflare/services/rule-set/main.js +6 -10
- package/dist/src/lib/cloudflare/services/rule-set/types.d.ts +1 -1
- package/dist/src/lib/cloudflare/services/rule-set/types.js +1 -2
- package/dist/src/lib/cloudflare/services/worker/index.d.ts +2 -2
- package/dist/src/lib/cloudflare/services/worker/index.js +2 -18
- package/dist/src/lib/cloudflare/services/worker/main.d.ts +8 -8
- package/dist/src/lib/cloudflare/services/worker/main.js +26 -30
- package/dist/src/lib/cloudflare/services/worker/types.d.ts +6 -6
- package/dist/src/lib/cloudflare/services/worker/types.js +1 -2
- package/dist/src/lib/cloudflare/services/zone/index.d.ts +2 -2
- package/dist/src/lib/cloudflare/services/zone/index.js +2 -18
- package/dist/src/lib/cloudflare/services/zone/main.d.ts +11 -11
- package/dist/src/lib/cloudflare/services/zone/main.js +36 -40
- package/dist/src/lib/cloudflare/services/zone/types.d.ts +9 -9
- package/dist/src/lib/cloudflare/services/zone/types.js +1 -2
- package/dist/src/lib/cloudflare/types/index.js +1 -2
- package/dist/src/lib/cloudflare/utils/index.d.ts +1 -1
- package/dist/src/lib/cloudflare/utils/index.js +5 -12
- package/dist/src/lib/common/construct.d.ts +1 -1
- package/dist/src/lib/common/construct.js +2 -6
- package/dist/src/lib/common/index.d.ts +4 -4
- package/dist/src/lib/common/index.js +7 -28
- package/dist/src/lib/common/stack.d.ts +1 -1
- package/dist/src/lib/common/stack.js +2 -6
- package/dist/src/lib/common/types.js +1 -2
- package/dist/src/lib/common/utils.d.ts +15 -4
- package/dist/src/lib/common/utils.js +18 -13
- package/dist/src/lib/index.d.ts +4 -4
- package/dist/src/lib/index.js +4 -20
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/eslint.config.mjs +60 -2
- package/index.ts +1 -1
- package/package.json +62 -55
- package/setup.js +3 -2
- package/src/lib/aws/common/construct.ts +5 -5
- package/src/lib/aws/common/index.ts +4 -4
- package/src/lib/aws/common/resource-name-formatter.ts +14 -9
- package/src/lib/aws/common/stack.ts +4 -4
- package/src/lib/aws/common/types.ts +1 -1
- package/src/lib/aws/construct/api-to-any-target/index.ts +3 -3
- package/src/lib/aws/construct/api-to-any-target/main.ts +3 -3
- package/src/lib/aws/construct/api-to-any-target/target.ts +1 -1
- package/src/lib/aws/construct/api-to-any-target/types.ts +2 -2
- package/src/lib/aws/construct/api-to-eventbridge-target/api.ts +1 -1
- package/src/lib/aws/construct/api-to-eventbridge-target/event.ts +1 -1
- package/src/lib/aws/construct/api-to-eventbridge-target/index.ts +4 -4
- package/src/lib/aws/construct/api-to-eventbridge-target/main.ts +4 -4
- package/src/lib/aws/construct/api-to-eventbridge-target/types.ts +2 -2
- package/src/lib/aws/construct/api-to-eventbridge-target-with-sns/api-destined-lambda.ts +1 -1
- package/src/lib/aws/construct/api-to-eventbridge-target-with-sns/index.ts +3 -3
- package/src/lib/aws/construct/api-to-eventbridge-target-with-sns/main.ts +4 -4
- package/src/lib/aws/construct/api-to-eventbridge-target-with-sns/types.ts +1 -1
- package/src/lib/aws/construct/api-to-lambda-target/api.ts +1 -1
- package/src/lib/aws/construct/api-to-lambda-target/index.ts +3 -3
- package/src/lib/aws/construct/api-to-lambda-target/main.ts +3 -3
- package/src/lib/aws/construct/api-to-lambda-target/types.ts +2 -2
- package/src/lib/aws/construct/application-configuration/index.ts +2 -2
- package/src/lib/aws/construct/application-configuration/main.ts +2 -2
- package/src/lib/aws/construct/application-configuration/types.ts +2 -2
- package/src/lib/aws/construct/event-handler/handler.ts +1 -1
- package/src/lib/aws/construct/event-handler/index.ts +3 -3
- package/src/lib/aws/construct/event-handler/main.ts +3 -3
- package/src/lib/aws/construct/event-handler/types.ts +9 -2
- package/src/lib/aws/construct/index.ts +14 -14
- package/src/lib/aws/construct/lambda-with-iam-access/index.ts +2 -2
- package/src/lib/aws/construct/lambda-with-iam-access/main.ts +3 -3
- package/src/lib/aws/construct/lambda-with-iam-access/types.ts +2 -2
- package/src/lib/aws/construct/piped-event-handler/index.ts +2 -2
- package/src/lib/aws/construct/piped-event-handler/main.ts +2 -2
- package/src/lib/aws/construct/piped-event-handler/types.ts +2 -2
- package/src/lib/aws/construct/rest-api-lambda/index.ts +2 -2
- package/src/lib/aws/construct/rest-api-lambda/main.ts +2 -2
- package/src/lib/aws/construct/rest-api-lambda/types.ts +2 -2
- package/src/lib/aws/construct/rest-api-lambda-with-cache/index.ts +2 -2
- package/src/lib/aws/construct/rest-api-lambda-with-cache/main.ts +3 -3
- package/src/lib/aws/construct/rest-api-lambda-with-cache/types.ts +2 -2
- package/src/lib/aws/construct/site-with-ecs-backend/index.ts +3 -3
- package/src/lib/aws/construct/site-with-ecs-backend/main.ts +2 -2
- package/src/lib/aws/construct/site-with-ecs-backend/types.ts +3 -3
- package/src/lib/aws/construct/site-with-lambda-backend/index.ts +3 -3
- package/src/lib/aws/construct/site-with-lambda-backend/main.ts +3 -3
- package/src/lib/aws/construct/site-with-lambda-backend/types.ts +4 -5
- package/src/lib/aws/construct/static-asset-deployment/index.ts +2 -2
- package/src/lib/aws/construct/static-asset-deployment/main.ts +2 -2
- package/src/lib/aws/construct/static-asset-deployment/types.ts +2 -2
- package/src/lib/aws/construct/static-site/index.ts +2 -2
- package/src/lib/aws/construct/static-site/main.ts +2 -10
- package/src/lib/aws/construct/static-site/types.ts +2 -2
- package/src/lib/aws/index.ts +5 -5
- package/src/lib/aws/services/api-gateway/index.ts +2 -2
- package/src/lib/aws/services/api-gateway/main.ts +3 -3
- package/src/lib/aws/services/api-gateway/types.ts +2 -2
- package/src/lib/aws/services/appconfig/index.ts +3 -3
- package/src/lib/aws/services/appconfig/main.ts +5 -5
- package/src/lib/aws/services/appconfig/types.ts +0 -2
- package/src/lib/aws/services/certificate-manager/index.ts +2 -2
- package/src/lib/aws/services/certificate-manager/main.ts +3 -3
- package/src/lib/aws/services/cloudfront/index.ts +2 -2
- package/src/lib/aws/services/cloudfront/main.ts +21 -81
- package/src/lib/aws/services/cloudfront/types.ts +2 -13
- package/src/lib/aws/services/cloudtrail/index.ts +2 -2
- package/src/lib/aws/services/cloudtrail/main.ts +3 -3
- package/src/lib/aws/services/cloudtrail/types.ts +0 -1
- package/src/lib/aws/services/cloudwatch/index.ts +3 -3
- package/src/lib/aws/services/cloudwatch/logs.ts +3 -3
- package/src/lib/aws/services/cloudwatch/main.ts +3 -3
- package/src/lib/aws/services/cloudwatch/types.ts +1 -1
- package/src/lib/aws/services/codebuild/index.ts +1 -1
- package/src/lib/aws/services/codebuild/main.ts +1 -1
- package/src/lib/aws/services/dynamodb/index.ts +2 -2
- package/src/lib/aws/services/dynamodb/main.ts +6 -4
- package/src/lib/aws/services/dynamodb/types.ts +1 -2
- package/src/lib/aws/services/elastic-container-registry/index.ts +1 -1
- package/src/lib/aws/services/elastic-container-registry/main.ts +2 -2
- package/src/lib/aws/services/elastic-container-service/index.ts +2 -2
- package/src/lib/aws/services/elastic-container-service/main.ts +3 -3
- package/src/lib/aws/services/elastic-container-service/types.ts +1 -2
- package/src/lib/aws/services/elastic-file-system/index.ts +2 -2
- package/src/lib/aws/services/elastic-file-system/main.ts +3 -3
- package/src/lib/aws/services/elastic-file-system/types.ts +0 -1
- package/src/lib/aws/services/elastic-kubernetes-service/index.ts +2 -2
- package/src/lib/aws/services/elastic-kubernetes-service/main.ts +3 -3
- package/src/lib/aws/services/elastic-kubernetes-service/types.ts +0 -1
- package/src/lib/aws/services/elasticache/index.ts +2 -2
- package/src/lib/aws/services/elasticache/main.ts +3 -3
- package/src/lib/aws/services/elasticache/types.ts +0 -1
- package/src/lib/aws/services/eventbridge/index.ts +3 -3
- package/src/lib/aws/services/eventbridge/main.ts +3 -3
- package/src/lib/aws/services/eventbridge/target.ts +1 -1
- package/src/lib/aws/services/eventbridge/types.ts +1 -2
- package/src/lib/aws/services/evidently/index.ts +2 -2
- package/src/lib/aws/services/evidently/main.ts +3 -3
- package/src/lib/aws/services/evidently/types.ts +0 -1
- package/src/lib/aws/services/identity-access-management/index.ts +1 -1
- package/src/lib/aws/services/identity-access-management/main.ts +2 -2
- package/src/lib/aws/services/index.ts +28 -28
- package/src/lib/aws/services/key-management-service/index.ts +2 -2
- package/src/lib/aws/services/key-management-service/main.ts +3 -3
- package/src/lib/aws/services/key-management-service/types.ts +0 -1
- package/src/lib/aws/services/lambda/index.ts +2 -2
- package/src/lib/aws/services/lambda/main.ts +10 -15
- package/src/lib/aws/services/lambda/types.ts +4 -4
- package/src/lib/aws/services/route53/index.ts +2 -2
- package/src/lib/aws/services/route53/main.ts +3 -3
- package/src/lib/aws/services/secrets-manager/index.ts +2 -2
- package/src/lib/aws/services/secrets-manager/main.ts +3 -3
- package/src/lib/aws/services/secrets-manager/types.ts +0 -1
- package/src/lib/aws/services/simple-notification-service/index.ts +2 -2
- package/src/lib/aws/services/simple-notification-service/main.ts +3 -3
- package/src/lib/aws/services/simple-notification-service/types.ts +0 -1
- package/src/lib/aws/services/simple-queue-service/index.ts +2 -2
- package/src/lib/aws/services/simple-queue-service/main.ts +4 -4
- package/src/lib/aws/services/simple-queue-service/types.ts +1 -2
- package/src/lib/aws/services/simple-storage-service/index.ts +2 -2
- package/src/lib/aws/services/simple-storage-service/main.ts +3 -3
- package/src/lib/aws/services/simple-storage-service/types.ts +1 -2
- package/src/lib/aws/services/step-function/index.ts +2 -2
- package/src/lib/aws/services/step-function/main.ts +3 -3
- package/src/lib/aws/services/step-function/types.ts +0 -1
- package/src/lib/aws/services/systems-manager/index.ts +2 -2
- package/src/lib/aws/services/systems-manager/main.ts +3 -3
- package/src/lib/aws/services/systems-manager/types.ts +0 -1
- package/src/lib/aws/services/virtual-private-cloud/index.ts +2 -2
- package/src/lib/aws/services/virtual-private-cloud/ipv6.ts +2 -2
- package/src/lib/aws/services/virtual-private-cloud/main.ts +4 -4
- package/src/lib/aws/services/virtual-private-cloud/types.ts +0 -1
- package/src/lib/aws/services/web-application-firewall/index.ts +2 -2
- package/src/lib/aws/services/web-application-firewall/main.ts +3 -3
- package/src/lib/aws/services/web-application-firewall/types.ts +0 -1
- package/src/lib/aws/utils/index.ts +1 -1
- package/src/lib/azure/common/construct.ts +16 -16
- package/src/lib/azure/common/index.ts +6 -6
- package/src/lib/azure/common/resource-name-formatter.ts +1 -2
- package/src/lib/azure/common/stack.ts +5 -5
- package/src/lib/azure/common/tagging.ts +1 -1
- package/src/lib/azure/common/types.ts +3 -3
- package/src/lib/azure/index.ts +4 -4
- package/src/lib/azure/services/api-management/index.ts +2 -2
- package/src/lib/azure/services/api-management/main.ts +20 -20
- package/src/lib/azure/services/api-management/types.ts +6 -6
- package/src/lib/azure/services/app-configuration/index.ts +2 -2
- package/src/lib/azure/services/app-configuration/main.ts +5 -5
- package/src/lib/azure/services/app-configuration/types.ts +1 -1
- package/src/lib/azure/services/app-service/index.ts +2 -2
- package/src/lib/azure/services/app-service/main.ts +6 -6
- package/src/lib/azure/services/app-service/types.ts +2 -2
- package/src/lib/azure/services/application-insights/index.ts +2 -2
- package/src/lib/azure/services/application-insights/main.ts +5 -5
- package/src/lib/azure/services/application-insights/types.ts +1 -1
- package/src/lib/azure/services/cosmosdb/index.ts +2 -2
- package/src/lib/azure/services/cosmosdb/main.ts +7 -7
- package/src/lib/azure/services/cosmosdb/types.ts +3 -3
- package/src/lib/azure/services/dns/index.ts +2 -2
- package/src/lib/azure/services/dns/main.ts +8 -8
- package/src/lib/azure/services/dns/types.ts +4 -4
- package/src/lib/azure/services/eventgrid/index.ts +2 -2
- package/src/lib/azure/services/eventgrid/main.ts +10 -10
- package/src/lib/azure/services/eventgrid/types.ts +3 -3
- package/src/lib/azure/services/function/index.ts +2 -2
- package/src/lib/azure/services/function/main.ts +7 -7
- package/src/lib/azure/services/function/types.ts +3 -3
- package/src/lib/azure/services/index.ts +15 -15
- package/src/lib/azure/services/key-vault/index.ts +2 -2
- package/src/lib/azure/services/key-vault/main.ts +5 -5
- package/src/lib/azure/services/key-vault/types.ts +1 -1
- package/src/lib/azure/services/log-analytics-workspace/index.ts +2 -2
- package/src/lib/azure/services/log-analytics-workspace/main.ts +5 -5
- package/src/lib/azure/services/log-analytics-workspace/types.ts +1 -1
- package/src/lib/azure/services/monitor/index.ts +2 -2
- package/src/lib/azure/services/monitor/main.ts +4 -4
- package/src/lib/azure/services/monitor/types.ts +1 -1
- package/src/lib/azure/services/redis/index.ts +2 -2
- package/src/lib/azure/services/redis/main.ts +5 -5
- package/src/lib/azure/services/redis/types.ts +1 -1
- package/src/lib/azure/services/resource-group/index.ts +2 -2
- package/src/lib/azure/services/resource-group/main.ts +4 -4
- package/src/lib/azure/services/resource-group/types.ts +1 -1
- package/src/lib/azure/services/servicebus/index.ts +2 -2
- package/src/lib/azure/services/servicebus/main.ts +12 -12
- package/src/lib/azure/services/servicebus/types.ts +5 -5
- package/src/lib/azure/services/storage/index.ts +2 -2
- package/src/lib/azure/services/storage/main.ts +11 -11
- package/src/lib/azure/services/storage/types.ts +6 -7
- package/src/lib/azure/utils/index.ts +1 -1
- package/src/lib/cloudflare/common/construct.ts +7 -7
- package/src/lib/cloudflare/common/index.ts +4 -4
- package/src/lib/cloudflare/common/stack.ts +3 -3
- package/src/lib/cloudflare/common/types.ts +3 -3
- package/src/lib/cloudflare/construct/index.ts +2 -2
- package/src/lib/cloudflare/construct/pages-static-site/index.ts +2 -2
- package/src/lib/cloudflare/construct/pages-static-site/main.ts +11 -11
- package/src/lib/cloudflare/construct/pages-static-site/types.ts +2 -2
- package/src/lib/cloudflare/construct/worker-site/index.ts +2 -2
- package/src/lib/cloudflare/construct/worker-site/main.ts +10 -10
- package/src/lib/cloudflare/construct/worker-site/types.ts +8 -2
- package/src/lib/cloudflare/index.ts +5 -5
- package/src/lib/cloudflare/services/access/index.ts +2 -2
- package/src/lib/cloudflare/services/access/main.ts +17 -17
- package/src/lib/cloudflare/services/access/types.ts +11 -11
- package/src/lib/cloudflare/services/api-shield/index.ts +2 -2
- package/src/lib/cloudflare/services/api-shield/main.ts +8 -8
- package/src/lib/cloudflare/services/api-shield/types.ts +6 -7
- package/src/lib/cloudflare/services/argo/index.ts +2 -2
- package/src/lib/cloudflare/services/argo/main.ts +5 -6
- package/src/lib/cloudflare/services/argo/types.ts +2 -2
- package/src/lib/cloudflare/services/filter/index.ts +2 -2
- package/src/lib/cloudflare/services/filter/main.ts +4 -4
- package/src/lib/cloudflare/services/filter/types.ts +1 -1
- package/src/lib/cloudflare/services/firewall/index.ts +2 -2
- package/src/lib/cloudflare/services/firewall/main.ts +4 -4
- package/src/lib/cloudflare/services/firewall/types.ts +1 -1
- package/src/lib/cloudflare/services/index.ts +10 -10
- package/src/lib/cloudflare/services/page/index.ts +2 -2
- package/src/lib/cloudflare/services/page/main.ts +6 -6
- package/src/lib/cloudflare/services/page/types.ts +3 -3
- package/src/lib/cloudflare/services/record/index.ts +2 -2
- package/src/lib/cloudflare/services/record/main.ts +4 -4
- package/src/lib/cloudflare/services/record/types.ts +1 -1
- package/src/lib/cloudflare/services/rule-set/index.ts +2 -2
- package/src/lib/cloudflare/services/rule-set/main.ts +4 -5
- package/src/lib/cloudflare/services/rule-set/types.ts +1 -1
- package/src/lib/cloudflare/services/worker/index.ts +2 -2
- package/src/lib/cloudflare/services/worker/main.ts +9 -9
- package/src/lib/cloudflare/services/worker/types.ts +6 -6
- package/src/lib/cloudflare/services/zone/index.ts +2 -2
- package/src/lib/cloudflare/services/zone/main.ts +12 -12
- package/src/lib/cloudflare/services/zone/types.ts +9 -9
- package/src/lib/cloudflare/utils/index.ts +1 -1
- package/src/lib/common/construct.ts +1 -1
- package/src/lib/common/index.ts +4 -4
- package/src/lib/common/stack.ts +1 -1
- package/src/lib/common/utils.ts +17 -4
- package/src/lib/index.ts +4 -4
- package/vitest.config.ts +38 -0
package/package.json
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradientedge/cdk-utils",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.85.0",
|
|
4
4
|
"description": "Utilities for AWS CDK provisioning",
|
|
5
|
+
"type": "module",
|
|
5
6
|
"main": "dist/index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
6
13
|
"engines": {
|
|
7
|
-
"node": ">=
|
|
14
|
+
"node": ">=22 <=24",
|
|
8
15
|
"pnpm": "=10"
|
|
9
16
|
},
|
|
10
|
-
"packageManager": "pnpm@10.
|
|
17
|
+
"packageManager": "pnpm@10.26.0",
|
|
11
18
|
"repository": {
|
|
12
19
|
"type": "git",
|
|
13
20
|
"url": "git+https://github.com/gradientedge/cdk-utils.git"
|
|
@@ -29,85 +36,85 @@
|
|
|
29
36
|
},
|
|
30
37
|
"homepage": "https://github.com/gradientedge/cdk-utils#readme",
|
|
31
38
|
"scripts": {
|
|
32
|
-
"build": "
|
|
33
|
-
"build:production": "rimraf dist/ &&
|
|
39
|
+
"build": "rimraf dist/ && tsc && pnpm -r build",
|
|
40
|
+
"build:production": "rimraf dist/ && tsc -p tsconfig.prd.json && pnpm -r build",
|
|
34
41
|
"ci": "pnpm install --frozen-lockfile && pnpm build && pnpm validate && pnpm run docs",
|
|
35
|
-
"cz": "
|
|
36
|
-
"docs": "
|
|
42
|
+
"cz": "cz",
|
|
43
|
+
"docs": "rimraf api-docs && pnpm override:plugin:docs && jsdoc --pedantic -c jsdoc.json .",
|
|
37
44
|
"fix": "pnpm prettify && eslint --fix **/*.ts",
|
|
38
45
|
"lint": "pnpm prettify && eslint **/*.ts --cache --max-warnings=0 --no-warn-ignored",
|
|
39
46
|
"override:plugin:docs": "cp theme/type-converter.js node_modules/better-docs/typescript",
|
|
40
|
-
"prettier": "
|
|
41
|
-
"prettify": "
|
|
42
|
-
"test": "
|
|
43
|
-
"test:watch": "
|
|
47
|
+
"prettier": "prettier --cache --check \"**/*.{ts,json,md}\"",
|
|
48
|
+
"prettify": "prettier --cache --write \"**/*.{ts,json,md}\"",
|
|
49
|
+
"test": "rimraf coverage && vitest run --coverage",
|
|
50
|
+
"test:watch": "vitest",
|
|
51
|
+
"test:coverage": "vitest run --coverage --reporter=verbose",
|
|
52
|
+
"test:coverage:open": "vitest run --coverage && open coverage/index.html",
|
|
44
53
|
"update:deps": "ncu -u --deep --reject react,react-dom",
|
|
45
|
-
"validate": "pnpm prettier && pnpm lint && pnpm test"
|
|
46
|
-
|
|
47
|
-
"husky": {
|
|
48
|
-
"hooks": {
|
|
49
|
-
"pre-commit": "pnpm prettify && pnpm validate"
|
|
50
|
-
}
|
|
54
|
+
"validate": "pnpm prettier && pnpm lint && pnpm test",
|
|
55
|
+
"prepare": "husky"
|
|
51
56
|
},
|
|
52
57
|
"dependencies": {
|
|
53
|
-
"@aws-sdk/client-secrets-manager": "^3.
|
|
54
|
-
"@aws-sdk/credential-providers": "^3.
|
|
55
|
-
"@aws-sdk/types": "^3.
|
|
56
|
-
"@cdktf/provider-aws": "^
|
|
57
|
-
"@cdktf/provider-azurerm": "^14.
|
|
58
|
-
"@cdktf/provider-cloudflare": "^13.
|
|
59
|
-
"@types/lodash": "^4.17.
|
|
60
|
-
"@types/node": "^
|
|
61
|
-
"@types/uuid": "^
|
|
58
|
+
"@aws-sdk/client-secrets-manager": "^3.953.0",
|
|
59
|
+
"@aws-sdk/credential-providers": "^3.953.0",
|
|
60
|
+
"@aws-sdk/types": "^3.953.0",
|
|
61
|
+
"@cdktf/provider-aws": "^21.22.1",
|
|
62
|
+
"@cdktf/provider-azurerm": "^14.23.1",
|
|
63
|
+
"@cdktf/provider-cloudflare": "^13.9.1",
|
|
64
|
+
"@types/lodash": "^4.17.21",
|
|
65
|
+
"@types/node": "^25.0.3",
|
|
66
|
+
"@types/uuid": "^11.0.0",
|
|
62
67
|
"app-root-path": "^3.1.0",
|
|
63
|
-
"aws-cdk-lib": "^2.
|
|
68
|
+
"aws-cdk-lib": "^2.232.2",
|
|
64
69
|
"cdktf": "^0.21.0",
|
|
65
|
-
"cdktf-local-exec": "^0.
|
|
66
|
-
"constructs": "^10.4.
|
|
70
|
+
"cdktf-local-exec": "^0.6.28",
|
|
71
|
+
"constructs": "^10.4.4",
|
|
67
72
|
"lodash": "^4.17.21",
|
|
68
73
|
"moment": "^2.30.1",
|
|
69
74
|
"nconf": "^0.13.0",
|
|
70
75
|
"pluralize": "^8.0.0",
|
|
71
76
|
"ts-node": "^10.9.2",
|
|
72
|
-
"uuid": "^
|
|
77
|
+
"uuid": "^13.0.0"
|
|
73
78
|
},
|
|
74
79
|
"devDependencies": {
|
|
75
|
-
"@babel/core": "^7.28.
|
|
76
|
-
"@babel/eslint-parser": "^7.28.
|
|
80
|
+
"@babel/core": "^7.28.5",
|
|
81
|
+
"@babel/eslint-parser": "^7.28.5",
|
|
77
82
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
78
|
-
"@eslint/config-array": "^0.
|
|
79
|
-
"@eslint/object-schema": "^
|
|
80
|
-
"@types/
|
|
81
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
82
|
-
"@typescript-eslint/parser": "^8.
|
|
83
|
-
"
|
|
83
|
+
"@eslint/config-array": "^0.23.0",
|
|
84
|
+
"@eslint/object-schema": "^3.0.0",
|
|
85
|
+
"@types/node": "^25.0.3",
|
|
86
|
+
"@typescript-eslint/eslint-plugin": "^8.50.0",
|
|
87
|
+
"@typescript-eslint/parser": "^8.50.0",
|
|
88
|
+
"@vitest/coverage-v8": "^2.1.8",
|
|
89
|
+
"aws-cdk": "^2.1100.1",
|
|
84
90
|
"better-docs": "^2.7.3",
|
|
85
91
|
"codecov": "^3.8.3",
|
|
86
92
|
"commitizen": "^4.3.1",
|
|
87
93
|
"docdash": "^2.0.2",
|
|
88
|
-
"dotenv": "^
|
|
89
|
-
"eslint": "^9.
|
|
90
|
-
"eslint-config-prettier": "^10.1.
|
|
91
|
-
"eslint-plugin-import": "^2.
|
|
92
|
-
"eslint-plugin-jsdoc": "^
|
|
94
|
+
"dotenv": "^17.2.3",
|
|
95
|
+
"eslint": "^9.39.2",
|
|
96
|
+
"eslint-config-prettier": "^10.1.8",
|
|
97
|
+
"eslint-plugin-import": "^2.32.0",
|
|
98
|
+
"eslint-plugin-jsdoc": "^61.5.0",
|
|
93
99
|
"husky": "^9.1.7",
|
|
94
|
-
"
|
|
95
|
-
"jest-extended": "^4.0.2",
|
|
96
|
-
"jest-junit": "^16.0.0",
|
|
97
|
-
"jsdoc": "^4.0.4",
|
|
100
|
+
"jsdoc": "^4.0.5",
|
|
98
101
|
"jsdoc-babel": "^0.5.0",
|
|
99
102
|
"jsdoc-mermaid": "^1.0.0",
|
|
100
103
|
"jsdoc-plugin-typescript": "^3.2.0",
|
|
101
|
-
"jsdoc-to-markdown": "^9.1.
|
|
102
|
-
"prettier": "^3.
|
|
103
|
-
"prettier-plugin-organize-imports": "^4.
|
|
104
|
-
"rimraf": "^6.
|
|
105
|
-
"
|
|
104
|
+
"jsdoc-to-markdown": "^9.1.3",
|
|
105
|
+
"prettier": "^3.7.4",
|
|
106
|
+
"prettier-plugin-organize-imports": "^4.3.0",
|
|
107
|
+
"rimraf": "^6.1.2",
|
|
108
|
+
"rollup": "^4.53.5",
|
|
109
|
+
"semantic-release": "^25.0.2",
|
|
110
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
111
|
+
"@semantic-release/github": "^11.0.0",
|
|
112
|
+
"@semantic-release/npm": "^13.0.0",
|
|
106
113
|
"taffydb": "^2.7.3",
|
|
107
|
-
"ts-jest": "^29.3.2",
|
|
108
114
|
"ts-node": "^10.9.2",
|
|
109
|
-
"typescript": "5.
|
|
110
|
-
"
|
|
115
|
+
"typescript": "5.9.3",
|
|
116
|
+
"vitest": "^2.1.8",
|
|
117
|
+
"yaml": "^2.8.2"
|
|
111
118
|
},
|
|
112
119
|
"optionalDependencies": {
|
|
113
120
|
"prop-types": "^15.8.1",
|
package/setup.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
// CDKTF Testing setup for Vitest
|
|
2
|
+
const { Testing } = require('cdktf')
|
|
3
|
+
Testing.setupJest()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CfnOutput } from 'aws-cdk-lib'
|
|
2
2
|
import { Construct } from 'constructs'
|
|
3
|
-
import { isDevStage, isPrdStage, isTestStage, isUatStage } from '../../common'
|
|
3
|
+
import { isDevStage, isPrdStage, isTestStage, isUatStage } from '../../common/index.js'
|
|
4
4
|
import {
|
|
5
5
|
AcmManager,
|
|
6
6
|
ApiManager,
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
SsmManager,
|
|
32
32
|
VpcManager,
|
|
33
33
|
WafManager,
|
|
34
|
-
} from '../services'
|
|
35
|
-
import { createCfnOutput } from '../utils'
|
|
36
|
-
import { ResourceNameFormatter } from './resource-name-formatter'
|
|
37
|
-
import { CommonStackProps } from './types'
|
|
34
|
+
} from '../services/index.js'
|
|
35
|
+
import { createCfnOutput } from '../utils/index.js'
|
|
36
|
+
import { ResourceNameFormatter } from './resource-name-formatter.js'
|
|
37
|
+
import { CommonStackProps } from './types.js'
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* @subcategory Construct
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './construct'
|
|
2
|
-
export * from './resource-name-formatter'
|
|
3
|
-
export * from './stack'
|
|
4
|
-
export * from './types'
|
|
1
|
+
export * from './construct.js'
|
|
2
|
+
export * from './resource-name-formatter.js'
|
|
3
|
+
export * from './stack.js'
|
|
4
|
+
export * from './types.js'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Construct } from 'constructs'
|
|
2
|
-
import { CommonStackProps, ResourceNameFormatterProps } from './types'
|
|
2
|
+
import { CommonStackProps, ResourceNameFormatterProps } from './types.js'
|
|
3
3
|
|
|
4
4
|
export class ResourceNameFormatter extends Construct {
|
|
5
5
|
props: CommonStackProps
|
|
@@ -16,17 +16,22 @@ export class ResourceNameFormatter extends Construct {
|
|
|
16
16
|
* @returns The formatted resource name
|
|
17
17
|
*/
|
|
18
18
|
public format(resourceName: string, options?: ResourceNameFormatterProps) {
|
|
19
|
-
const
|
|
19
|
+
const elements = []
|
|
20
|
+
|
|
20
21
|
if (!options?.exclude) {
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
if (options?.globalPrefix) elements.push(this.props.globalPrefix)
|
|
23
|
+
elements.push(options?.prefix ?? this.props.resourcePrefix)
|
|
23
24
|
}
|
|
24
|
-
|
|
25
|
+
|
|
26
|
+
elements.push(resourceName)
|
|
27
|
+
|
|
25
28
|
if (!options?.exclude) {
|
|
26
|
-
|
|
27
|
-
|
|
29
|
+
elements.push(options?.suffix ?? this.props.resourceSuffix)
|
|
30
|
+
if (options?.globalSuffix) elements.push(this.props.globalSuffix)
|
|
28
31
|
}
|
|
29
|
-
|
|
30
|
-
|
|
32
|
+
|
|
33
|
+
elements.push(this.props.stage)
|
|
34
|
+
|
|
35
|
+
return elements.filter(Boolean).join('-')
|
|
31
36
|
}
|
|
32
37
|
}
|
|
@@ -3,12 +3,12 @@ import { Runtime } from 'aws-cdk-lib/aws-lambda'
|
|
|
3
3
|
import fs from 'fs'
|
|
4
4
|
import path from 'path'
|
|
5
5
|
|
|
6
|
-
import { CommonConstruct } from './construct'
|
|
7
|
-
import { CommonStackProps } from './types'
|
|
6
|
+
import { CommonConstruct } from './construct.js'
|
|
7
|
+
import { CommonStackProps } from './types.js'
|
|
8
8
|
|
|
9
9
|
import appRoot from 'app-root-path'
|
|
10
10
|
import _ from 'lodash'
|
|
11
|
-
import { isDevStage } from '../../common'
|
|
11
|
+
import { isDevStage } from '../../common/index.js'
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* @classdesc Common stack to use as a base for all higher level constructs.
|
|
@@ -23,7 +23,7 @@ import { isDevStage } from '../../common'
|
|
|
23
23
|
* }
|
|
24
24
|
*/
|
|
25
25
|
export class CommonStack extends Stack {
|
|
26
|
-
public static NODEJS_RUNTIME = Runtime.
|
|
26
|
+
public static NODEJS_RUNTIME = Runtime.NODEJS_24_X
|
|
27
27
|
|
|
28
28
|
construct: CommonConstruct
|
|
29
29
|
props: CommonStackProps
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './main'
|
|
2
|
-
export * from './target'
|
|
3
|
-
export * from './types'
|
|
1
|
+
export * from './main.js'
|
|
2
|
+
export * from './target.js'
|
|
3
|
+
export * from './types.js'
|
|
@@ -11,9 +11,9 @@ import {
|
|
|
11
11
|
} from 'aws-cdk-lib/aws-apigateway'
|
|
12
12
|
import { ISecret } from 'aws-cdk-lib/aws-secretsmanager'
|
|
13
13
|
import { Construct } from 'constructs'
|
|
14
|
-
import { CommonConstruct } from '../../common'
|
|
15
|
-
import { ApiToAnyTargetRestApi } from './target'
|
|
16
|
-
import { ApiToAnyTargetProps, ApiToAnyTargetRestApiResource, ApiToAnyTargetRestApiType } from './types'
|
|
14
|
+
import { CommonConstruct } from '../../common/index.js'
|
|
15
|
+
import { ApiToAnyTargetRestApi } from './target.js'
|
|
16
|
+
import { ApiToAnyTargetProps, ApiToAnyTargetRestApiResource, ApiToAnyTargetRestApiType } from './types.js'
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* @classdesc Provides a construct to create and deploy a shallow API Gateway
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import { ICertificate } from 'aws-cdk-lib/aws-certificatemanager'
|
|
12
12
|
import { LogGroup } from 'aws-cdk-lib/aws-logs'
|
|
13
13
|
import { IHostedZone } from 'aws-cdk-lib/aws-route53'
|
|
14
|
-
import { ApiToAnyTargetRestApiType } from './types'
|
|
14
|
+
import { ApiToAnyTargetRestApiType } from './types.js'
|
|
15
15
|
|
|
16
16
|
export class ApiToAnyTargetRestApi implements ApiToAnyTargetRestApiType {
|
|
17
17
|
accessLogGroup: LogGroup
|
|
@@ -13,8 +13,8 @@ import {
|
|
|
13
13
|
import { ICertificate } from 'aws-cdk-lib/aws-certificatemanager'
|
|
14
14
|
import { LogGroup } from 'aws-cdk-lib/aws-logs'
|
|
15
15
|
import { IHostedZone } from 'aws-cdk-lib/aws-route53'
|
|
16
|
-
import { CommonStackProps } from '../../common'
|
|
17
|
-
import { AcmProps, RestApigProps } from '../../services'
|
|
16
|
+
import { CommonStackProps } from '../../common/index.js'
|
|
17
|
+
import { AcmProps, RestApigProps } from '../../services/index.js'
|
|
18
18
|
|
|
19
19
|
export interface ApiToAnyTargetRestApiType {
|
|
20
20
|
accessLogGroup: LogGroup
|
|
@@ -13,7 +13,7 @@ import { Role } from 'aws-cdk-lib/aws-iam'
|
|
|
13
13
|
import { LogGroup } from 'aws-cdk-lib/aws-logs'
|
|
14
14
|
import { IHostedZone } from 'aws-cdk-lib/aws-route53'
|
|
15
15
|
import { Topic } from 'aws-cdk-lib/aws-sns'
|
|
16
|
-
import { ApiToEventBridgeTargetRestApiType } from './types'
|
|
16
|
+
import { ApiToEventBridgeTargetRestApiType } from './types.js'
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* @classdesc Provides a construct to contain api resources for ApiToEventBridgeTargetWithSns
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IEventBus, Rule } from 'aws-cdk-lib/aws-events'
|
|
2
2
|
import { LogGroup } from 'aws-cdk-lib/aws-logs'
|
|
3
|
-
import { ApiToEventBridgeTargetEventType } from './types'
|
|
3
|
+
import { ApiToEventBridgeTargetEventType } from './types.js'
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @classdesc Provides a construct to contain event resources for ApiToEventBridgeTargetWithSns
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './api'
|
|
2
|
-
export * from './event'
|
|
3
|
-
export * from './main'
|
|
4
|
-
export * from './types'
|
|
1
|
+
export * from './api.js'
|
|
2
|
+
export * from './event.js'
|
|
3
|
+
export * from './main.js'
|
|
4
|
+
export * from './types.js'
|
|
@@ -20,14 +20,14 @@ import { CloudWatchLogGroup } from 'aws-cdk-lib/aws-events-targets'
|
|
|
20
20
|
import { PolicyDocument, Role, ServicePrincipal } from 'aws-cdk-lib/aws-iam'
|
|
21
21
|
import { ISecret } from 'aws-cdk-lib/aws-secretsmanager'
|
|
22
22
|
import { Construct } from 'constructs'
|
|
23
|
-
import { CommonConstruct } from '../../common'
|
|
24
|
-
import { ApiToEventbridgeTargetRestApi } from './api'
|
|
25
|
-
import { ApiToEventbridgeTargetEvent } from './event'
|
|
23
|
+
import { CommonConstruct } from '../../common/index.js'
|
|
24
|
+
import { ApiToEventbridgeTargetRestApi } from './api.js'
|
|
25
|
+
import { ApiToEventbridgeTargetEvent } from './event.js'
|
|
26
26
|
import {
|
|
27
27
|
ApiToEventBridgeTargetEventType,
|
|
28
28
|
ApiToEventBridgeTargetProps,
|
|
29
29
|
ApiToEventBridgeTargetRestApiType,
|
|
30
|
-
} from './types'
|
|
30
|
+
} from './types.js'
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* @classdesc Provides a construct to create and deploy API Gateway invocations to EventBridge
|
|
@@ -18,8 +18,8 @@ import { AssetCode } from 'aws-cdk-lib/aws-lambda'
|
|
|
18
18
|
import { LogGroup } from 'aws-cdk-lib/aws-logs'
|
|
19
19
|
import { IHostedZone } from 'aws-cdk-lib/aws-route53'
|
|
20
20
|
import { ITopic } from 'aws-cdk-lib/aws-sns'
|
|
21
|
-
import { CommonStackProps } from '../../common'
|
|
22
|
-
import { AcmProps, EventRuleProps, LambdaProps, LogProps, RestApigProps } from '../../services'
|
|
21
|
+
import { CommonStackProps } from '../../common/index.js'
|
|
22
|
+
import { AcmProps, EventRuleProps, LambdaProps, LogProps, RestApigProps } from '../../services/index.js'
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PolicyDocument, Role } from 'aws-cdk-lib/aws-iam'
|
|
2
2
|
import { IFunction, LayerVersion } from 'aws-cdk-lib/aws-lambda'
|
|
3
3
|
import { EventBridgeDestination } from 'aws-cdk-lib/aws-lambda-destinations'
|
|
4
|
-
import { ApiDestinedLambdaEnvironment, ApiDestinedLambdaType } from './types'
|
|
4
|
+
import { ApiDestinedLambdaEnvironment, ApiDestinedLambdaType } from './types.js'
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @classdesc Provides a construct to contain lambda resources for ApiToEventBridgeTargetWithSns
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './api-destined-lambda'
|
|
2
|
-
export * from './main'
|
|
3
|
-
export * from './types'
|
|
1
|
+
export * from './api-destined-lambda.js'
|
|
2
|
+
export * from './main.js'
|
|
3
|
+
export * from './types.js'
|
|
@@ -22,16 +22,16 @@ import { LayerVersion } from 'aws-cdk-lib/aws-lambda'
|
|
|
22
22
|
import { EventBridgeDestination } from 'aws-cdk-lib/aws-lambda-destinations'
|
|
23
23
|
import { ISecret } from 'aws-cdk-lib/aws-secretsmanager'
|
|
24
24
|
import { Construct } from 'constructs'
|
|
25
|
-
import { CommonConstruct } from '../../common'
|
|
25
|
+
import { CommonConstruct } from '../../common/index.js'
|
|
26
26
|
import {
|
|
27
27
|
ApiToEventBridgeTargetEventType,
|
|
28
28
|
ApiToEventBridgeTargetProps,
|
|
29
29
|
ApiToEventBridgeTargetRestApiType,
|
|
30
30
|
ApiToEventbridgeTargetEvent,
|
|
31
31
|
ApiToEventbridgeTargetRestApi,
|
|
32
|
-
} from '../api-to-eventbridge-target'
|
|
33
|
-
import { ApiDestinedLambda } from './api-destined-lambda'
|
|
34
|
-
import { ApiDestinedLambdaType } from './types'
|
|
32
|
+
} from '../api-to-eventbridge-target/index.js'
|
|
33
|
+
import { ApiDestinedLambda } from './api-destined-lambda.js'
|
|
34
|
+
import { ApiDestinedLambdaType } from './types.js'
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
37
|
* @deprecated Use ApiToEventBridgeTarget instead. This will be removed in a future release.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LambdaEnvironment } from '../../services'
|
|
1
|
+
import { LambdaEnvironment } from '../../services/index.js'
|
|
2
2
|
import { EventBridgeDestination } from 'aws-cdk-lib/aws-lambda-destinations'
|
|
3
3
|
import { AssetCode, IFunction, LayerVersion } from 'aws-cdk-lib/aws-lambda'
|
|
4
4
|
import { PolicyDocument, Role } from 'aws-cdk-lib/aws-iam'
|
|
@@ -14,7 +14,7 @@ import { Role } from 'aws-cdk-lib/aws-iam'
|
|
|
14
14
|
import { IFunction } from 'aws-cdk-lib/aws-lambda'
|
|
15
15
|
import { IHostedZone } from 'aws-cdk-lib/aws-route53'
|
|
16
16
|
import { Topic } from 'aws-cdk-lib/aws-sns'
|
|
17
|
-
import { ApiToLambdaTargetRestApiType } from './types'
|
|
17
|
+
import { ApiToLambdaTargetRestApiType } from './types.js'
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* @classdesc Provides a construct to contain api resources for ApiToLambdaTarget
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './api'
|
|
2
|
-
export * from './main'
|
|
3
|
-
export * from './types'
|
|
1
|
+
export * from './api.js'
|
|
2
|
+
export * from './main.js'
|
|
3
|
+
export * from './types.js'
|
|
@@ -4,9 +4,9 @@ import { PolicyDocument, Role, ServicePrincipal } from 'aws-cdk-lib/aws-iam'
|
|
|
4
4
|
import { Function } from 'aws-cdk-lib/aws-lambda'
|
|
5
5
|
import { ISecret } from 'aws-cdk-lib/aws-secretsmanager'
|
|
6
6
|
import { Construct } from 'constructs'
|
|
7
|
-
import { CommonConstruct } from '../../common'
|
|
8
|
-
import { ApiToLambdaTargetRestApi } from './api'
|
|
9
|
-
import { ApiToLambdaTargetProps, ApiToLambdaTargetRestApiType } from './types'
|
|
7
|
+
import { CommonConstruct } from '../../common/index.js'
|
|
8
|
+
import { ApiToLambdaTargetRestApi } from './api.js'
|
|
9
|
+
import { ApiToLambdaTargetProps, ApiToLambdaTargetRestApiType } from './types.js'
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommonStackProps } from '../../common'
|
|
1
|
+
import { CommonStackProps } from '../../common/index.js'
|
|
2
2
|
import {
|
|
3
3
|
BasePathMapping,
|
|
4
4
|
DomainName,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
Model,
|
|
12
12
|
Resource,
|
|
13
13
|
} from 'aws-cdk-lib/aws-apigateway'
|
|
14
|
-
import { AcmProps, LambdaRestApiProps } from '../../services'
|
|
14
|
+
import { AcmProps, LambdaRestApiProps } from '../../services/index.js'
|
|
15
15
|
import * as acm from 'aws-cdk-lib/aws-certificatemanager'
|
|
16
16
|
import * as route53 from 'aws-cdk-lib/aws-route53'
|
|
17
17
|
import { IFunction } from 'aws-cdk-lib/aws-lambda'
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './main'
|
|
2
|
-
export * from './types'
|
|
1
|
+
export * from './main.js'
|
|
2
|
+
export * from './types.js'
|
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
RolloutStrategy,
|
|
11
11
|
} from 'aws-cdk-lib/aws-appconfig'
|
|
12
12
|
import { Construct } from 'constructs'
|
|
13
|
-
import { CommonConstruct } from '../../common'
|
|
14
|
-
import { ApplicationConfigurationProps } from './types'
|
|
13
|
+
import { CommonConstruct } from '../../common/index.js'
|
|
14
|
+
import { ApplicationConfigurationProps } from './types.js'
|
|
15
15
|
|
|
16
16
|
export class ApplicationConfiguration extends CommonConstruct {
|
|
17
17
|
declare props: ApplicationConfigurationProps
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CommonStackProps } from '../../common'
|
|
2
|
-
import { AppConfigProps } from '../../services'
|
|
1
|
+
import { CommonStackProps } from '../../common/index.js'
|
|
2
|
+
import { AppConfigProps } from '../../services/index.js'
|
|
3
3
|
|
|
4
4
|
export interface ApplicationConfigurationProps extends CommonStackProps {
|
|
5
5
|
appConfig: AppConfigProps
|
|
@@ -5,7 +5,7 @@ import { IFunction } from 'aws-cdk-lib/aws-lambda'
|
|
|
5
5
|
import { LogGroup } from 'aws-cdk-lib/aws-logs'
|
|
6
6
|
import { Queue } from 'aws-cdk-lib/aws-sqs'
|
|
7
7
|
import { Chain, Map, StateMachine } from 'aws-cdk-lib/aws-stepfunctions'
|
|
8
|
-
import { EventHandlerType } from './types'
|
|
8
|
+
import { EventHandlerType } from './types.js'
|
|
9
9
|
|
|
10
10
|
export class Handler implements EventHandlerType {
|
|
11
11
|
archive: Archive
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './handler'
|
|
2
|
-
export * from './main'
|
|
3
|
-
export * from './types'
|
|
1
|
+
export * from './handler.js'
|
|
2
|
+
export * from './main.js'
|
|
3
|
+
export * from './types.js'
|
|
@@ -6,9 +6,9 @@ import { CfnQueuePolicy } from 'aws-cdk-lib/aws-sqs'
|
|
|
6
6
|
import { JsonPath, Map } from 'aws-cdk-lib/aws-stepfunctions'
|
|
7
7
|
import { Construct } from 'constructs'
|
|
8
8
|
import _ from 'lodash'
|
|
9
|
-
import { CommonConstruct } from '../../common'
|
|
10
|
-
import { Handler } from './handler'
|
|
11
|
-
import { EventHandlerProps } from './types'
|
|
9
|
+
import { CommonConstruct } from '../../common/index.js'
|
|
10
|
+
import { Handler } from './handler.js'
|
|
11
|
+
import { EventHandlerProps } from './types.js'
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* @classdesc Provides a construct to create and deploy an EventBridge Event Handler
|
|
@@ -4,8 +4,15 @@ import { PolicyDocument, Role } from 'aws-cdk-lib/aws-iam'
|
|
|
4
4
|
import { LogGroup } from 'aws-cdk-lib/aws-logs'
|
|
5
5
|
import { Queue } from 'aws-cdk-lib/aws-sqs'
|
|
6
6
|
import { Chain, Map, StateMachine } from 'aws-cdk-lib/aws-stepfunctions'
|
|
7
|
-
import { CommonStackProps } from '../../common'
|
|
8
|
-
import {
|
|
7
|
+
import { CommonStackProps } from '../../common/index.js'
|
|
8
|
+
import {
|
|
9
|
+
EventRuleProps,
|
|
10
|
+
LogProps,
|
|
11
|
+
QueueProps,
|
|
12
|
+
SfnMapProps,
|
|
13
|
+
SfnStateMachineProps,
|
|
14
|
+
VpcProps,
|
|
15
|
+
} from '../../services/index.js'
|
|
9
16
|
|
|
10
17
|
export interface EventHandlerProps extends CommonStackProps {
|
|
11
18
|
eventBusName: string
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export * from './api-to-any-target'
|
|
2
|
-
export * from './api-to-eventbridge-target'
|
|
3
|
-
export * from './api-to-eventbridge-target-with-sns'
|
|
4
|
-
export * from './api-to-lambda-target'
|
|
5
|
-
export * from './application-configuration'
|
|
6
|
-
export * from './event-handler'
|
|
7
|
-
export * from './lambda-with-iam-access'
|
|
8
|
-
export * from './piped-event-handler'
|
|
9
|
-
export * from './rest-api-lambda'
|
|
10
|
-
export * from './rest-api-lambda-with-cache'
|
|
11
|
-
export * from './site-with-ecs-backend'
|
|
12
|
-
export * from './site-with-lambda-backend'
|
|
13
|
-
export * from './static-asset-deployment'
|
|
14
|
-
export * from './static-site'
|
|
1
|
+
export * from './api-to-any-target/index.js'
|
|
2
|
+
export * from './api-to-eventbridge-target/index.js'
|
|
3
|
+
export * from './api-to-eventbridge-target-with-sns/index.js'
|
|
4
|
+
export * from './api-to-lambda-target/index.js'
|
|
5
|
+
export * from './application-configuration/index.js'
|
|
6
|
+
export * from './event-handler/index.js'
|
|
7
|
+
export * from './lambda-with-iam-access/index.js'
|
|
8
|
+
export * from './piped-event-handler/index.js'
|
|
9
|
+
export * from './rest-api-lambda/index.js'
|
|
10
|
+
export * from './rest-api-lambda-with-cache/index.js'
|
|
11
|
+
export * from './site-with-ecs-backend/index.js'
|
|
12
|
+
export * from './site-with-lambda-backend/index.js'
|
|
13
|
+
export * from './static-asset-deployment/index.js'
|
|
14
|
+
export * from './static-site/index.js'
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './main'
|
|
2
|
-
export * from './types'
|
|
1
|
+
export * from './main.js'
|
|
2
|
+
export * from './types.js'
|
|
@@ -6,9 +6,9 @@ import { AssetCode, IFunction, ILayerVersion, LayerVersion } from 'aws-cdk-lib/a
|
|
|
6
6
|
import { CfnSecret, Secret } from 'aws-cdk-lib/aws-secretsmanager'
|
|
7
7
|
import { Construct } from 'constructs'
|
|
8
8
|
import _ from 'lodash'
|
|
9
|
-
import { CommonConstruct } from '../../common'
|
|
10
|
-
import { Architecture } from '../../services'
|
|
11
|
-
import { LambdaWithIamAccessEnvironment, LambdaWithIamAccessProps } from './types'
|
|
9
|
+
import { CommonConstruct } from '../../common/index.js'
|
|
10
|
+
import { Architecture } from '../../services/index.js'
|
|
11
|
+
import { LambdaWithIamAccessEnvironment, LambdaWithIamAccessProps } from './types.js'
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* @classdesc Provides a construct to create a lambda function with IAM access
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AssetCode, LambdaInsightsVersion } from 'aws-cdk-lib/aws-lambda'
|
|
2
2
|
import { SecretProps } from 'aws-cdk-lib/aws-secretsmanager'
|
|
3
|
-
import { CommonStackProps } from '../../common'
|
|
4
|
-
import { LambdaEnvironment, LambdaProps } from '../../services'
|
|
3
|
+
import { CommonStackProps } from '../../common/index.js'
|
|
4
|
+
import { LambdaEnvironment, LambdaProps } from '../../services/index.js'
|
|
5
5
|
|
|
6
6
|
export interface LambdaWithIamAccessProps extends CommonStackProps {
|
|
7
7
|
configEnabled?: boolean
|