@gradientedge/cdk-utils 9.83.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 +10 -10
- package/dist/src/lib/azure/services/api-management/main.js +43 -73
- 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 +23 -52
- 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/dist/src/lib/azure/.gen/providers/azapi/resource/index.d.ts +0 -639
- package/dist/src/lib/azure/.gen/providers/azapi/resource/index.js +0 -1177
|
@@ -1,1177 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/resource
|
|
3
|
-
// generated from terraform resource schema
|
|
4
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
-
if (k2 === undefined) k2 = k;
|
|
6
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
-
}
|
|
10
|
-
Object.defineProperty(o, k2, desc);
|
|
11
|
-
}) : (function(o, m, k, k2) {
|
|
12
|
-
if (k2 === undefined) k2 = k;
|
|
13
|
-
o[k2] = m[k];
|
|
14
|
-
}));
|
|
15
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
-
}) : function(o, v) {
|
|
18
|
-
o["default"] = v;
|
|
19
|
-
});
|
|
20
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
21
|
-
var ownKeys = function(o) {
|
|
22
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
23
|
-
var ar = [];
|
|
24
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
25
|
-
return ar;
|
|
26
|
-
};
|
|
27
|
-
return ownKeys(o);
|
|
28
|
-
};
|
|
29
|
-
return function (mod) {
|
|
30
|
-
if (mod && mod.__esModule) return mod;
|
|
31
|
-
var result = {};
|
|
32
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
33
|
-
__setModuleDefault(result, mod);
|
|
34
|
-
return result;
|
|
35
|
-
};
|
|
36
|
-
})();
|
|
37
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
exports.Resource = exports.ResourceTimeoutsOutputReference = exports.ResourceIdentityList = exports.ResourceIdentityOutputReference = exports.ResourceRetryOutputReference = void 0;
|
|
39
|
-
exports.resourceRetryToTerraform = resourceRetryToTerraform;
|
|
40
|
-
exports.resourceRetryToHclTerraform = resourceRetryToHclTerraform;
|
|
41
|
-
exports.resourceIdentityToTerraform = resourceIdentityToTerraform;
|
|
42
|
-
exports.resourceIdentityToHclTerraform = resourceIdentityToHclTerraform;
|
|
43
|
-
exports.resourceTimeoutsToTerraform = resourceTimeoutsToTerraform;
|
|
44
|
-
exports.resourceTimeoutsToHclTerraform = resourceTimeoutsToHclTerraform;
|
|
45
|
-
const cdktf = __importStar(require("cdktf"));
|
|
46
|
-
function resourceRetryToTerraform(struct) {
|
|
47
|
-
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
48
|
-
return struct;
|
|
49
|
-
}
|
|
50
|
-
if (cdktf.isComplexElement(struct)) {
|
|
51
|
-
throw new Error('A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration');
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
error_message_regex: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.errorMessageRegex),
|
|
55
|
-
interval_seconds: cdktf.numberToTerraform(struct.intervalSeconds),
|
|
56
|
-
max_interval_seconds: cdktf.numberToTerraform(struct.maxIntervalSeconds),
|
|
57
|
-
multiplier: cdktf.numberToTerraform(struct.multiplier),
|
|
58
|
-
randomization_factor: cdktf.numberToTerraform(struct.randomizationFactor),
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
function resourceRetryToHclTerraform(struct) {
|
|
62
|
-
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
63
|
-
return struct;
|
|
64
|
-
}
|
|
65
|
-
if (cdktf.isComplexElement(struct)) {
|
|
66
|
-
throw new Error('A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration');
|
|
67
|
-
}
|
|
68
|
-
const attrs = {
|
|
69
|
-
error_message_regex: {
|
|
70
|
-
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.errorMessageRegex),
|
|
71
|
-
isBlock: false,
|
|
72
|
-
type: 'list',
|
|
73
|
-
storageClassType: 'stringList',
|
|
74
|
-
},
|
|
75
|
-
interval_seconds: {
|
|
76
|
-
value: cdktf.numberToHclTerraform(struct.intervalSeconds),
|
|
77
|
-
isBlock: false,
|
|
78
|
-
type: 'simple',
|
|
79
|
-
storageClassType: 'number',
|
|
80
|
-
},
|
|
81
|
-
max_interval_seconds: {
|
|
82
|
-
value: cdktf.numberToHclTerraform(struct.maxIntervalSeconds),
|
|
83
|
-
isBlock: false,
|
|
84
|
-
type: 'simple',
|
|
85
|
-
storageClassType: 'number',
|
|
86
|
-
},
|
|
87
|
-
multiplier: {
|
|
88
|
-
value: cdktf.numberToHclTerraform(struct.multiplier),
|
|
89
|
-
isBlock: false,
|
|
90
|
-
type: 'simple',
|
|
91
|
-
storageClassType: 'number',
|
|
92
|
-
},
|
|
93
|
-
randomization_factor: {
|
|
94
|
-
value: cdktf.numberToHclTerraform(struct.randomizationFactor),
|
|
95
|
-
isBlock: false,
|
|
96
|
-
type: 'simple',
|
|
97
|
-
storageClassType: 'number',
|
|
98
|
-
},
|
|
99
|
-
};
|
|
100
|
-
// remove undefined attributes
|
|
101
|
-
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
102
|
-
}
|
|
103
|
-
class ResourceRetryOutputReference extends cdktf.ComplexObject {
|
|
104
|
-
isEmptyObject = false;
|
|
105
|
-
resolvableValue;
|
|
106
|
-
/**
|
|
107
|
-
* @param terraformResource The parent resource
|
|
108
|
-
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
109
|
-
*/
|
|
110
|
-
constructor(terraformResource, terraformAttribute) {
|
|
111
|
-
super(terraformResource, terraformAttribute, false);
|
|
112
|
-
}
|
|
113
|
-
get internalValue() {
|
|
114
|
-
if (this.resolvableValue) {
|
|
115
|
-
return this.resolvableValue;
|
|
116
|
-
}
|
|
117
|
-
let hasAnyValues = this.isEmptyObject;
|
|
118
|
-
const internalValueResult = {};
|
|
119
|
-
if (this._errorMessageRegex !== undefined) {
|
|
120
|
-
hasAnyValues = true;
|
|
121
|
-
internalValueResult.errorMessageRegex = this._errorMessageRegex;
|
|
122
|
-
}
|
|
123
|
-
if (this._intervalSeconds !== undefined) {
|
|
124
|
-
hasAnyValues = true;
|
|
125
|
-
internalValueResult.intervalSeconds = this._intervalSeconds;
|
|
126
|
-
}
|
|
127
|
-
if (this._maxIntervalSeconds !== undefined) {
|
|
128
|
-
hasAnyValues = true;
|
|
129
|
-
internalValueResult.maxIntervalSeconds = this._maxIntervalSeconds;
|
|
130
|
-
}
|
|
131
|
-
if (this._multiplier !== undefined) {
|
|
132
|
-
hasAnyValues = true;
|
|
133
|
-
internalValueResult.multiplier = this._multiplier;
|
|
134
|
-
}
|
|
135
|
-
if (this._randomizationFactor !== undefined) {
|
|
136
|
-
hasAnyValues = true;
|
|
137
|
-
internalValueResult.randomizationFactor = this._randomizationFactor;
|
|
138
|
-
}
|
|
139
|
-
return hasAnyValues ? internalValueResult : undefined;
|
|
140
|
-
}
|
|
141
|
-
set internalValue(value) {
|
|
142
|
-
if (value === undefined) {
|
|
143
|
-
this.isEmptyObject = false;
|
|
144
|
-
this.resolvableValue = undefined;
|
|
145
|
-
this._errorMessageRegex = undefined;
|
|
146
|
-
this._intervalSeconds = undefined;
|
|
147
|
-
this._maxIntervalSeconds = undefined;
|
|
148
|
-
this._multiplier = undefined;
|
|
149
|
-
this._randomizationFactor = undefined;
|
|
150
|
-
}
|
|
151
|
-
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
152
|
-
this.isEmptyObject = false;
|
|
153
|
-
this.resolvableValue = value;
|
|
154
|
-
}
|
|
155
|
-
else {
|
|
156
|
-
this.isEmptyObject = Object.keys(value).length === 0;
|
|
157
|
-
this.resolvableValue = undefined;
|
|
158
|
-
this._errorMessageRegex = value.errorMessageRegex;
|
|
159
|
-
this._intervalSeconds = value.intervalSeconds;
|
|
160
|
-
this._maxIntervalSeconds = value.maxIntervalSeconds;
|
|
161
|
-
this._multiplier = value.multiplier;
|
|
162
|
-
this._randomizationFactor = value.randomizationFactor;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
// error_message_regex - computed: false, optional: false, required: true
|
|
166
|
-
_errorMessageRegex;
|
|
167
|
-
get errorMessageRegex() {
|
|
168
|
-
return this.getListAttribute('error_message_regex');
|
|
169
|
-
}
|
|
170
|
-
set errorMessageRegex(value) {
|
|
171
|
-
this._errorMessageRegex = value;
|
|
172
|
-
}
|
|
173
|
-
// Temporarily expose input value. Use with caution.
|
|
174
|
-
get errorMessageRegexInput() {
|
|
175
|
-
return this._errorMessageRegex;
|
|
176
|
-
}
|
|
177
|
-
// interval_seconds - computed: true, optional: true, required: false
|
|
178
|
-
_intervalSeconds;
|
|
179
|
-
get intervalSeconds() {
|
|
180
|
-
return this.getNumberAttribute('interval_seconds');
|
|
181
|
-
}
|
|
182
|
-
set intervalSeconds(value) {
|
|
183
|
-
this._intervalSeconds = value;
|
|
184
|
-
}
|
|
185
|
-
resetIntervalSeconds() {
|
|
186
|
-
this._intervalSeconds = undefined;
|
|
187
|
-
}
|
|
188
|
-
// Temporarily expose input value. Use with caution.
|
|
189
|
-
get intervalSecondsInput() {
|
|
190
|
-
return this._intervalSeconds;
|
|
191
|
-
}
|
|
192
|
-
// max_interval_seconds - computed: true, optional: true, required: false
|
|
193
|
-
_maxIntervalSeconds;
|
|
194
|
-
get maxIntervalSeconds() {
|
|
195
|
-
return this.getNumberAttribute('max_interval_seconds');
|
|
196
|
-
}
|
|
197
|
-
set maxIntervalSeconds(value) {
|
|
198
|
-
this._maxIntervalSeconds = value;
|
|
199
|
-
}
|
|
200
|
-
resetMaxIntervalSeconds() {
|
|
201
|
-
this._maxIntervalSeconds = undefined;
|
|
202
|
-
}
|
|
203
|
-
// Temporarily expose input value. Use with caution.
|
|
204
|
-
get maxIntervalSecondsInput() {
|
|
205
|
-
return this._maxIntervalSeconds;
|
|
206
|
-
}
|
|
207
|
-
// multiplier - computed: true, optional: true, required: false
|
|
208
|
-
_multiplier;
|
|
209
|
-
get multiplier() {
|
|
210
|
-
return this.getNumberAttribute('multiplier');
|
|
211
|
-
}
|
|
212
|
-
set multiplier(value) {
|
|
213
|
-
this._multiplier = value;
|
|
214
|
-
}
|
|
215
|
-
resetMultiplier() {
|
|
216
|
-
this._multiplier = undefined;
|
|
217
|
-
}
|
|
218
|
-
// Temporarily expose input value. Use with caution.
|
|
219
|
-
get multiplierInput() {
|
|
220
|
-
return this._multiplier;
|
|
221
|
-
}
|
|
222
|
-
// randomization_factor - computed: true, optional: true, required: false
|
|
223
|
-
_randomizationFactor;
|
|
224
|
-
get randomizationFactor() {
|
|
225
|
-
return this.getNumberAttribute('randomization_factor');
|
|
226
|
-
}
|
|
227
|
-
set randomizationFactor(value) {
|
|
228
|
-
this._randomizationFactor = value;
|
|
229
|
-
}
|
|
230
|
-
resetRandomizationFactor() {
|
|
231
|
-
this._randomizationFactor = undefined;
|
|
232
|
-
}
|
|
233
|
-
// Temporarily expose input value. Use with caution.
|
|
234
|
-
get randomizationFactorInput() {
|
|
235
|
-
return this._randomizationFactor;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
exports.ResourceRetryOutputReference = ResourceRetryOutputReference;
|
|
239
|
-
function resourceIdentityToTerraform(struct) {
|
|
240
|
-
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
241
|
-
return struct;
|
|
242
|
-
}
|
|
243
|
-
if (cdktf.isComplexElement(struct)) {
|
|
244
|
-
throw new Error('A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration');
|
|
245
|
-
}
|
|
246
|
-
return {
|
|
247
|
-
identity_ids: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.identityIds),
|
|
248
|
-
type: cdktf.stringToTerraform(struct.type),
|
|
249
|
-
};
|
|
250
|
-
}
|
|
251
|
-
function resourceIdentityToHclTerraform(struct) {
|
|
252
|
-
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
253
|
-
return struct;
|
|
254
|
-
}
|
|
255
|
-
if (cdktf.isComplexElement(struct)) {
|
|
256
|
-
throw new Error('A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration');
|
|
257
|
-
}
|
|
258
|
-
const attrs = {
|
|
259
|
-
identity_ids: {
|
|
260
|
-
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.identityIds),
|
|
261
|
-
isBlock: false,
|
|
262
|
-
type: 'list',
|
|
263
|
-
storageClassType: 'stringList',
|
|
264
|
-
},
|
|
265
|
-
type: {
|
|
266
|
-
value: cdktf.stringToHclTerraform(struct.type),
|
|
267
|
-
isBlock: false,
|
|
268
|
-
type: 'simple',
|
|
269
|
-
storageClassType: 'string',
|
|
270
|
-
},
|
|
271
|
-
};
|
|
272
|
-
// remove undefined attributes
|
|
273
|
-
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
274
|
-
}
|
|
275
|
-
class ResourceIdentityOutputReference extends cdktf.ComplexObject {
|
|
276
|
-
isEmptyObject = false;
|
|
277
|
-
resolvableValue;
|
|
278
|
-
/**
|
|
279
|
-
* @param terraformResource The parent resource
|
|
280
|
-
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
281
|
-
* @param complexObjectIndex the index of this item in the list
|
|
282
|
-
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
283
|
-
*/
|
|
284
|
-
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
285
|
-
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
286
|
-
}
|
|
287
|
-
get internalValue() {
|
|
288
|
-
if (this.resolvableValue) {
|
|
289
|
-
return this.resolvableValue;
|
|
290
|
-
}
|
|
291
|
-
let hasAnyValues = this.isEmptyObject;
|
|
292
|
-
const internalValueResult = {};
|
|
293
|
-
if (this._identityIds !== undefined) {
|
|
294
|
-
hasAnyValues = true;
|
|
295
|
-
internalValueResult.identityIds = this._identityIds;
|
|
296
|
-
}
|
|
297
|
-
if (this._type !== undefined) {
|
|
298
|
-
hasAnyValues = true;
|
|
299
|
-
internalValueResult.type = this._type;
|
|
300
|
-
}
|
|
301
|
-
return hasAnyValues ? internalValueResult : undefined;
|
|
302
|
-
}
|
|
303
|
-
set internalValue(value) {
|
|
304
|
-
if (value === undefined) {
|
|
305
|
-
this.isEmptyObject = false;
|
|
306
|
-
this.resolvableValue = undefined;
|
|
307
|
-
this._identityIds = undefined;
|
|
308
|
-
this._type = undefined;
|
|
309
|
-
}
|
|
310
|
-
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
311
|
-
this.isEmptyObject = false;
|
|
312
|
-
this.resolvableValue = value;
|
|
313
|
-
}
|
|
314
|
-
else {
|
|
315
|
-
this.isEmptyObject = Object.keys(value).length === 0;
|
|
316
|
-
this.resolvableValue = undefined;
|
|
317
|
-
this._identityIds = value.identityIds;
|
|
318
|
-
this._type = value.type;
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
// identity_ids - computed: false, optional: true, required: false
|
|
322
|
-
_identityIds;
|
|
323
|
-
get identityIds() {
|
|
324
|
-
return this.getListAttribute('identity_ids');
|
|
325
|
-
}
|
|
326
|
-
set identityIds(value) {
|
|
327
|
-
this._identityIds = value;
|
|
328
|
-
}
|
|
329
|
-
resetIdentityIds() {
|
|
330
|
-
this._identityIds = undefined;
|
|
331
|
-
}
|
|
332
|
-
// Temporarily expose input value. Use with caution.
|
|
333
|
-
get identityIdsInput() {
|
|
334
|
-
return this._identityIds;
|
|
335
|
-
}
|
|
336
|
-
// principal_id - computed: true, optional: false, required: false
|
|
337
|
-
get principalId() {
|
|
338
|
-
return this.getStringAttribute('principal_id');
|
|
339
|
-
}
|
|
340
|
-
// tenant_id - computed: true, optional: false, required: false
|
|
341
|
-
get tenantId() {
|
|
342
|
-
return this.getStringAttribute('tenant_id');
|
|
343
|
-
}
|
|
344
|
-
// type - computed: false, optional: false, required: true
|
|
345
|
-
_type;
|
|
346
|
-
get type() {
|
|
347
|
-
return this.getStringAttribute('type');
|
|
348
|
-
}
|
|
349
|
-
set type(value) {
|
|
350
|
-
this._type = value;
|
|
351
|
-
}
|
|
352
|
-
// Temporarily expose input value. Use with caution.
|
|
353
|
-
get typeInput() {
|
|
354
|
-
return this._type;
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
exports.ResourceIdentityOutputReference = ResourceIdentityOutputReference;
|
|
358
|
-
class ResourceIdentityList extends cdktf.ComplexList {
|
|
359
|
-
terraformResource;
|
|
360
|
-
terraformAttribute;
|
|
361
|
-
wrapsSet;
|
|
362
|
-
internalValue;
|
|
363
|
-
/**
|
|
364
|
-
* @param terraformResource The parent resource
|
|
365
|
-
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
366
|
-
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
367
|
-
*/
|
|
368
|
-
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
369
|
-
super(terraformResource, terraformAttribute, wrapsSet);
|
|
370
|
-
this.terraformResource = terraformResource;
|
|
371
|
-
this.terraformAttribute = terraformAttribute;
|
|
372
|
-
this.wrapsSet = wrapsSet;
|
|
373
|
-
}
|
|
374
|
-
/**
|
|
375
|
-
* @param index the index of the item to return
|
|
376
|
-
*/
|
|
377
|
-
get(index) {
|
|
378
|
-
return new ResourceIdentityOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
exports.ResourceIdentityList = ResourceIdentityList;
|
|
382
|
-
function resourceTimeoutsToTerraform(struct) {
|
|
383
|
-
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
384
|
-
return struct;
|
|
385
|
-
}
|
|
386
|
-
if (cdktf.isComplexElement(struct)) {
|
|
387
|
-
throw new Error('A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration');
|
|
388
|
-
}
|
|
389
|
-
return {
|
|
390
|
-
create: cdktf.stringToTerraform(struct.create),
|
|
391
|
-
delete: cdktf.stringToTerraform(struct.delete),
|
|
392
|
-
read: cdktf.stringToTerraform(struct.read),
|
|
393
|
-
update: cdktf.stringToTerraform(struct.update),
|
|
394
|
-
};
|
|
395
|
-
}
|
|
396
|
-
function resourceTimeoutsToHclTerraform(struct) {
|
|
397
|
-
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
398
|
-
return struct;
|
|
399
|
-
}
|
|
400
|
-
if (cdktf.isComplexElement(struct)) {
|
|
401
|
-
throw new Error('A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration');
|
|
402
|
-
}
|
|
403
|
-
const attrs = {
|
|
404
|
-
create: {
|
|
405
|
-
value: cdktf.stringToHclTerraform(struct.create),
|
|
406
|
-
isBlock: false,
|
|
407
|
-
type: 'simple',
|
|
408
|
-
storageClassType: 'string',
|
|
409
|
-
},
|
|
410
|
-
delete: {
|
|
411
|
-
value: cdktf.stringToHclTerraform(struct.delete),
|
|
412
|
-
isBlock: false,
|
|
413
|
-
type: 'simple',
|
|
414
|
-
storageClassType: 'string',
|
|
415
|
-
},
|
|
416
|
-
read: {
|
|
417
|
-
value: cdktf.stringToHclTerraform(struct.read),
|
|
418
|
-
isBlock: false,
|
|
419
|
-
type: 'simple',
|
|
420
|
-
storageClassType: 'string',
|
|
421
|
-
},
|
|
422
|
-
update: {
|
|
423
|
-
value: cdktf.stringToHclTerraform(struct.update),
|
|
424
|
-
isBlock: false,
|
|
425
|
-
type: 'simple',
|
|
426
|
-
storageClassType: 'string',
|
|
427
|
-
},
|
|
428
|
-
};
|
|
429
|
-
// remove undefined attributes
|
|
430
|
-
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
431
|
-
}
|
|
432
|
-
class ResourceTimeoutsOutputReference extends cdktf.ComplexObject {
|
|
433
|
-
isEmptyObject = false;
|
|
434
|
-
resolvableValue;
|
|
435
|
-
/**
|
|
436
|
-
* @param terraformResource The parent resource
|
|
437
|
-
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
438
|
-
*/
|
|
439
|
-
constructor(terraformResource, terraformAttribute) {
|
|
440
|
-
super(terraformResource, terraformAttribute, false);
|
|
441
|
-
}
|
|
442
|
-
get internalValue() {
|
|
443
|
-
if (this.resolvableValue) {
|
|
444
|
-
return this.resolvableValue;
|
|
445
|
-
}
|
|
446
|
-
let hasAnyValues = this.isEmptyObject;
|
|
447
|
-
const internalValueResult = {};
|
|
448
|
-
if (this._create !== undefined) {
|
|
449
|
-
hasAnyValues = true;
|
|
450
|
-
internalValueResult.create = this._create;
|
|
451
|
-
}
|
|
452
|
-
if (this._delete !== undefined) {
|
|
453
|
-
hasAnyValues = true;
|
|
454
|
-
internalValueResult.delete = this._delete;
|
|
455
|
-
}
|
|
456
|
-
if (this._read !== undefined) {
|
|
457
|
-
hasAnyValues = true;
|
|
458
|
-
internalValueResult.read = this._read;
|
|
459
|
-
}
|
|
460
|
-
if (this._update !== undefined) {
|
|
461
|
-
hasAnyValues = true;
|
|
462
|
-
internalValueResult.update = this._update;
|
|
463
|
-
}
|
|
464
|
-
return hasAnyValues ? internalValueResult : undefined;
|
|
465
|
-
}
|
|
466
|
-
set internalValue(value) {
|
|
467
|
-
if (value === undefined) {
|
|
468
|
-
this.isEmptyObject = false;
|
|
469
|
-
this.resolvableValue = undefined;
|
|
470
|
-
this._create = undefined;
|
|
471
|
-
this._delete = undefined;
|
|
472
|
-
this._read = undefined;
|
|
473
|
-
this._update = undefined;
|
|
474
|
-
}
|
|
475
|
-
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
476
|
-
this.isEmptyObject = false;
|
|
477
|
-
this.resolvableValue = value;
|
|
478
|
-
}
|
|
479
|
-
else {
|
|
480
|
-
this.isEmptyObject = Object.keys(value).length === 0;
|
|
481
|
-
this.resolvableValue = undefined;
|
|
482
|
-
this._create = value.create;
|
|
483
|
-
this._delete = value.delete;
|
|
484
|
-
this._read = value.read;
|
|
485
|
-
this._update = value.update;
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
// create - computed: false, optional: true, required: false
|
|
489
|
-
_create;
|
|
490
|
-
get create() {
|
|
491
|
-
return this.getStringAttribute('create');
|
|
492
|
-
}
|
|
493
|
-
set create(value) {
|
|
494
|
-
this._create = value;
|
|
495
|
-
}
|
|
496
|
-
resetCreate() {
|
|
497
|
-
this._create = undefined;
|
|
498
|
-
}
|
|
499
|
-
// Temporarily expose input value. Use with caution.
|
|
500
|
-
get createInput() {
|
|
501
|
-
return this._create;
|
|
502
|
-
}
|
|
503
|
-
// delete - computed: false, optional: true, required: false
|
|
504
|
-
_delete;
|
|
505
|
-
get delete() {
|
|
506
|
-
return this.getStringAttribute('delete');
|
|
507
|
-
}
|
|
508
|
-
set delete(value) {
|
|
509
|
-
this._delete = value;
|
|
510
|
-
}
|
|
511
|
-
resetDelete() {
|
|
512
|
-
this._delete = undefined;
|
|
513
|
-
}
|
|
514
|
-
// Temporarily expose input value. Use with caution.
|
|
515
|
-
get deleteInput() {
|
|
516
|
-
return this._delete;
|
|
517
|
-
}
|
|
518
|
-
// read - computed: false, optional: true, required: false
|
|
519
|
-
_read;
|
|
520
|
-
get read() {
|
|
521
|
-
return this.getStringAttribute('read');
|
|
522
|
-
}
|
|
523
|
-
set read(value) {
|
|
524
|
-
this._read = value;
|
|
525
|
-
}
|
|
526
|
-
resetRead() {
|
|
527
|
-
this._read = undefined;
|
|
528
|
-
}
|
|
529
|
-
// Temporarily expose input value. Use with caution.
|
|
530
|
-
get readInput() {
|
|
531
|
-
return this._read;
|
|
532
|
-
}
|
|
533
|
-
// update - computed: false, optional: true, required: false
|
|
534
|
-
_update;
|
|
535
|
-
get update() {
|
|
536
|
-
return this.getStringAttribute('update');
|
|
537
|
-
}
|
|
538
|
-
set update(value) {
|
|
539
|
-
this._update = value;
|
|
540
|
-
}
|
|
541
|
-
resetUpdate() {
|
|
542
|
-
this._update = undefined;
|
|
543
|
-
}
|
|
544
|
-
// Temporarily expose input value. Use with caution.
|
|
545
|
-
get updateInput() {
|
|
546
|
-
return this._update;
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
exports.ResourceTimeoutsOutputReference = ResourceTimeoutsOutputReference;
|
|
550
|
-
/**
|
|
551
|
-
* Represents a {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/resource azapi_resource}
|
|
552
|
-
*/
|
|
553
|
-
class Resource extends cdktf.TerraformResource {
|
|
554
|
-
// =================
|
|
555
|
-
// STATIC PROPERTIES
|
|
556
|
-
// =================
|
|
557
|
-
static tfResourceType = 'azapi_resource';
|
|
558
|
-
// ==============
|
|
559
|
-
// STATIC Methods
|
|
560
|
-
// ==============
|
|
561
|
-
/**
|
|
562
|
-
* Generates CDKTF code for importing a Resource resource upon running "cdktf plan <stack-name>"
|
|
563
|
-
* @param scope The scope in which to define this construct
|
|
564
|
-
* @param importToId The construct id used in the generated config for the Resource to import
|
|
565
|
-
* @param importFromId The id of the existing Resource that should be imported. Refer to the {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/resource#import import section} in the documentation of this resource for the id to use
|
|
566
|
-
* @param provider? Optional instance of the provider where the Resource to import is found
|
|
567
|
-
*/
|
|
568
|
-
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
569
|
-
return new cdktf.ImportableResource(scope, importToId, {
|
|
570
|
-
terraformResourceType: 'azapi_resource',
|
|
571
|
-
importId: importFromId,
|
|
572
|
-
provider,
|
|
573
|
-
});
|
|
574
|
-
}
|
|
575
|
-
// ===========
|
|
576
|
-
// INITIALIZER
|
|
577
|
-
// ===========
|
|
578
|
-
/**
|
|
579
|
-
* Create a new {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/resource azapi_resource} Resource
|
|
580
|
-
*
|
|
581
|
-
* @param scope The scope in which to define this construct
|
|
582
|
-
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
583
|
-
* @param options ResourceConfig
|
|
584
|
-
*/
|
|
585
|
-
constructor(scope, id, config) {
|
|
586
|
-
super(scope, id, {
|
|
587
|
-
terraformResourceType: 'azapi_resource',
|
|
588
|
-
terraformGeneratorMetadata: {
|
|
589
|
-
providerName: 'azapi',
|
|
590
|
-
providerVersion: '2.2.0',
|
|
591
|
-
providerVersionConstraint: '~> 2.2',
|
|
592
|
-
},
|
|
593
|
-
provider: config.provider,
|
|
594
|
-
dependsOn: config.dependsOn,
|
|
595
|
-
count: config.count,
|
|
596
|
-
lifecycle: config.lifecycle,
|
|
597
|
-
provisioners: config.provisioners,
|
|
598
|
-
connection: config.connection,
|
|
599
|
-
forEach: config.forEach,
|
|
600
|
-
});
|
|
601
|
-
this._body = config.body;
|
|
602
|
-
this._createHeaders = config.createHeaders;
|
|
603
|
-
this._createQueryParameters = config.createQueryParameters;
|
|
604
|
-
this._deleteHeaders = config.deleteHeaders;
|
|
605
|
-
this._deleteQueryParameters = config.deleteQueryParameters;
|
|
606
|
-
this._ignoreCasing = config.ignoreCasing;
|
|
607
|
-
this._ignoreMissingProperty = config.ignoreMissingProperty;
|
|
608
|
-
this._location = config.location;
|
|
609
|
-
this._locks = config.locks;
|
|
610
|
-
this._name = config.name;
|
|
611
|
-
this._parentId = config.parentId;
|
|
612
|
-
this._readHeaders = config.readHeaders;
|
|
613
|
-
this._readQueryParameters = config.readQueryParameters;
|
|
614
|
-
this._replaceTriggersExternalValues = config.replaceTriggersExternalValues;
|
|
615
|
-
this._replaceTriggersRefs = config.replaceTriggersRefs;
|
|
616
|
-
this._responseExportValues = config.responseExportValues;
|
|
617
|
-
this._retry.internalValue = config.retry;
|
|
618
|
-
this._schemaValidationEnabled = config.schemaValidationEnabled;
|
|
619
|
-
this._tags = config.tags;
|
|
620
|
-
this._type = config.type;
|
|
621
|
-
this._updateHeaders = config.updateHeaders;
|
|
622
|
-
this._updateQueryParameters = config.updateQueryParameters;
|
|
623
|
-
this._identity.internalValue = config.identity;
|
|
624
|
-
this._timeouts.internalValue = config.timeouts;
|
|
625
|
-
}
|
|
626
|
-
// ==========
|
|
627
|
-
// ATTRIBUTES
|
|
628
|
-
// ==========
|
|
629
|
-
// body - computed: true, optional: true, required: false
|
|
630
|
-
_body;
|
|
631
|
-
get body() {
|
|
632
|
-
return this.getAnyMapAttribute('body');
|
|
633
|
-
}
|
|
634
|
-
set body(value) {
|
|
635
|
-
this._body = value;
|
|
636
|
-
}
|
|
637
|
-
resetBody() {
|
|
638
|
-
this._body = undefined;
|
|
639
|
-
}
|
|
640
|
-
// Temporarily expose input value. Use with caution.
|
|
641
|
-
get bodyInput() {
|
|
642
|
-
return this._body;
|
|
643
|
-
}
|
|
644
|
-
// create_headers - computed: false, optional: true, required: false
|
|
645
|
-
_createHeaders;
|
|
646
|
-
get createHeaders() {
|
|
647
|
-
return this.getStringMapAttribute('create_headers');
|
|
648
|
-
}
|
|
649
|
-
set createHeaders(value) {
|
|
650
|
-
this._createHeaders = value;
|
|
651
|
-
}
|
|
652
|
-
resetCreateHeaders() {
|
|
653
|
-
this._createHeaders = undefined;
|
|
654
|
-
}
|
|
655
|
-
// Temporarily expose input value. Use with caution.
|
|
656
|
-
get createHeadersInput() {
|
|
657
|
-
return this._createHeaders;
|
|
658
|
-
}
|
|
659
|
-
// create_query_parameters - computed: false, optional: true, required: false
|
|
660
|
-
_createQueryParameters;
|
|
661
|
-
get createQueryParameters() {
|
|
662
|
-
return this.interpolationForAttribute('create_query_parameters');
|
|
663
|
-
}
|
|
664
|
-
set createQueryParameters(value) {
|
|
665
|
-
this._createQueryParameters = value;
|
|
666
|
-
}
|
|
667
|
-
resetCreateQueryParameters() {
|
|
668
|
-
this._createQueryParameters = undefined;
|
|
669
|
-
}
|
|
670
|
-
// Temporarily expose input value. Use with caution.
|
|
671
|
-
get createQueryParametersInput() {
|
|
672
|
-
return this._createQueryParameters;
|
|
673
|
-
}
|
|
674
|
-
// delete_headers - computed: false, optional: true, required: false
|
|
675
|
-
_deleteHeaders;
|
|
676
|
-
get deleteHeaders() {
|
|
677
|
-
return this.getStringMapAttribute('delete_headers');
|
|
678
|
-
}
|
|
679
|
-
set deleteHeaders(value) {
|
|
680
|
-
this._deleteHeaders = value;
|
|
681
|
-
}
|
|
682
|
-
resetDeleteHeaders() {
|
|
683
|
-
this._deleteHeaders = undefined;
|
|
684
|
-
}
|
|
685
|
-
// Temporarily expose input value. Use with caution.
|
|
686
|
-
get deleteHeadersInput() {
|
|
687
|
-
return this._deleteHeaders;
|
|
688
|
-
}
|
|
689
|
-
// delete_query_parameters - computed: false, optional: true, required: false
|
|
690
|
-
_deleteQueryParameters;
|
|
691
|
-
get deleteQueryParameters() {
|
|
692
|
-
return this.interpolationForAttribute('delete_query_parameters');
|
|
693
|
-
}
|
|
694
|
-
set deleteQueryParameters(value) {
|
|
695
|
-
this._deleteQueryParameters = value;
|
|
696
|
-
}
|
|
697
|
-
resetDeleteQueryParameters() {
|
|
698
|
-
this._deleteQueryParameters = undefined;
|
|
699
|
-
}
|
|
700
|
-
// Temporarily expose input value. Use with caution.
|
|
701
|
-
get deleteQueryParametersInput() {
|
|
702
|
-
return this._deleteQueryParameters;
|
|
703
|
-
}
|
|
704
|
-
// id - computed: true, optional: false, required: false
|
|
705
|
-
get id() {
|
|
706
|
-
return this.getStringAttribute('id');
|
|
707
|
-
}
|
|
708
|
-
// ignore_casing - computed: true, optional: true, required: false
|
|
709
|
-
_ignoreCasing;
|
|
710
|
-
get ignoreCasing() {
|
|
711
|
-
return this.getBooleanAttribute('ignore_casing');
|
|
712
|
-
}
|
|
713
|
-
set ignoreCasing(value) {
|
|
714
|
-
this._ignoreCasing = value;
|
|
715
|
-
}
|
|
716
|
-
resetIgnoreCasing() {
|
|
717
|
-
this._ignoreCasing = undefined;
|
|
718
|
-
}
|
|
719
|
-
// Temporarily expose input value. Use with caution.
|
|
720
|
-
get ignoreCasingInput() {
|
|
721
|
-
return this._ignoreCasing;
|
|
722
|
-
}
|
|
723
|
-
// ignore_missing_property - computed: true, optional: true, required: false
|
|
724
|
-
_ignoreMissingProperty;
|
|
725
|
-
get ignoreMissingProperty() {
|
|
726
|
-
return this.getBooleanAttribute('ignore_missing_property');
|
|
727
|
-
}
|
|
728
|
-
set ignoreMissingProperty(value) {
|
|
729
|
-
this._ignoreMissingProperty = value;
|
|
730
|
-
}
|
|
731
|
-
resetIgnoreMissingProperty() {
|
|
732
|
-
this._ignoreMissingProperty = undefined;
|
|
733
|
-
}
|
|
734
|
-
// Temporarily expose input value. Use with caution.
|
|
735
|
-
get ignoreMissingPropertyInput() {
|
|
736
|
-
return this._ignoreMissingProperty;
|
|
737
|
-
}
|
|
738
|
-
// location - computed: true, optional: true, required: false
|
|
739
|
-
_location;
|
|
740
|
-
get location() {
|
|
741
|
-
return this.getStringAttribute('location');
|
|
742
|
-
}
|
|
743
|
-
set location(value) {
|
|
744
|
-
this._location = value;
|
|
745
|
-
}
|
|
746
|
-
resetLocation() {
|
|
747
|
-
this._location = undefined;
|
|
748
|
-
}
|
|
749
|
-
// Temporarily expose input value. Use with caution.
|
|
750
|
-
get locationInput() {
|
|
751
|
-
return this._location;
|
|
752
|
-
}
|
|
753
|
-
// locks - computed: false, optional: true, required: false
|
|
754
|
-
_locks;
|
|
755
|
-
get locks() {
|
|
756
|
-
return this.getListAttribute('locks');
|
|
757
|
-
}
|
|
758
|
-
set locks(value) {
|
|
759
|
-
this._locks = value;
|
|
760
|
-
}
|
|
761
|
-
resetLocks() {
|
|
762
|
-
this._locks = undefined;
|
|
763
|
-
}
|
|
764
|
-
// Temporarily expose input value. Use with caution.
|
|
765
|
-
get locksInput() {
|
|
766
|
-
return this._locks;
|
|
767
|
-
}
|
|
768
|
-
// name - computed: true, optional: true, required: false
|
|
769
|
-
_name;
|
|
770
|
-
get name() {
|
|
771
|
-
return this.getStringAttribute('name');
|
|
772
|
-
}
|
|
773
|
-
set name(value) {
|
|
774
|
-
this._name = value;
|
|
775
|
-
}
|
|
776
|
-
resetName() {
|
|
777
|
-
this._name = undefined;
|
|
778
|
-
}
|
|
779
|
-
// Temporarily expose input value. Use with caution.
|
|
780
|
-
get nameInput() {
|
|
781
|
-
return this._name;
|
|
782
|
-
}
|
|
783
|
-
// output - computed: true, optional: false, required: false
|
|
784
|
-
_output = new cdktf.AnyMap(this, 'output');
|
|
785
|
-
get output() {
|
|
786
|
-
return this._output;
|
|
787
|
-
}
|
|
788
|
-
// parent_id - computed: true, optional: true, required: false
|
|
789
|
-
_parentId;
|
|
790
|
-
get parentId() {
|
|
791
|
-
return this.getStringAttribute('parent_id');
|
|
792
|
-
}
|
|
793
|
-
set parentId(value) {
|
|
794
|
-
this._parentId = value;
|
|
795
|
-
}
|
|
796
|
-
resetParentId() {
|
|
797
|
-
this._parentId = undefined;
|
|
798
|
-
}
|
|
799
|
-
// Temporarily expose input value. Use with caution.
|
|
800
|
-
get parentIdInput() {
|
|
801
|
-
return this._parentId;
|
|
802
|
-
}
|
|
803
|
-
// read_headers - computed: false, optional: true, required: false
|
|
804
|
-
_readHeaders;
|
|
805
|
-
get readHeaders() {
|
|
806
|
-
return this.getStringMapAttribute('read_headers');
|
|
807
|
-
}
|
|
808
|
-
set readHeaders(value) {
|
|
809
|
-
this._readHeaders = value;
|
|
810
|
-
}
|
|
811
|
-
resetReadHeaders() {
|
|
812
|
-
this._readHeaders = undefined;
|
|
813
|
-
}
|
|
814
|
-
// Temporarily expose input value. Use with caution.
|
|
815
|
-
get readHeadersInput() {
|
|
816
|
-
return this._readHeaders;
|
|
817
|
-
}
|
|
818
|
-
// read_query_parameters - computed: false, optional: true, required: false
|
|
819
|
-
_readQueryParameters;
|
|
820
|
-
get readQueryParameters() {
|
|
821
|
-
return this.interpolationForAttribute('read_query_parameters');
|
|
822
|
-
}
|
|
823
|
-
set readQueryParameters(value) {
|
|
824
|
-
this._readQueryParameters = value;
|
|
825
|
-
}
|
|
826
|
-
resetReadQueryParameters() {
|
|
827
|
-
this._readQueryParameters = undefined;
|
|
828
|
-
}
|
|
829
|
-
// Temporarily expose input value. Use with caution.
|
|
830
|
-
get readQueryParametersInput() {
|
|
831
|
-
return this._readQueryParameters;
|
|
832
|
-
}
|
|
833
|
-
// replace_triggers_external_values - computed: false, optional: true, required: false
|
|
834
|
-
_replaceTriggersExternalValues;
|
|
835
|
-
get replaceTriggersExternalValues() {
|
|
836
|
-
return this.getAnyMapAttribute('replace_triggers_external_values');
|
|
837
|
-
}
|
|
838
|
-
set replaceTriggersExternalValues(value) {
|
|
839
|
-
this._replaceTriggersExternalValues = value;
|
|
840
|
-
}
|
|
841
|
-
resetReplaceTriggersExternalValues() {
|
|
842
|
-
this._replaceTriggersExternalValues = undefined;
|
|
843
|
-
}
|
|
844
|
-
// Temporarily expose input value. Use with caution.
|
|
845
|
-
get replaceTriggersExternalValuesInput() {
|
|
846
|
-
return this._replaceTriggersExternalValues;
|
|
847
|
-
}
|
|
848
|
-
// replace_triggers_refs - computed: false, optional: true, required: false
|
|
849
|
-
_replaceTriggersRefs;
|
|
850
|
-
get replaceTriggersRefs() {
|
|
851
|
-
return this.getListAttribute('replace_triggers_refs');
|
|
852
|
-
}
|
|
853
|
-
set replaceTriggersRefs(value) {
|
|
854
|
-
this._replaceTriggersRefs = value;
|
|
855
|
-
}
|
|
856
|
-
resetReplaceTriggersRefs() {
|
|
857
|
-
this._replaceTriggersRefs = undefined;
|
|
858
|
-
}
|
|
859
|
-
// Temporarily expose input value. Use with caution.
|
|
860
|
-
get replaceTriggersRefsInput() {
|
|
861
|
-
return this._replaceTriggersRefs;
|
|
862
|
-
}
|
|
863
|
-
// response_export_values - computed: false, optional: true, required: false
|
|
864
|
-
_responseExportValues;
|
|
865
|
-
get responseExportValues() {
|
|
866
|
-
return this.getAnyMapAttribute('response_export_values');
|
|
867
|
-
}
|
|
868
|
-
set responseExportValues(value) {
|
|
869
|
-
this._responseExportValues = value;
|
|
870
|
-
}
|
|
871
|
-
resetResponseExportValues() {
|
|
872
|
-
this._responseExportValues = undefined;
|
|
873
|
-
}
|
|
874
|
-
// Temporarily expose input value. Use with caution.
|
|
875
|
-
get responseExportValuesInput() {
|
|
876
|
-
return this._responseExportValues;
|
|
877
|
-
}
|
|
878
|
-
// retry - computed: false, optional: true, required: false
|
|
879
|
-
_retry = new ResourceRetryOutputReference(this, 'retry');
|
|
880
|
-
get retry() {
|
|
881
|
-
return this._retry;
|
|
882
|
-
}
|
|
883
|
-
putRetry(value) {
|
|
884
|
-
this._retry.internalValue = value;
|
|
885
|
-
}
|
|
886
|
-
resetRetry() {
|
|
887
|
-
this._retry.internalValue = undefined;
|
|
888
|
-
}
|
|
889
|
-
// Temporarily expose input value. Use with caution.
|
|
890
|
-
get retryInput() {
|
|
891
|
-
return this._retry.internalValue;
|
|
892
|
-
}
|
|
893
|
-
// schema_validation_enabled - computed: true, optional: true, required: false
|
|
894
|
-
_schemaValidationEnabled;
|
|
895
|
-
get schemaValidationEnabled() {
|
|
896
|
-
return this.getBooleanAttribute('schema_validation_enabled');
|
|
897
|
-
}
|
|
898
|
-
set schemaValidationEnabled(value) {
|
|
899
|
-
this._schemaValidationEnabled = value;
|
|
900
|
-
}
|
|
901
|
-
resetSchemaValidationEnabled() {
|
|
902
|
-
this._schemaValidationEnabled = undefined;
|
|
903
|
-
}
|
|
904
|
-
// Temporarily expose input value. Use with caution.
|
|
905
|
-
get schemaValidationEnabledInput() {
|
|
906
|
-
return this._schemaValidationEnabled;
|
|
907
|
-
}
|
|
908
|
-
// tags - computed: true, optional: true, required: false
|
|
909
|
-
_tags;
|
|
910
|
-
get tags() {
|
|
911
|
-
return this.getStringMapAttribute('tags');
|
|
912
|
-
}
|
|
913
|
-
set tags(value) {
|
|
914
|
-
this._tags = value;
|
|
915
|
-
}
|
|
916
|
-
resetTags() {
|
|
917
|
-
this._tags = undefined;
|
|
918
|
-
}
|
|
919
|
-
// Temporarily expose input value. Use with caution.
|
|
920
|
-
get tagsInput() {
|
|
921
|
-
return this._tags;
|
|
922
|
-
}
|
|
923
|
-
// type - computed: false, optional: false, required: true
|
|
924
|
-
_type;
|
|
925
|
-
get type() {
|
|
926
|
-
return this.getStringAttribute('type');
|
|
927
|
-
}
|
|
928
|
-
set type(value) {
|
|
929
|
-
this._type = value;
|
|
930
|
-
}
|
|
931
|
-
// Temporarily expose input value. Use with caution.
|
|
932
|
-
get typeInput() {
|
|
933
|
-
return this._type;
|
|
934
|
-
}
|
|
935
|
-
// update_headers - computed: false, optional: true, required: false
|
|
936
|
-
_updateHeaders;
|
|
937
|
-
get updateHeaders() {
|
|
938
|
-
return this.getStringMapAttribute('update_headers');
|
|
939
|
-
}
|
|
940
|
-
set updateHeaders(value) {
|
|
941
|
-
this._updateHeaders = value;
|
|
942
|
-
}
|
|
943
|
-
resetUpdateHeaders() {
|
|
944
|
-
this._updateHeaders = undefined;
|
|
945
|
-
}
|
|
946
|
-
// Temporarily expose input value. Use with caution.
|
|
947
|
-
get updateHeadersInput() {
|
|
948
|
-
return this._updateHeaders;
|
|
949
|
-
}
|
|
950
|
-
// update_query_parameters - computed: false, optional: true, required: false
|
|
951
|
-
_updateQueryParameters;
|
|
952
|
-
get updateQueryParameters() {
|
|
953
|
-
return this.interpolationForAttribute('update_query_parameters');
|
|
954
|
-
}
|
|
955
|
-
set updateQueryParameters(value) {
|
|
956
|
-
this._updateQueryParameters = value;
|
|
957
|
-
}
|
|
958
|
-
resetUpdateQueryParameters() {
|
|
959
|
-
this._updateQueryParameters = undefined;
|
|
960
|
-
}
|
|
961
|
-
// Temporarily expose input value. Use with caution.
|
|
962
|
-
get updateQueryParametersInput() {
|
|
963
|
-
return this._updateQueryParameters;
|
|
964
|
-
}
|
|
965
|
-
// identity - computed: false, optional: true, required: false
|
|
966
|
-
_identity = new ResourceIdentityList(this, 'identity', false);
|
|
967
|
-
get identity() {
|
|
968
|
-
return this._identity;
|
|
969
|
-
}
|
|
970
|
-
putIdentity(value) {
|
|
971
|
-
this._identity.internalValue = value;
|
|
972
|
-
}
|
|
973
|
-
resetIdentity() {
|
|
974
|
-
this._identity.internalValue = undefined;
|
|
975
|
-
}
|
|
976
|
-
// Temporarily expose input value. Use with caution.
|
|
977
|
-
get identityInput() {
|
|
978
|
-
return this._identity.internalValue;
|
|
979
|
-
}
|
|
980
|
-
// timeouts - computed: false, optional: true, required: false
|
|
981
|
-
_timeouts = new ResourceTimeoutsOutputReference(this, 'timeouts');
|
|
982
|
-
get timeouts() {
|
|
983
|
-
return this._timeouts;
|
|
984
|
-
}
|
|
985
|
-
putTimeouts(value) {
|
|
986
|
-
this._timeouts.internalValue = value;
|
|
987
|
-
}
|
|
988
|
-
resetTimeouts() {
|
|
989
|
-
this._timeouts.internalValue = undefined;
|
|
990
|
-
}
|
|
991
|
-
// Temporarily expose input value. Use with caution.
|
|
992
|
-
get timeoutsInput() {
|
|
993
|
-
return this._timeouts.internalValue;
|
|
994
|
-
}
|
|
995
|
-
// =========
|
|
996
|
-
// SYNTHESIS
|
|
997
|
-
// =========
|
|
998
|
-
synthesizeAttributes() {
|
|
999
|
-
return {
|
|
1000
|
-
body: cdktf.hashMapper(cdktf.anyToTerraform)(this._body),
|
|
1001
|
-
create_headers: cdktf.hashMapper(cdktf.stringToTerraform)(this._createHeaders),
|
|
1002
|
-
create_query_parameters: cdktf.hashMapper(cdktf.listMapper(cdktf.stringToTerraform, false))(this._createQueryParameters),
|
|
1003
|
-
delete_headers: cdktf.hashMapper(cdktf.stringToTerraform)(this._deleteHeaders),
|
|
1004
|
-
delete_query_parameters: cdktf.hashMapper(cdktf.listMapper(cdktf.stringToTerraform, false))(this._deleteQueryParameters),
|
|
1005
|
-
ignore_casing: cdktf.booleanToTerraform(this._ignoreCasing),
|
|
1006
|
-
ignore_missing_property: cdktf.booleanToTerraform(this._ignoreMissingProperty),
|
|
1007
|
-
location: cdktf.stringToTerraform(this._location),
|
|
1008
|
-
locks: cdktf.listMapper(cdktf.stringToTerraform, false)(this._locks),
|
|
1009
|
-
name: cdktf.stringToTerraform(this._name),
|
|
1010
|
-
parent_id: cdktf.stringToTerraform(this._parentId),
|
|
1011
|
-
read_headers: cdktf.hashMapper(cdktf.stringToTerraform)(this._readHeaders),
|
|
1012
|
-
read_query_parameters: cdktf.hashMapper(cdktf.listMapper(cdktf.stringToTerraform, false))(this._readQueryParameters),
|
|
1013
|
-
replace_triggers_external_values: cdktf.hashMapper(cdktf.anyToTerraform)(this._replaceTriggersExternalValues),
|
|
1014
|
-
replace_triggers_refs: cdktf.listMapper(cdktf.stringToTerraform, false)(this._replaceTriggersRefs),
|
|
1015
|
-
response_export_values: cdktf.hashMapper(cdktf.anyToTerraform)(this._responseExportValues),
|
|
1016
|
-
retry: resourceRetryToTerraform(this._retry.internalValue),
|
|
1017
|
-
schema_validation_enabled: cdktf.booleanToTerraform(this._schemaValidationEnabled),
|
|
1018
|
-
tags: cdktf.hashMapper(cdktf.stringToTerraform)(this._tags),
|
|
1019
|
-
type: cdktf.stringToTerraform(this._type),
|
|
1020
|
-
update_headers: cdktf.hashMapper(cdktf.stringToTerraform)(this._updateHeaders),
|
|
1021
|
-
update_query_parameters: cdktf.hashMapper(cdktf.listMapper(cdktf.stringToTerraform, false))(this._updateQueryParameters),
|
|
1022
|
-
identity: cdktf.listMapper(resourceIdentityToTerraform, true)(this._identity.internalValue),
|
|
1023
|
-
timeouts: resourceTimeoutsToTerraform(this._timeouts.internalValue),
|
|
1024
|
-
};
|
|
1025
|
-
}
|
|
1026
|
-
synthesizeHclAttributes() {
|
|
1027
|
-
const attrs = {
|
|
1028
|
-
body: {
|
|
1029
|
-
value: cdktf.hashMapperHcl(cdktf.anyToHclTerraform)(this._body),
|
|
1030
|
-
isBlock: false,
|
|
1031
|
-
type: 'map',
|
|
1032
|
-
storageClassType: 'anyMap',
|
|
1033
|
-
},
|
|
1034
|
-
create_headers: {
|
|
1035
|
-
value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(this._createHeaders),
|
|
1036
|
-
isBlock: false,
|
|
1037
|
-
type: 'map',
|
|
1038
|
-
storageClassType: 'stringMap',
|
|
1039
|
-
},
|
|
1040
|
-
create_query_parameters: {
|
|
1041
|
-
value: cdktf.hashMapperHcl(cdktf.listMapperHcl(cdktf.stringToHclTerraform, false))(this._createQueryParameters),
|
|
1042
|
-
isBlock: false,
|
|
1043
|
-
type: 'map',
|
|
1044
|
-
storageClassType: 'stringListMap',
|
|
1045
|
-
},
|
|
1046
|
-
delete_headers: {
|
|
1047
|
-
value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(this._deleteHeaders),
|
|
1048
|
-
isBlock: false,
|
|
1049
|
-
type: 'map',
|
|
1050
|
-
storageClassType: 'stringMap',
|
|
1051
|
-
},
|
|
1052
|
-
delete_query_parameters: {
|
|
1053
|
-
value: cdktf.hashMapperHcl(cdktf.listMapperHcl(cdktf.stringToHclTerraform, false))(this._deleteQueryParameters),
|
|
1054
|
-
isBlock: false,
|
|
1055
|
-
type: 'map',
|
|
1056
|
-
storageClassType: 'stringListMap',
|
|
1057
|
-
},
|
|
1058
|
-
ignore_casing: {
|
|
1059
|
-
value: cdktf.booleanToHclTerraform(this._ignoreCasing),
|
|
1060
|
-
isBlock: false,
|
|
1061
|
-
type: 'simple',
|
|
1062
|
-
storageClassType: 'boolean',
|
|
1063
|
-
},
|
|
1064
|
-
ignore_missing_property: {
|
|
1065
|
-
value: cdktf.booleanToHclTerraform(this._ignoreMissingProperty),
|
|
1066
|
-
isBlock: false,
|
|
1067
|
-
type: 'simple',
|
|
1068
|
-
storageClassType: 'boolean',
|
|
1069
|
-
},
|
|
1070
|
-
location: {
|
|
1071
|
-
value: cdktf.stringToHclTerraform(this._location),
|
|
1072
|
-
isBlock: false,
|
|
1073
|
-
type: 'simple',
|
|
1074
|
-
storageClassType: 'string',
|
|
1075
|
-
},
|
|
1076
|
-
locks: {
|
|
1077
|
-
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._locks),
|
|
1078
|
-
isBlock: false,
|
|
1079
|
-
type: 'list',
|
|
1080
|
-
storageClassType: 'stringList',
|
|
1081
|
-
},
|
|
1082
|
-
name: {
|
|
1083
|
-
value: cdktf.stringToHclTerraform(this._name),
|
|
1084
|
-
isBlock: false,
|
|
1085
|
-
type: 'simple',
|
|
1086
|
-
storageClassType: 'string',
|
|
1087
|
-
},
|
|
1088
|
-
parent_id: {
|
|
1089
|
-
value: cdktf.stringToHclTerraform(this._parentId),
|
|
1090
|
-
isBlock: false,
|
|
1091
|
-
type: 'simple',
|
|
1092
|
-
storageClassType: 'string',
|
|
1093
|
-
},
|
|
1094
|
-
read_headers: {
|
|
1095
|
-
value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(this._readHeaders),
|
|
1096
|
-
isBlock: false,
|
|
1097
|
-
type: 'map',
|
|
1098
|
-
storageClassType: 'stringMap',
|
|
1099
|
-
},
|
|
1100
|
-
read_query_parameters: {
|
|
1101
|
-
value: cdktf.hashMapperHcl(cdktf.listMapperHcl(cdktf.stringToHclTerraform, false))(this._readQueryParameters),
|
|
1102
|
-
isBlock: false,
|
|
1103
|
-
type: 'map',
|
|
1104
|
-
storageClassType: 'stringListMap',
|
|
1105
|
-
},
|
|
1106
|
-
replace_triggers_external_values: {
|
|
1107
|
-
value: cdktf.hashMapperHcl(cdktf.anyToHclTerraform)(this._replaceTriggersExternalValues),
|
|
1108
|
-
isBlock: false,
|
|
1109
|
-
type: 'map',
|
|
1110
|
-
storageClassType: 'anyMap',
|
|
1111
|
-
},
|
|
1112
|
-
replace_triggers_refs: {
|
|
1113
|
-
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._replaceTriggersRefs),
|
|
1114
|
-
isBlock: false,
|
|
1115
|
-
type: 'list',
|
|
1116
|
-
storageClassType: 'stringList',
|
|
1117
|
-
},
|
|
1118
|
-
response_export_values: {
|
|
1119
|
-
value: cdktf.hashMapperHcl(cdktf.anyToHclTerraform)(this._responseExportValues),
|
|
1120
|
-
isBlock: false,
|
|
1121
|
-
type: 'map',
|
|
1122
|
-
storageClassType: 'anyMap',
|
|
1123
|
-
},
|
|
1124
|
-
retry: {
|
|
1125
|
-
value: resourceRetryToHclTerraform(this._retry.internalValue),
|
|
1126
|
-
isBlock: true,
|
|
1127
|
-
type: 'struct',
|
|
1128
|
-
storageClassType: 'ResourceRetry',
|
|
1129
|
-
},
|
|
1130
|
-
schema_validation_enabled: {
|
|
1131
|
-
value: cdktf.booleanToHclTerraform(this._schemaValidationEnabled),
|
|
1132
|
-
isBlock: false,
|
|
1133
|
-
type: 'simple',
|
|
1134
|
-
storageClassType: 'boolean',
|
|
1135
|
-
},
|
|
1136
|
-
tags: {
|
|
1137
|
-
value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(this._tags),
|
|
1138
|
-
isBlock: false,
|
|
1139
|
-
type: 'map',
|
|
1140
|
-
storageClassType: 'stringMap',
|
|
1141
|
-
},
|
|
1142
|
-
type: {
|
|
1143
|
-
value: cdktf.stringToHclTerraform(this._type),
|
|
1144
|
-
isBlock: false,
|
|
1145
|
-
type: 'simple',
|
|
1146
|
-
storageClassType: 'string',
|
|
1147
|
-
},
|
|
1148
|
-
update_headers: {
|
|
1149
|
-
value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(this._updateHeaders),
|
|
1150
|
-
isBlock: false,
|
|
1151
|
-
type: 'map',
|
|
1152
|
-
storageClassType: 'stringMap',
|
|
1153
|
-
},
|
|
1154
|
-
update_query_parameters: {
|
|
1155
|
-
value: cdktf.hashMapperHcl(cdktf.listMapperHcl(cdktf.stringToHclTerraform, false))(this._updateQueryParameters),
|
|
1156
|
-
isBlock: false,
|
|
1157
|
-
type: 'map',
|
|
1158
|
-
storageClassType: 'stringListMap',
|
|
1159
|
-
},
|
|
1160
|
-
identity: {
|
|
1161
|
-
value: cdktf.listMapperHcl(resourceIdentityToHclTerraform, true)(this._identity.internalValue),
|
|
1162
|
-
isBlock: true,
|
|
1163
|
-
type: 'list',
|
|
1164
|
-
storageClassType: 'ResourceIdentityList',
|
|
1165
|
-
},
|
|
1166
|
-
timeouts: {
|
|
1167
|
-
value: resourceTimeoutsToHclTerraform(this._timeouts.internalValue),
|
|
1168
|
-
isBlock: true,
|
|
1169
|
-
type: 'struct',
|
|
1170
|
-
storageClassType: 'ResourceTimeouts',
|
|
1171
|
-
},
|
|
1172
|
-
};
|
|
1173
|
-
// remove undefined attributes
|
|
1174
|
-
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
1175
|
-
}
|
|
1176
|
-
}
|
|
1177
|
-
exports.Resource = Resource;
|