@gradientedge/cdk-utils 8.88.0 → 8.90.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/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/src/lib/common/construct.d.ts +4 -4
- package/dist/src/lib/common/construct.js +1 -1
- package/dist/src/lib/common/index.d.ts +1 -0
- package/dist/src/lib/common/index.js +1 -0
- package/dist/src/lib/common/stack.d.ts +1 -1
- package/dist/src/lib/common/types.d.ts +22 -0
- package/dist/src/lib/common/types.js +2 -0
- package/dist/src/lib/{helper/api-to-eventbridge-target-rest-api.d.ts → construct/api-to-eventbridge-target/api.d.ts} +2 -2
- package/dist/src/lib/{helper/api-to-eventbridge-target-event.d.ts → construct/api-to-eventbridge-target/event.d.ts} +2 -2
- package/dist/src/lib/construct/api-to-eventbridge-target/index.d.ts +3 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/index.js +3 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/main.d.ts +5 -5
- package/dist/src/lib/construct/api-to-eventbridge-target/main.js +4 -3
- package/dist/src/lib/construct/api-to-eventbridge-target/types.d.ts +112 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/types.js +2 -0
- package/dist/src/lib/construct/api-to-eventbridge-target-with-sns/api-destined-lambda.d.ts +3 -3
- package/dist/src/lib/construct/api-to-eventbridge-target-with-sns/index.d.ts +1 -0
- package/dist/src/lib/construct/api-to-eventbridge-target-with-sns/index.js +1 -0
- package/dist/src/lib/construct/api-to-eventbridge-target-with-sns/main.d.ts +7 -6
- package/dist/src/lib/construct/api-to-eventbridge-target-with-sns/main.js +3 -3
- package/dist/src/lib/construct/api-to-eventbridge-target-with-sns/types.d.ts +26 -0
- package/dist/src/lib/construct/api-to-eventbridge-target-with-sns/types.js +2 -0
- package/dist/src/lib/{helper/api-to-lambda-target-rest-api.d.ts → construct/api-to-lambda-target/api.d.ts} +2 -2
- package/dist/src/lib/construct/api-to-lambda-target/index.d.ts +2 -0
- package/dist/src/lib/construct/api-to-lambda-target/index.js +2 -0
- package/dist/src/lib/construct/api-to-lambda-target/main.d.ts +4 -4
- package/dist/src/lib/construct/api-to-lambda-target/main.js +2 -2
- package/dist/src/lib/construct/api-to-lambda-target/types.d.ts +68 -0
- package/dist/src/lib/construct/api-to-lambda-target/types.js +2 -0
- package/dist/src/lib/construct/graphql-api-lambda/index.d.ts +1 -0
- package/dist/src/lib/construct/graphql-api-lambda/index.js +1 -0
- package/dist/src/lib/construct/graphql-api-lambda/main.d.ts +1 -1
- package/dist/src/lib/construct/graphql-api-lambda/types.d.ts +30 -0
- package/dist/src/lib/construct/graphql-api-lambda/types.js +2 -0
- package/dist/src/lib/construct/graphql-api-lambda-with-cache/index.d.ts +1 -0
- package/dist/src/lib/construct/graphql-api-lambda-with-cache/index.js +1 -0
- package/dist/src/lib/construct/graphql-api-lambda-with-cache/main.d.ts +1 -1
- package/dist/src/lib/construct/graphql-api-lambda-with-cache/types.d.ts +15 -0
- package/dist/src/lib/construct/graphql-api-lambda-with-cache/types.js +2 -0
- package/dist/src/lib/construct/lambda-with-iam-access/types.d.ts +2 -1
- package/dist/src/lib/construct/rest-api-lambda/index.d.ts +1 -0
- package/dist/src/lib/construct/rest-api-lambda/index.js +1 -0
- package/dist/src/lib/construct/rest-api-lambda/main.d.ts +1 -1
- package/dist/src/lib/construct/rest-api-lambda/types.d.ts +28 -0
- package/dist/src/lib/construct/rest-api-lambda/types.js +2 -0
- package/dist/src/lib/construct/rest-api-lambda-with-cache/index.d.ts +1 -0
- package/dist/src/lib/construct/rest-api-lambda-with-cache/index.js +1 -0
- package/dist/src/lib/construct/rest-api-lambda-with-cache/main.d.ts +1 -1
- package/dist/src/lib/construct/rest-api-lambda-with-cache/types.d.ts +14 -0
- package/dist/src/lib/construct/rest-api-lambda-with-cache/types.js +2 -0
- package/dist/src/lib/construct/site-with-ecs-backend/index.d.ts +1 -0
- package/dist/src/lib/construct/site-with-ecs-backend/index.js +1 -0
- package/dist/src/lib/construct/site-with-ecs-backend/main.d.ts +1 -1
- package/dist/src/lib/construct/site-with-ecs-backend/types.d.ts +30 -0
- package/dist/src/lib/construct/site-with-ecs-backend/types.js +2 -0
- package/dist/src/lib/construct/static-asset-deployment/types.d.ts +2 -1
- package/dist/src/lib/construct/static-site/index.d.ts +1 -0
- package/dist/src/lib/construct/static-site/index.js +1 -0
- package/dist/src/lib/construct/static-site/main.d.ts +1 -1
- package/dist/src/lib/construct/static-site/types.d.ts +26 -0
- package/dist/src/lib/construct/static-site/types.js +2 -0
- package/dist/src/lib/index.d.ts +5 -0
- package/dist/src/lib/index.js +21 -0
- package/dist/src/lib/services/aws/api-gateway/index.d.ts +2 -0
- package/dist/src/lib/{helper → services/aws/api-gateway}/index.js +2 -3
- package/dist/src/lib/{manager/aws/api-manager.d.ts → services/aws/api-gateway/main.d.ts} +14 -14
- package/dist/src/lib/{manager/aws/api-manager.js → services/aws/api-gateway/main.js} +13 -10
- package/dist/src/lib/services/aws/api-gateway/types.d.ts +9 -0
- package/dist/src/lib/services/aws/api-gateway/types.js +2 -0
- package/dist/src/lib/services/aws/appconfig/constants.d.ts +18 -0
- package/dist/src/lib/services/aws/appconfig/constants.js +60 -0
- package/dist/src/lib/services/aws/appconfig/index.d.ts +3 -0
- package/dist/src/lib/services/aws/appconfig/index.js +19 -0
- package/dist/src/lib/services/aws/appconfig/main.d.ts +58 -0
- package/dist/src/lib/{manager/aws/app-config-manager.js → services/aws/appconfig/main.js} +25 -43
- package/dist/src/lib/services/aws/appconfig/types.d.ts +13 -0
- package/dist/src/lib/services/aws/appconfig/types.js +2 -0
- package/dist/src/lib/services/aws/certificate-manager/index.d.ts +2 -0
- package/dist/src/lib/services/aws/certificate-manager/index.js +18 -0
- package/dist/src/lib/{manager/aws/acm-manager.d.ts → services/aws/certificate-manager/main.d.ts} +7 -7
- package/dist/src/lib/{manager/aws/acm-manager.js → services/aws/certificate-manager/main.js} +5 -5
- package/dist/src/lib/services/aws/certificate-manager/types.d.ts +13 -0
- package/dist/src/lib/services/aws/certificate-manager/types.js +2 -0
- package/dist/src/lib/services/aws/cloudfront/index.d.ts +2 -0
- package/dist/src/lib/services/aws/cloudfront/index.js +18 -0
- package/dist/src/lib/{manager/aws/cloudfront-manager.d.ts → services/aws/cloudfront/main.d.ts} +24 -23
- package/dist/src/lib/{manager/aws/cloudfront-manager.js → services/aws/cloudfront/main.js} +16 -16
- package/dist/src/lib/services/aws/cloudfront/types.d.ts +25 -0
- package/dist/src/lib/services/aws/cloudfront/types.js +2 -0
- package/dist/src/lib/services/aws/cloudtrail/index.d.ts +2 -0
- package/dist/src/lib/services/aws/cloudtrail/index.js +18 -0
- package/dist/src/lib/{manager/aws/cloudtrail-manager.d.ts → services/aws/cloudtrail/main.d.ts} +9 -9
- package/dist/src/lib/{manager/aws/cloudtrail-manager.js → services/aws/cloudtrail/main.js} +7 -7
- package/dist/src/lib/services/aws/cloudtrail/types.d.ts +7 -0
- package/dist/src/lib/services/aws/cloudtrail/types.js +2 -0
- package/dist/src/lib/services/aws/cloudwatch/index.d.ts +3 -0
- package/dist/src/lib/services/aws/cloudwatch/index.js +19 -0
- package/dist/src/lib/{manager/aws/log-manager.d.ts → services/aws/cloudwatch/logs.d.ts} +15 -15
- package/dist/src/lib/{manager/aws/log-manager.js → services/aws/cloudwatch/logs.js} +11 -11
- package/dist/src/lib/services/aws/cloudwatch/main.d.ts +211 -0
- package/dist/src/lib/{manager/aws/cloudwatch-manager.js → services/aws/cloudwatch/main.js} +48 -48
- package/dist/src/lib/services/aws/cloudwatch/types.d.ts +111 -0
- package/dist/src/lib/services/aws/cloudwatch/types.js +2 -0
- package/dist/src/lib/services/aws/codebuild/index.d.ts +1 -0
- package/dist/src/lib/services/aws/codebuild/index.js +17 -0
- package/dist/src/lib/{manager/aws/codebuild-manager.d.ts → services/aws/codebuild/main.d.ts} +7 -7
- package/dist/src/lib/{manager/aws/codebuild-manager.js → services/aws/codebuild/main.js} +4 -4
- package/dist/src/lib/services/aws/constants.d.ts +4 -0
- package/dist/src/lib/services/aws/constants.js +8 -0
- package/dist/src/lib/services/aws/dynamodb/index.d.ts +2 -0
- package/dist/src/lib/services/aws/dynamodb/index.js +18 -0
- package/dist/src/lib/{manager/aws/dynamodb-manager.d.ts → services/aws/dynamodb/main.d.ts} +7 -7
- package/dist/src/lib/{manager/aws/dynamodb-manager.js → services/aws/dynamodb/main.js} +5 -5
- package/dist/src/lib/services/aws/dynamodb/types.d.ts +9 -0
- package/dist/src/lib/services/aws/dynamodb/types.js +2 -0
- package/dist/src/lib/services/aws/elastic-container-registry/index.d.ts +1 -0
- package/dist/src/lib/services/aws/elastic-container-registry/index.js +17 -0
- package/dist/src/lib/{manager/aws/ecr-manager.d.ts → services/aws/elastic-container-registry/main.d.ts} +7 -7
- package/dist/src/lib/{manager/aws/ecr-manager.js → services/aws/elastic-container-registry/main.js} +6 -6
- package/dist/src/lib/services/aws/elastic-container-service/index.d.ts +2 -0
- package/dist/src/lib/services/aws/elastic-container-service/index.js +18 -0
- package/dist/src/lib/{manager/aws/ecs-manager.d.ts → services/aws/elastic-container-service/main.d.ts} +15 -15
- package/dist/src/lib/{manager/aws/ecs-manager.js → services/aws/elastic-container-service/main.js} +11 -11
- package/dist/src/lib/services/aws/elastic-container-service/types.d.ts +46 -0
- package/dist/src/lib/services/aws/elastic-container-service/types.js +2 -0
- package/dist/src/lib/services/aws/elastic-file-system/index.d.ts +2 -0
- package/dist/src/lib/services/aws/elastic-file-system/index.js +18 -0
- package/dist/src/lib/{manager/aws/efs-manager.d.ts → services/aws/elastic-file-system/main.d.ts} +10 -10
- package/dist/src/lib/{manager/aws/efs-manager.js → services/aws/elastic-file-system/main.js} +8 -8
- package/dist/src/lib/services/aws/elastic-file-system/types.d.ts +19 -0
- package/dist/src/lib/services/aws/elastic-file-system/types.js +2 -0
- package/dist/src/lib/services/aws/elastic-kubernetes-service/index.d.ts +2 -0
- package/dist/src/lib/services/aws/elastic-kubernetes-service/index.js +18 -0
- package/dist/src/lib/{manager/aws/eks-manager.d.ts → services/aws/elastic-kubernetes-service/main.d.ts} +9 -9
- package/dist/src/lib/{manager/aws/eks-manager.js → services/aws/elastic-kubernetes-service/main.js} +7 -7
- package/dist/src/lib/services/aws/elastic-kubernetes-service/types.d.ts +9 -0
- package/dist/src/lib/services/aws/elastic-kubernetes-service/types.js +2 -0
- package/dist/src/lib/services/aws/elasticache/index.d.ts +2 -0
- package/dist/src/lib/services/aws/elasticache/index.js +18 -0
- package/dist/src/lib/services/aws/elasticache/main.d.ts +51 -0
- package/dist/src/lib/{manager/aws/elasticache-manager.js → services/aws/elasticache/main.js} +11 -12
- package/dist/src/lib/services/aws/elasticache/types.d.ts +13 -0
- package/dist/src/lib/services/aws/elasticache/types.js +2 -0
- package/dist/src/lib/services/aws/eventbridge/index.d.ts +3 -0
- package/dist/src/lib/services/aws/eventbridge/index.js +19 -0
- package/dist/src/lib/{manager/aws/event-manager.d.ts → services/aws/eventbridge/main.d.ts} +20 -20
- package/dist/src/lib/{manager/aws/event-manager.js → services/aws/eventbridge/main.js} +21 -15
- package/dist/src/lib/{manager/aws/event-target-manager.d.ts → services/aws/eventbridge/target.d.ts} +7 -7
- package/dist/src/lib/{manager/aws/event-target-manager.js → services/aws/eventbridge/target.js} +5 -5
- package/dist/src/lib/services/aws/eventbridge/types.d.ts +35 -0
- package/dist/src/lib/services/aws/eventbridge/types.js +2 -0
- package/dist/src/lib/services/aws/evidently/index.d.ts +2 -0
- package/dist/src/lib/services/aws/evidently/index.js +18 -0
- package/dist/src/lib/{manager/aws/evidently-manager.d.ts → services/aws/evidently/main.d.ts} +16 -16
- package/dist/src/lib/{manager/aws/evidently-manager.js → services/aws/evidently/main.js} +10 -10
- package/dist/src/lib/services/aws/evidently/types.d.ts +31 -0
- package/dist/src/lib/services/aws/evidently/types.js +2 -0
- package/dist/src/lib/services/aws/identity-access-management/index.d.ts +1 -0
- package/dist/src/lib/services/aws/identity-access-management/index.js +17 -0
- package/dist/src/lib/{manager/aws/iam-manager.d.ts → services/aws/identity-access-management/main.d.ts} +39 -40
- package/dist/src/lib/{manager/aws/iam-manager.js → services/aws/identity-access-management/main.js} +22 -23
- package/dist/src/lib/services/aws/index.d.ts +28 -0
- package/dist/src/lib/services/aws/index.js +44 -0
- package/dist/src/lib/services/aws/key-management-service/index.d.ts +2 -0
- package/dist/src/lib/services/aws/key-management-service/index.js +18 -0
- package/dist/src/lib/{manager/aws/kms-manager.d.ts → services/aws/key-management-service/main.d.ts} +7 -7
- package/dist/src/lib/{manager/aws/kms-manager.js → services/aws/key-management-service/main.js} +5 -5
- package/dist/src/lib/services/aws/key-management-service/types.d.ts +7 -0
- package/dist/src/lib/services/aws/key-management-service/types.js +2 -0
- package/dist/src/lib/services/aws/lambda/index.d.ts +2 -0
- package/dist/src/lib/services/aws/lambda/index.js +18 -0
- package/dist/src/lib/{manager/aws/lambda-manager.d.ts → services/aws/lambda/main.d.ts} +22 -21
- package/dist/src/lib/{manager/aws/lambda-manager.js → services/aws/lambda/main.js} +21 -21
- package/dist/src/lib/services/aws/lambda/types.d.ts +52 -0
- package/dist/src/lib/services/aws/lambda/types.js +2 -0
- package/dist/src/lib/services/aws/route53/index.d.ts +2 -0
- package/dist/src/lib/services/aws/route53/index.js +18 -0
- package/dist/src/lib/{manager/aws/route53-manager.d.ts → services/aws/route53/main.d.ts} +17 -17
- package/dist/src/lib/{manager/aws/route53-manager.js → services/aws/route53/main.js} +11 -11
- package/dist/src/lib/services/aws/route53/types.d.ts +8 -0
- package/dist/src/lib/services/aws/route53/types.js +2 -0
- package/dist/src/lib/services/aws/secrets-manager/index.d.ts +1 -0
- package/dist/src/lib/services/aws/secrets-manager/index.js +17 -0
- package/dist/src/lib/{manager/aws/secrets-manager.d.ts → services/aws/secrets-manager/main.d.ts} +8 -8
- package/dist/src/lib/{manager/aws/secrets-manager.js → services/aws/secrets-manager/main.js} +6 -6
- package/dist/src/lib/services/aws/simple-notification-service/index.d.ts +2 -0
- package/dist/src/lib/services/aws/simple-notification-service/index.js +18 -0
- package/dist/src/lib/{manager/aws/sns-manager.d.ts → services/aws/simple-notification-service/main.d.ts} +13 -13
- package/dist/src/lib/{manager/aws/sns-manager.js → services/aws/simple-notification-service/main.js} +10 -10
- package/dist/src/lib/services/aws/simple-notification-service/types.d.ts +7 -0
- package/dist/src/lib/services/aws/simple-notification-service/types.js +2 -0
- package/dist/src/lib/services/aws/simple-queue-service/index.d.ts +2 -0
- package/dist/src/lib/services/aws/simple-queue-service/index.js +18 -0
- package/dist/src/lib/services/aws/simple-queue-service/main.d.ts +50 -0
- package/dist/src/lib/{manager/aws/sqs-manager.js → services/aws/simple-queue-service/main.js} +11 -11
- package/dist/src/lib/services/aws/simple-queue-service/types.d.ts +17 -0
- package/dist/src/lib/services/aws/simple-queue-service/types.js +2 -0
- package/dist/src/lib/services/aws/simple-storage-service/index.d.ts +2 -0
- package/dist/src/lib/services/aws/simple-storage-service/index.js +18 -0
- package/dist/src/lib/{manager/aws/s3-manager.d.ts → services/aws/simple-storage-service/main.d.ts} +23 -23
- package/dist/src/lib/{manager/aws/s3-manager.js → services/aws/simple-storage-service/main.js} +15 -16
- package/dist/src/lib/services/aws/simple-storage-service/types.d.ts +31 -0
- package/dist/src/lib/services/aws/simple-storage-service/types.js +2 -0
- package/dist/src/lib/services/aws/step-function/index.d.ts +2 -0
- package/dist/src/lib/services/aws/step-function/index.js +18 -0
- package/dist/src/lib/services/aws/step-function/main.d.ts +157 -0
- package/dist/src/lib/{manager/aws/sfn-manager.js → services/aws/step-function/main.js} +35 -35
- package/dist/src/lib/services/aws/step-function/types.d.ts +120 -0
- package/dist/src/lib/services/aws/step-function/types.js +2 -0
- package/dist/src/lib/services/aws/systems-manager/index.d.ts +2 -0
- package/dist/src/lib/services/aws/systems-manager/index.js +18 -0
- package/dist/src/lib/{manager/aws/ssm-manager.d.ts → services/aws/systems-manager/main.d.ts} +13 -13
- package/dist/src/lib/{manager/aws/ssm-manager.js → services/aws/systems-manager/main.js} +8 -8
- package/dist/src/lib/services/aws/systems-manager/types.d.ts +8 -0
- package/dist/src/lib/services/aws/systems-manager/types.js +2 -0
- package/dist/src/lib/services/aws/virtual-private-cloud/index.d.ts +1 -0
- package/dist/src/lib/services/aws/virtual-private-cloud/index.js +17 -0
- package/dist/src/lib/{manager/aws/vpc-manager.d.ts → services/aws/virtual-private-cloud/main.d.ts} +11 -11
- package/dist/src/lib/{manager/aws/vpc-manager.js → services/aws/virtual-private-cloud/main.js} +8 -8
- package/dist/src/lib/services/aws/web-application-firewall/index.d.ts +1 -0
- package/dist/src/lib/services/aws/web-application-firewall/index.js +17 -0
- package/dist/src/lib/services/aws/web-application-firewall/main.d.ts +39 -0
- package/dist/src/lib/{manager/aws/waf-manager.js → services/aws/web-application-firewall/main.js} +9 -9
- package/dist/src/lib/services/aws/web-application-firewall/types.d.ts +13 -0
- package/dist/src/lib/services/aws/web-application-firewall/types.js +2 -0
- package/dist/src/lib/types/aws/index.d.ts +0 -921
- package/index.ts +1 -1
- package/package.json +1 -1
- package/src/lib/common/construct.ts +4 -4
- package/src/lib/common/index.ts +1 -0
- package/src/lib/common/stack.ts +1 -1
- package/src/lib/common/types.ts +23 -0
- package/src/lib/{helper/api-to-eventbridge-target-rest-api.ts → construct/api-to-eventbridge-target/api.ts} +2 -2
- package/src/lib/{helper/api-to-eventbridge-target-event.ts → construct/api-to-eventbridge-target/event.ts} +2 -2
- package/src/lib/construct/api-to-eventbridge-target/index.ts +3 -0
- package/src/lib/construct/api-to-eventbridge-target/main.ts +13 -8
- package/src/lib/construct/api-to-eventbridge-target/types.ts +126 -0
- package/src/lib/construct/api-to-eventbridge-target-with-sns/api-destined-lambda.ts +3 -3
- package/src/lib/construct/api-to-eventbridge-target-with-sns/index.ts +1 -0
- package/src/lib/construct/api-to-eventbridge-target-with-sns/main.ts +15 -9
- package/src/lib/construct/api-to-eventbridge-target-with-sns/types.ts +28 -0
- package/src/lib/{helper/api-to-lambda-target-rest-api.ts → construct/api-to-lambda-target/api.ts} +2 -2
- package/src/lib/construct/api-to-lambda-target/index.ts +2 -0
- package/src/lib/construct/api-to-lambda-target/main.ts +6 -6
- package/src/lib/construct/api-to-lambda-target/types.ts +78 -0
- package/src/lib/construct/graphql-api-lambda/index.ts +1 -0
- package/src/lib/construct/graphql-api-lambda/main.ts +1 -1
- package/src/lib/construct/graphql-api-lambda/types.ts +31 -0
- package/src/lib/construct/graphql-api-lambda-with-cache/index.ts +1 -0
- package/src/lib/construct/graphql-api-lambda-with-cache/main.ts +1 -1
- package/src/lib/construct/graphql-api-lambda-with-cache/types.ts +16 -0
- package/src/lib/construct/lambda-with-iam-access/types.ts +2 -1
- package/src/lib/construct/rest-api-lambda/index.ts +1 -0
- package/src/lib/construct/rest-api-lambda/main.ts +1 -1
- package/src/lib/construct/rest-api-lambda/types.ts +29 -0
- package/src/lib/construct/rest-api-lambda-with-cache/index.ts +1 -0
- package/src/lib/construct/rest-api-lambda-with-cache/main.ts +1 -1
- package/src/lib/construct/rest-api-lambda-with-cache/types.ts +15 -0
- package/src/lib/construct/site-with-ecs-backend/index.ts +1 -0
- package/src/lib/construct/site-with-ecs-backend/main.ts +1 -1
- package/src/lib/construct/site-with-ecs-backend/types.ts +42 -0
- package/src/lib/construct/static-asset-deployment/types.ts +2 -1
- package/src/lib/construct/static-site/index.ts +1 -0
- package/src/lib/construct/static-site/main.ts +1 -1
- package/src/lib/construct/static-site/types.ts +27 -0
- package/src/lib/index.ts +5 -0
- package/src/lib/services/aws/api-gateway/index.ts +2 -0
- package/src/lib/{manager/aws/api-manager.ts → services/aws/api-gateway/main.ts} +20 -17
- package/src/lib/services/aws/api-gateway/types.ts +10 -0
- package/src/lib/services/aws/appconfig/constants.ts +58 -0
- package/src/lib/services/aws/appconfig/index.ts +3 -0
- package/src/lib/{manager/aws/app-config-manager.ts → services/aws/appconfig/main.ts} +31 -54
- package/src/lib/services/aws/appconfig/types.ts +20 -0
- package/src/lib/services/aws/certificate-manager/index.ts +2 -0
- package/src/lib/{manager/aws/acm-manager.ts → services/aws/certificate-manager/main.ts} +9 -9
- package/src/lib/services/aws/certificate-manager/types.ts +14 -0
- package/src/lib/services/aws/cloudfront/index.ts +2 -0
- package/src/lib/{manager/aws/cloudfront-manager.ts → services/aws/cloudfront/main.ts} +29 -29
- package/src/lib/services/aws/cloudfront/types.ts +28 -0
- package/src/lib/services/aws/cloudtrail/index.ts +2 -0
- package/src/lib/{manager/aws/cloudtrail-manager.ts → services/aws/cloudtrail/main.ts} +11 -11
- package/src/lib/services/aws/cloudtrail/types.ts +7 -0
- package/src/lib/services/aws/cloudwatch/index.ts +3 -0
- package/src/lib/{manager/aws/log-manager.ts → services/aws/cloudwatch/logs.ts} +16 -21
- package/src/lib/{manager/aws/cloudwatch-manager.ts → services/aws/cloudwatch/main.ts} +86 -112
- package/src/lib/services/aws/cloudwatch/types.ts +121 -0
- package/src/lib/services/aws/codebuild/index.ts +1 -0
- package/src/lib/{manager/aws/codebuild-manager.ts → services/aws/codebuild/main.ts} +7 -7
- package/src/lib/services/aws/constants.ts +4 -0
- package/src/lib/services/aws/dynamodb/index.ts +2 -0
- package/src/lib/{manager/aws/dynamodb-manager.ts → services/aws/dynamodb/main.ts} +8 -8
- package/src/lib/services/aws/dynamodb/types.ts +10 -0
- package/src/lib/services/aws/elastic-container-registry/index.ts +1 -0
- package/src/lib/{manager/aws/ecr-manager.ts → services/aws/elastic-container-registry/main.ts} +8 -8
- package/src/lib/services/aws/elastic-container-service/index.ts +2 -0
- package/src/lib/{manager/aws/ecs-manager.ts → services/aws/elastic-container-service/main.ts} +18 -18
- package/src/lib/services/aws/elastic-container-service/types.ts +51 -0
- package/src/lib/services/aws/elastic-file-system/index.ts +2 -0
- package/src/lib/{manager/aws/efs-manager.ts → services/aws/elastic-file-system/main.ts} +13 -13
- package/src/lib/services/aws/elastic-file-system/types.ts +20 -0
- package/src/lib/services/aws/elastic-kubernetes-service/index.ts +2 -0
- package/src/lib/{manager/aws/eks-manager.ts → services/aws/elastic-kubernetes-service/main.ts} +11 -11
- package/src/lib/services/aws/elastic-kubernetes-service/types.ts +10 -0
- package/src/lib/services/aws/elasticache/index.ts +2 -0
- package/src/lib/{manager/aws/elasticache-manager.ts → services/aws/elasticache/main.ts} +18 -20
- package/src/lib/services/aws/elasticache/types.ts +13 -0
- package/src/lib/services/aws/eventbridge/index.ts +3 -0
- package/src/lib/{manager/aws/event-manager.ts → services/aws/eventbridge/main.ts} +32 -26
- package/src/lib/{manager/aws/event-target-manager.ts → services/aws/eventbridge/target.ts} +7 -7
- package/src/lib/services/aws/eventbridge/types.ts +38 -0
- package/src/lib/services/aws/evidently/index.ts +2 -0
- package/src/lib/{manager/aws/evidently-manager.ts → services/aws/evidently/main.ts} +23 -18
- package/src/lib/services/aws/evidently/types.ts +37 -0
- package/src/lib/services/aws/identity-access-management/index.ts +1 -0
- package/src/lib/{manager/aws/iam-manager.ts → services/aws/identity-access-management/main.ts} +40 -51
- package/src/lib/services/aws/index.ts +28 -0
- package/src/lib/services/aws/key-management-service/index.ts +2 -0
- package/src/lib/{manager/aws/kms-manager.ts → services/aws/key-management-service/main.ts} +8 -8
- package/src/lib/services/aws/key-management-service/types.ts +7 -0
- package/src/lib/services/aws/lambda/index.ts +2 -0
- package/src/lib/{manager/aws/lambda-manager.ts → services/aws/lambda/main.ts} +30 -30
- package/src/lib/services/aws/lambda/types.ts +57 -0
- package/src/lib/services/aws/route53/index.ts +2 -0
- package/src/lib/{manager/aws/route53-manager.ts → services/aws/route53/main.ts} +18 -18
- package/src/lib/services/aws/route53/types.ts +9 -0
- package/src/lib/services/aws/secrets-manager/index.ts +1 -0
- package/src/lib/{manager/aws/secrets-manager.ts → services/aws/secrets-manager/main.ts} +9 -14
- package/src/lib/services/aws/simple-notification-service/index.ts +2 -0
- package/src/lib/{manager/aws/sns-manager.ts → services/aws/simple-notification-service/main.ts} +16 -16
- package/src/lib/services/aws/simple-notification-service/types.ts +7 -0
- package/src/lib/services/aws/simple-queue-service/index.ts +2 -0
- package/src/lib/{manager/aws/sqs-manager.ts → services/aws/simple-queue-service/main.ts} +18 -17
- package/src/lib/services/aws/simple-queue-service/types.ts +18 -0
- package/src/lib/services/aws/simple-storage-service/index.ts +2 -0
- package/src/lib/{manager/aws/s3-manager.ts → services/aws/simple-storage-service/main.ts} +26 -27
- package/src/lib/services/aws/simple-storage-service/types.ts +34 -0
- package/src/lib/services/aws/step-function/index.ts +2 -0
- package/src/lib/{manager/aws/sfn-manager.ts → services/aws/step-function/main.ts} +76 -61
- package/src/lib/services/aws/step-function/types.ts +152 -0
- package/src/lib/services/aws/systems-manager/index.ts +2 -0
- package/src/lib/{manager/aws/ssm-manager.ts → services/aws/systems-manager/main.ts} +15 -19
- package/src/lib/services/aws/systems-manager/types.ts +8 -0
- package/src/lib/services/aws/virtual-private-cloud/index.ts +1 -0
- package/src/lib/{manager/aws/vpc-manager.ts → services/aws/virtual-private-cloud/main.ts} +12 -12
- package/src/lib/services/aws/web-application-firewall/index.ts +1 -0
- package/src/lib/{manager/aws/waf-manager.ts → services/aws/web-application-firewall/main.ts} +13 -13
- package/src/lib/services/aws/web-application-firewall/types.ts +13 -0
- package/src/lib/types/aws/index.ts +0 -984
- package/dist/src/lib/helper/index.d.ts +0 -3
- package/dist/src/lib/manager/aws/app-config-manager.d.ts +0 -65
- package/dist/src/lib/manager/aws/cloudwatch-manager.d.ts +0 -211
- package/dist/src/lib/manager/aws/elasticache-manager.d.ts +0 -52
- package/dist/src/lib/manager/aws/index.d.ts +0 -29
- package/dist/src/lib/manager/aws/index.js +0 -45
- package/dist/src/lib/manager/aws/sfn-manager.d.ts +0 -157
- package/dist/src/lib/manager/aws/sqs-manager.d.ts +0 -49
- package/dist/src/lib/manager/aws/waf-manager.d.ts +0 -39
- package/src/lib/helper/index.ts +0 -3
- package/src/lib/manager/aws/index.ts +0 -29
- /package/dist/src/lib/{helper/api-to-eventbridge-target-rest-api.js → construct/api-to-eventbridge-target/api.js} +0 -0
- /package/dist/src/lib/{helper/api-to-eventbridge-target-event.js → construct/api-to-eventbridge-target/event.js} +0 -0
- /package/dist/src/lib/{helper/api-to-lambda-target-rest-api.js → construct/api-to-lambda-target/api.js} +0 -0
- /package/dist/src/lib/{manager → services}/index.d.ts +0 -0
- /package/dist/src/lib/{manager → services}/index.js +0 -0
- /package/src/lib/{manager → services}/index.ts +0 -0
|
@@ -1,828 +1,3 @@
|
|
|
1
|
-
import * as cdk from 'aws-cdk-lib'
|
|
2
|
-
import * as apig from 'aws-cdk-lib/aws-apigateway'
|
|
3
|
-
import * as appconfig from 'aws-cdk-lib/aws-appconfig'
|
|
4
|
-
import * as acm from 'aws-cdk-lib/aws-certificatemanager'
|
|
5
|
-
import * as cloudfront from 'aws-cdk-lib/aws-cloudfront'
|
|
6
|
-
import * as cloudtrail from 'aws-cdk-lib/aws-cloudtrail'
|
|
7
|
-
import * as watch from 'aws-cdk-lib/aws-cloudwatch'
|
|
8
|
-
import * as dynamodb from 'aws-cdk-lib/aws-dynamodb'
|
|
9
|
-
import * as ec2 from 'aws-cdk-lib/aws-ec2'
|
|
10
|
-
import * as ecs from 'aws-cdk-lib/aws-ecs'
|
|
11
|
-
import * as ecsPatterns from 'aws-cdk-lib/aws-ecs-patterns'
|
|
12
|
-
import * as eks from 'aws-cdk-lib/aws-eks'
|
|
13
|
-
import * as elasticache from 'aws-cdk-lib/aws-elasticache'
|
|
14
|
-
import * as elb from 'aws-cdk-lib/aws-elasticloadbalancingv2'
|
|
15
|
-
import * as efs from 'aws-cdk-lib/aws-efs'
|
|
16
|
-
import * as events from 'aws-cdk-lib/aws-events'
|
|
17
|
-
import * as iam from 'aws-cdk-lib/aws-iam'
|
|
18
|
-
import * as kms from 'aws-cdk-lib/aws-kms'
|
|
19
|
-
import * as lambda from 'aws-cdk-lib/aws-lambda'
|
|
20
|
-
import * as destinations from 'aws-cdk-lib/aws-lambda-destinations'
|
|
21
|
-
import * as logs from 'aws-cdk-lib/aws-logs'
|
|
22
|
-
import * as route53 from 'aws-cdk-lib/aws-route53'
|
|
23
|
-
import * as s3 from 'aws-cdk-lib/aws-s3'
|
|
24
|
-
import * as s3deploy from 'aws-cdk-lib/aws-s3-deployment'
|
|
25
|
-
import * as sns from 'aws-cdk-lib/aws-sns'
|
|
26
|
-
import * as sqs from 'aws-cdk-lib/aws-sqs'
|
|
27
|
-
import * as sfn from 'aws-cdk-lib/aws-stepfunctions'
|
|
28
|
-
import * as tasks from 'aws-cdk-lib/aws-stepfunctions-tasks'
|
|
29
|
-
import * as wafv2 from 'aws-cdk-lib/aws-wafv2'
|
|
30
|
-
import * as types from '../index'
|
|
31
|
-
import * as appAutoscaling from 'aws-cdk-lib/aws-applicationautoscaling'
|
|
32
|
-
import * as pipes from 'aws-cdk-lib/aws-pipes'
|
|
33
|
-
import * as evidently from 'aws-cdk-lib/aws-evidently'
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* @category cdk-utils.app-config-manager
|
|
37
|
-
* @subcategory Properties
|
|
38
|
-
*/
|
|
39
|
-
export interface AppConfigProps {
|
|
40
|
-
id: string
|
|
41
|
-
application: appconfig.CfnApplicationProps
|
|
42
|
-
configurationProfile: appconfig.CfnConfigurationProfileProps
|
|
43
|
-
deployment: appconfig.CfnDeploymentProps
|
|
44
|
-
deploymentStrategy: appconfig.CfnDeploymentStrategyProps
|
|
45
|
-
environment: appconfig.CfnEnvironmentProps
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @category cdk-utils.common-stack
|
|
50
|
-
* @subcategory Properties
|
|
51
|
-
*/
|
|
52
|
-
export interface CommonStackProps extends cdk.StackProps {
|
|
53
|
-
name: string
|
|
54
|
-
region: string
|
|
55
|
-
stage: string
|
|
56
|
-
domainName: string
|
|
57
|
-
subDomain?: string
|
|
58
|
-
extraContexts?: string[]
|
|
59
|
-
stageContextPath?: string
|
|
60
|
-
skipStageForARecords: boolean
|
|
61
|
-
logRetention?: logs.RetentionDays
|
|
62
|
-
defaultReservedLambdaConcurrentExecutions?: number
|
|
63
|
-
defaultTracing?: lambda.Tracing
|
|
64
|
-
excludeDomainNameForBuckets?: boolean
|
|
65
|
-
nodejsRuntime?: lambda.Runtime
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* @category cdk-utils.site-with-ecs-backend
|
|
70
|
-
* @subcategory Properties
|
|
71
|
-
*/
|
|
72
|
-
export interface SiteWithEcsBackendProps extends CommonStackProps {
|
|
73
|
-
siteCacheInvalidationDockerFilePath?: string
|
|
74
|
-
siteHealthCheck: HealthCheck
|
|
75
|
-
siteCertificate: AcmProps
|
|
76
|
-
siteRegionalCertificate: AcmProps
|
|
77
|
-
siteCluster: EcsClusterProps
|
|
78
|
-
siteDistribution: DistributionProps
|
|
79
|
-
siteCloudfrontFunctionProps?: CloudfrontFunctionProps
|
|
80
|
-
siteFunctionFilePath?: string
|
|
81
|
-
siteEcsContainerImagePath: string
|
|
82
|
-
siteLog: LogProps
|
|
83
|
-
siteLogBucket: S3BucketProps
|
|
84
|
-
siteRecordName?: string
|
|
85
|
-
siteSubDomain: string
|
|
86
|
-
siteTask: EcsApplicationLoadBalancedFargateServiceProps
|
|
87
|
-
siteVpc: ec2.VpcProps
|
|
88
|
-
siteFileSystem?: EfsFileSystemProps
|
|
89
|
-
siteFileSystemAccessPoints?: EfsAccessPointOptions[]
|
|
90
|
-
useExistingHostedZone: boolean
|
|
91
|
-
nodeEnv: string
|
|
92
|
-
logLevel: string
|
|
93
|
-
timezone: string
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* @category cdk-utils.static-site
|
|
98
|
-
* @subcategory Properties
|
|
99
|
-
*/
|
|
100
|
-
export interface StaticSiteProps extends CommonStackProps {
|
|
101
|
-
siteCacheInvalidationDockerFilePath?: string
|
|
102
|
-
siteCreateAltARecord: boolean
|
|
103
|
-
siteCertificate: AcmProps
|
|
104
|
-
siteBucket: S3BucketProps
|
|
105
|
-
siteLogBucket: S3BucketProps
|
|
106
|
-
siteDistribution?: DistributionProps
|
|
107
|
-
siteCloudfrontFunctionProps?: CloudfrontFunctionProps
|
|
108
|
-
siteFunctionFilePath?: string
|
|
109
|
-
siteSource: s3deploy.ISource
|
|
110
|
-
siteHostedZoneDomainName?: string
|
|
111
|
-
siteRecordName?: string
|
|
112
|
-
siteSubDomain?: string
|
|
113
|
-
siteAliases?: string[]
|
|
114
|
-
useExistingHostedZone: boolean
|
|
115
|
-
nodeEnv: string
|
|
116
|
-
logLevel: string
|
|
117
|
-
timezone: string
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* @category cdk-utils.site-with-ecs-backend
|
|
122
|
-
* @subcategory Properties
|
|
123
|
-
*/
|
|
124
|
-
export interface HealthCheck extends elb.HealthCheck {
|
|
125
|
-
intervalInSecs: number
|
|
126
|
-
timeoutInSecs: number
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* @category cdk-utils.kms-manager
|
|
131
|
-
* @subcategory Properties
|
|
132
|
-
*/
|
|
133
|
-
export interface KmsKeyProps extends kms.KeyProps {}
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* @category cdk-utils.step-functions-manager
|
|
137
|
-
* @subcategory Properties
|
|
138
|
-
*/
|
|
139
|
-
export interface SfnSucceedProps extends sfn.SucceedProps {
|
|
140
|
-
name: string
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* @category cdk-utils.step-functions-manager
|
|
145
|
-
* @subcategory Properties
|
|
146
|
-
*/
|
|
147
|
-
export interface SfnRetryProps extends sfn.RetryProps {
|
|
148
|
-
intervalInSecs: number
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* @category cdk-utils.step-functions-manager
|
|
153
|
-
* @subcategory Properties
|
|
154
|
-
*/
|
|
155
|
-
export interface SfnFailProps extends sfn.FailProps {
|
|
156
|
-
name: string
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* @category cdk-utils.step-functions-manager
|
|
161
|
-
* @subcategory Properties
|
|
162
|
-
*/
|
|
163
|
-
export interface SfnPassProps extends sfn.PassProps {
|
|
164
|
-
name: string
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* @category cdk-utils.step-functions-manager
|
|
169
|
-
* @subcategory Properties
|
|
170
|
-
*/
|
|
171
|
-
export interface SfnDynamoGetItemProps extends tasks.DynamoGetItemProps {
|
|
172
|
-
name: string
|
|
173
|
-
retries?: SfnRetryProps[]
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* @category cdk-utils.step-functions-manager
|
|
178
|
-
* @subcategory Properties
|
|
179
|
-
*/
|
|
180
|
-
export interface SfnDynamoPutItemProps extends tasks.DynamoPutItemProps {
|
|
181
|
-
name: string
|
|
182
|
-
retries?: SfnRetryProps[]
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* @category cdk-utils.step-functions-manager
|
|
187
|
-
* @subcategory Properties
|
|
188
|
-
*/
|
|
189
|
-
export interface SfnDynamoDeleteItemProps extends tasks.DynamoDeleteItemProps {
|
|
190
|
-
name: string
|
|
191
|
-
retries?: SfnRetryProps[]
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* @category cdk-utils.step-functions-manager
|
|
196
|
-
* @subcategory Properties
|
|
197
|
-
*/
|
|
198
|
-
export interface SfnSqsSendMessageProps extends tasks.SqsSendMessageProps {
|
|
199
|
-
name: string
|
|
200
|
-
retries?: SfnRetryProps[]
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* @category cdk-utils.step-functions-manager
|
|
205
|
-
* @subcategory Properties
|
|
206
|
-
*/
|
|
207
|
-
export interface SfnParallelProps extends sfn.ParallelProps {
|
|
208
|
-
name: string
|
|
209
|
-
retries?: SfnRetryProps[]
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* @category cdk-utils.step-functions-manager
|
|
214
|
-
* @subcategory Properties
|
|
215
|
-
*/
|
|
216
|
-
export interface SfnChoiceProps extends sfn.ChoiceProps {
|
|
217
|
-
name: string
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
* @category cdk-utils.step-functions-manager
|
|
222
|
-
* @subcategory Properties
|
|
223
|
-
*/
|
|
224
|
-
export interface SfnWaitProps extends sfn.WaitProps {
|
|
225
|
-
name: string
|
|
226
|
-
delayInSeconds: number
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* @category cdk-utils.step-functions-manager
|
|
231
|
-
* @subcategory Properties
|
|
232
|
-
*/
|
|
233
|
-
export interface SfnLambdaInvokeProps extends tasks.LambdaInvokeProps {
|
|
234
|
-
name: string
|
|
235
|
-
retries?: SfnRetryProps[]
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* @category cdk-utils.step-functions-manager
|
|
240
|
-
* @subcategory Properties
|
|
241
|
-
*/
|
|
242
|
-
export interface SfnCallApiGatewayRestApiEndpointProps extends tasks.CallApiGatewayRestApiEndpointProps {
|
|
243
|
-
name: string
|
|
244
|
-
retries?: SfnRetryProps[]
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* @category cdk-utils.step-functions-manager
|
|
249
|
-
* @subcategory Properties
|
|
250
|
-
*/
|
|
251
|
-
export interface SfnStateMachineProps extends sfn.StateMachineProps {}
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* @category cdk-utils.lambda-manager
|
|
255
|
-
* @subcategory Types
|
|
256
|
-
*/
|
|
257
|
-
export interface LambdaEnvironment {
|
|
258
|
-
NODE_ENV: string
|
|
259
|
-
LOG_LEVEL: string
|
|
260
|
-
REGION?: string
|
|
261
|
-
STAGE?: string
|
|
262
|
-
TZ: string
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* @category cdk-utils.api-to-eventbridge-target
|
|
267
|
-
* @subcategory Types
|
|
268
|
-
*/
|
|
269
|
-
export interface ApiDestinedLambdaEnvironment extends LambdaEnvironment {
|
|
270
|
-
SOURCE_ID: string
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
* @deprecated Use RestApiLambdaEnvironment instead. This will be removed in a future release.
|
|
275
|
-
* @category cdk-utils.graphql-api-lambda
|
|
276
|
-
* @subcategory Types
|
|
277
|
-
*/
|
|
278
|
-
export interface GraphQlApiLambdaEnvironment extends LambdaEnvironment {}
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* @category cdk-utils.rest-api-lambda
|
|
282
|
-
* @subcategory Types
|
|
283
|
-
*/
|
|
284
|
-
export interface RestApiLambdaEnvironment extends LambdaEnvironment {}
|
|
285
|
-
|
|
286
|
-
/**
|
|
287
|
-
* @deprecated Use RestApiLambdaProps instead. This will be removed in a future release.
|
|
288
|
-
* @category cdk-utils.graphql-api-lambda
|
|
289
|
-
* @subcategory Properties
|
|
290
|
-
*/
|
|
291
|
-
export interface GraphQlApiLambdaProps extends CommonStackProps {
|
|
292
|
-
apiRootPaths?: string[]
|
|
293
|
-
apiSubDomain: string
|
|
294
|
-
graphQLApiCertificate: AcmProps
|
|
295
|
-
graphqlRestApi: apig.LambdaRestApiProps
|
|
296
|
-
graphqlApiLambdaLayerSources?: lambda.AssetCode[]
|
|
297
|
-
graphQLApiHandler: string
|
|
298
|
-
graphQLApiSource: lambda.AssetCode
|
|
299
|
-
graphqlApi: LambdaProps
|
|
300
|
-
useExistingHostedZone: boolean
|
|
301
|
-
nodeEnv: string
|
|
302
|
-
logLevel: string
|
|
303
|
-
timezone: string
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* @category cdk-utils.rest-api-lambda
|
|
308
|
-
* @subcategory Properties
|
|
309
|
-
*/
|
|
310
|
-
export interface RestApiLambdaProps extends CommonStackProps {
|
|
311
|
-
apiRootPaths?: string[]
|
|
312
|
-
apiSubDomain: string
|
|
313
|
-
restApiCertificate: AcmProps
|
|
314
|
-
restApi: apig.LambdaRestApiProps
|
|
315
|
-
restApiLambdaLayerSources?: lambda.AssetCode[]
|
|
316
|
-
restApiHandler: string
|
|
317
|
-
restApiSource: lambda.AssetCode
|
|
318
|
-
restApiLambda: LambdaProps
|
|
319
|
-
useExistingHostedZone: boolean
|
|
320
|
-
nodeEnv: string
|
|
321
|
-
logLevel: string
|
|
322
|
-
timezone: string
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
/**
|
|
326
|
-
* @deprecated Use RestApiLambdaWithCacheProps instead. This will be removed in a future release.
|
|
327
|
-
* @category cdk-utils.graphql-api-lambda-with-cache
|
|
328
|
-
* @subcategory Properties
|
|
329
|
-
*/
|
|
330
|
-
export interface GraphQlApiLambdaWithCacheProps extends GraphQlApiLambdaProps {
|
|
331
|
-
graphQLVpc: ec2.VpcProps
|
|
332
|
-
graphQLElastiCache: ReplicatedElastiCacheProps
|
|
333
|
-
securityGroupExportName: string
|
|
334
|
-
useExistingVpc: boolean
|
|
335
|
-
vpcName?: string
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
/**
|
|
339
|
-
* @category cdk-utils.rest-api-lambda-with-cache
|
|
340
|
-
* @subcategory Properties
|
|
341
|
-
*/
|
|
342
|
-
export interface RestApiLambdaWithCacheProps extends RestApiLambdaProps {
|
|
343
|
-
restApiVpc: ec2.VpcProps
|
|
344
|
-
restApiCache: ReplicatedElastiCacheProps
|
|
345
|
-
securityGroupExportName: string
|
|
346
|
-
useExistingVpc: boolean
|
|
347
|
-
vpcName?: string
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
/**
|
|
351
|
-
* @category cdk-utils.api-to-eventbridge-target
|
|
352
|
-
* @subcategory Types
|
|
353
|
-
*/
|
|
354
|
-
export interface ApiToEventBridgeTargetEventType {
|
|
355
|
-
eventBus: events.IEventBus
|
|
356
|
-
logGroup: logs.LogGroup
|
|
357
|
-
logGroupFailure: logs.LogGroup
|
|
358
|
-
logGroupSuccess: logs.LogGroup
|
|
359
|
-
rule: events.Rule
|
|
360
|
-
ruleFailure: events.Rule
|
|
361
|
-
ruleSuccess: events.Rule
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
/**
|
|
365
|
-
* @category cdk-utils.api-to-eventbridge-target
|
|
366
|
-
* @subcategory Types
|
|
367
|
-
*/
|
|
368
|
-
export interface ApiToEventBridgeTargetRestApiType {
|
|
369
|
-
accessLogGroup: logs.LogGroup
|
|
370
|
-
api: apig.IRestApi
|
|
371
|
-
authoriser?: apig.IAuthorizer
|
|
372
|
-
certificate: acm.ICertificate
|
|
373
|
-
domain: apig.DomainName
|
|
374
|
-
errorResponseModel: apig.Model
|
|
375
|
-
hostedZone: route53.IHostedZone
|
|
376
|
-
integration: apig.Integration
|
|
377
|
-
integrationErrorResponse: apig.IntegrationResponse
|
|
378
|
-
integrationRequestParameters: { [p: string]: string }
|
|
379
|
-
integrationRequestTemplates: { [p: string]: string }
|
|
380
|
-
integrationResponse: apig.IntegrationResponse
|
|
381
|
-
method: apig.Method
|
|
382
|
-
methodErrorResponse: apig.MethodResponse
|
|
383
|
-
methodResponse: apig.MethodResponse
|
|
384
|
-
resource: apig.Resource
|
|
385
|
-
responseModel: apig.Model
|
|
386
|
-
topic?: sns.ITopic
|
|
387
|
-
role?: iam.Role
|
|
388
|
-
policy?: iam.PolicyDocument
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
/**
|
|
392
|
-
* @category cdk-utils.api-to-lambda-target
|
|
393
|
-
* @subcategory Types
|
|
394
|
-
*/
|
|
395
|
-
export interface ApiToLambdaTargetRestApiType {
|
|
396
|
-
api: apig.IRestApi
|
|
397
|
-
authoriser?: apig.IAuthorizer
|
|
398
|
-
basePathMappings: apig.BasePathMapping[]
|
|
399
|
-
certificate: acm.ICertificate
|
|
400
|
-
domain: apig.DomainName
|
|
401
|
-
errorResponseModel: apig.Model
|
|
402
|
-
hostedZone: route53.IHostedZone
|
|
403
|
-
integration: apig.Integration
|
|
404
|
-
integrationErrorResponse: apig.IntegrationResponse
|
|
405
|
-
integrationRequestParameters: { [p: string]: string }
|
|
406
|
-
integrationRequestTemplates: { [p: string]: string }
|
|
407
|
-
integrationResponse: apig.IntegrationResponse
|
|
408
|
-
lambda: lambda.IFunction
|
|
409
|
-
method: apig.Method
|
|
410
|
-
methodErrorResponse: apig.MethodResponse
|
|
411
|
-
methodResponse: apig.MethodResponse
|
|
412
|
-
resource: apig.Resource
|
|
413
|
-
responseModel: apig.Model
|
|
414
|
-
topic?: sns.ITopic
|
|
415
|
-
role?: iam.Role
|
|
416
|
-
policy?: iam.PolicyDocument
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
/**
|
|
420
|
-
* @category cdk-utils.api-to-eventbridge-target
|
|
421
|
-
* @subcategory Types
|
|
422
|
-
*/
|
|
423
|
-
export interface ApiDestinedLambdaType {
|
|
424
|
-
destinationFailure: destinations.EventBridgeDestination
|
|
425
|
-
destinationSuccess: destinations.EventBridgeDestination
|
|
426
|
-
environment: types.ApiDestinedLambdaEnvironment
|
|
427
|
-
function: lambda.IFunction
|
|
428
|
-
layers: lambda.LayerVersion[]
|
|
429
|
-
layerSource?: lambda.AssetCode
|
|
430
|
-
policy: iam.PolicyDocument
|
|
431
|
-
role: iam.Role
|
|
432
|
-
source?: lambda.AssetCode
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
/**
|
|
436
|
-
* @category cdk-utils.api-to-eventbridge-target
|
|
437
|
-
* @subcategory Properties
|
|
438
|
-
*/
|
|
439
|
-
export interface ApiToEventBridgeTargetRestApiProps {
|
|
440
|
-
certificate: AcmProps
|
|
441
|
-
integrationResponse?: apig.IntegrationResponse
|
|
442
|
-
integrationErrorResponse?: apig.IntegrationResponse
|
|
443
|
-
methodResponse?: apig.MethodResponse
|
|
444
|
-
methodErrorResponse?: apig.MethodResponse
|
|
445
|
-
integrationOptions?: apig.IntegrationOptions
|
|
446
|
-
resource: string
|
|
447
|
-
errorResponseModel?: apig.ModelOptions
|
|
448
|
-
responseModel?: apig.ModelOptions
|
|
449
|
-
restApi?: apig.RestApiProps
|
|
450
|
-
importedRestApiRef?: string
|
|
451
|
-
importedRestApiRootResourceRef?: string
|
|
452
|
-
useExisting: boolean
|
|
453
|
-
withResource?: boolean
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
/**
|
|
457
|
-
* @category cdk-utils.api-to-eventbridge-target
|
|
458
|
-
* @subcategory Properties
|
|
459
|
-
*/
|
|
460
|
-
interface ApiToEventBridgeTargetLambdaProps {
|
|
461
|
-
handler?: string
|
|
462
|
-
function: LambdaProps
|
|
463
|
-
source?: lambda.AssetCode
|
|
464
|
-
layerSource?: lambda.AssetCode
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
/**
|
|
468
|
-
* @category cdk-utils.api-to-eventbridge-target
|
|
469
|
-
* @subcategory Properties
|
|
470
|
-
*/
|
|
471
|
-
interface ApiToEventBridgeTargetEventProps {
|
|
472
|
-
eventBusName?: string
|
|
473
|
-
logGroup?: LogProps
|
|
474
|
-
logGroupSuccess?: LogProps
|
|
475
|
-
logGroupFailure?: LogProps
|
|
476
|
-
rule: EventRuleProps
|
|
477
|
-
ruleSuccess: EventRuleProps
|
|
478
|
-
ruleFailure: EventRuleProps
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
/**
|
|
482
|
-
* @category cdk-utils.api-to-eventbridge-target
|
|
483
|
-
* @subcategory Properties
|
|
484
|
-
*/
|
|
485
|
-
export interface ApiToEventBridgeTargetProps extends CommonStackProps {
|
|
486
|
-
apiRootPaths?: string[]
|
|
487
|
-
apiSubDomain: string
|
|
488
|
-
api: ApiToEventBridgeTargetRestApiProps
|
|
489
|
-
event: ApiToEventBridgeTargetEventProps
|
|
490
|
-
lambda?: ApiToEventBridgeTargetLambdaProps
|
|
491
|
-
logLevel: string
|
|
492
|
-
nodeEnv: string
|
|
493
|
-
timezone: string
|
|
494
|
-
useExistingHostedZone: boolean
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
/**
|
|
498
|
-
* @category cdk-utils.api-to-lambda-target
|
|
499
|
-
* @subcategory Properties
|
|
500
|
-
*/
|
|
501
|
-
export interface ApiToLambdaTargetRestApiProps {
|
|
502
|
-
resource: string
|
|
503
|
-
certificate: AcmProps
|
|
504
|
-
restApi: apig.LambdaRestApiProps
|
|
505
|
-
importedRestApiRef?: string
|
|
506
|
-
importedRestApiRootResourceRef?: string
|
|
507
|
-
useExisting: boolean
|
|
508
|
-
withResource?: boolean
|
|
509
|
-
methodErrorResponse: apig.MethodResponse
|
|
510
|
-
methodResponse: apig.MethodResponse
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
/**
|
|
514
|
-
* @category cdk-utils.api-to-lambda-target
|
|
515
|
-
* @subcategory Properties
|
|
516
|
-
*/
|
|
517
|
-
export interface ApiToLambdaTargetProps extends CommonStackProps {
|
|
518
|
-
apiRootPaths?: string[]
|
|
519
|
-
apiSubDomain: string
|
|
520
|
-
api: ApiToLambdaTargetRestApiProps
|
|
521
|
-
lambdaFunctionName: string
|
|
522
|
-
logLevel: string
|
|
523
|
-
nodeEnv: string
|
|
524
|
-
timezone: string
|
|
525
|
-
useExistingHostedZone: boolean
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
/**
|
|
529
|
-
* @category cdk-utils.acm-manager
|
|
530
|
-
* @subcategory Properties
|
|
531
|
-
*/
|
|
532
|
-
export interface AcmProps extends acm.CertificateProps {
|
|
533
|
-
certificateSsmName?: string
|
|
534
|
-
certificateAccount?: string
|
|
535
|
-
certificateRegion?: string
|
|
536
|
-
certificateId?: string
|
|
537
|
-
certificateArn?: string
|
|
538
|
-
useExistingCertificate: boolean
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
/**
|
|
542
|
-
* @category cdk-utils.ssm-manager
|
|
543
|
-
* @subcategory Properties
|
|
544
|
-
*/
|
|
545
|
-
export interface SSMParameterReaderProps {
|
|
546
|
-
parameterName: string
|
|
547
|
-
region: string
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
/**
|
|
551
|
-
* @category cdk-utils.cloudfront-manager
|
|
552
|
-
* @subcategory Properties
|
|
553
|
-
*/
|
|
554
|
-
export interface CloudFrontProps extends cloudfront.CloudFrontWebDistributionProps {
|
|
555
|
-
tags?: TagProps[]
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
/**
|
|
559
|
-
* @category cdk-utils.cloudfront-manager
|
|
560
|
-
* @subcategory Properties
|
|
561
|
-
*/
|
|
562
|
-
export interface CloudfrontFunctionProps extends cloudfront.FunctionProps {
|
|
563
|
-
functionFilePath: string
|
|
564
|
-
eventType: string
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
/**
|
|
568
|
-
* @category cdk-utils.cloudfront-manager
|
|
569
|
-
* @subcategory Properties
|
|
570
|
-
*/
|
|
571
|
-
export interface DistributionProps extends cloudfront.DistributionProps {
|
|
572
|
-
tags?: TagProps[]
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
/**
|
|
576
|
-
* @category cdk-utils.cloudtrail-manager
|
|
577
|
-
* @subcategory Properties
|
|
578
|
-
*/
|
|
579
|
-
export interface CloudTrailProps extends cloudtrail.CfnTrailProps {}
|
|
580
|
-
|
|
581
|
-
/**
|
|
582
|
-
* @category cdk-utils.cloudwatch-manager
|
|
583
|
-
* @subcategory Properties
|
|
584
|
-
*/
|
|
585
|
-
export interface DashboardProps extends watch.DashboardProps {}
|
|
586
|
-
|
|
587
|
-
/**
|
|
588
|
-
* @category cdk-utils.cloudwatch-manager
|
|
589
|
-
* @subcategory Properties
|
|
590
|
-
*/
|
|
591
|
-
export interface AlarmProps extends watch.AlarmProps {
|
|
592
|
-
expression?: string
|
|
593
|
-
metricProps?: MetricProps[]
|
|
594
|
-
periodInSecs?: number
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
/**
|
|
598
|
-
* @category cdk-utils.cloudwatch-manager
|
|
599
|
-
* @subcategory Properties
|
|
600
|
-
*/
|
|
601
|
-
export interface MetricProps extends watch.MetricProps {
|
|
602
|
-
stageSuffix: boolean
|
|
603
|
-
periodInSecs?: number
|
|
604
|
-
functionName?: string
|
|
605
|
-
dbClusterIdentifier?: string
|
|
606
|
-
distributionId?: string
|
|
607
|
-
loadBalancer?: string
|
|
608
|
-
serviceName?: string
|
|
609
|
-
clusterName?: string
|
|
610
|
-
apiName?: string
|
|
611
|
-
cacheClusterId?: string
|
|
612
|
-
stateMachineArn?: string
|
|
613
|
-
eventBusName?: string
|
|
614
|
-
ruleName?: string
|
|
615
|
-
service?: string
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
/**
|
|
619
|
-
* @category cdk-utils.cloudwatch-manager
|
|
620
|
-
* @subcategory Properties
|
|
621
|
-
*/
|
|
622
|
-
export interface TextWidgetProps extends watch.TextWidgetProps {
|
|
623
|
-
type: string
|
|
624
|
-
positionX: number
|
|
625
|
-
positionY: number
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
/**
|
|
629
|
-
* @category cdk-utils.cloudwatch-manager
|
|
630
|
-
* @subcategory Properties
|
|
631
|
-
*/
|
|
632
|
-
export interface NumericWidgetProps extends watch.SingleValueWidgetProps {
|
|
633
|
-
type: string
|
|
634
|
-
positionX: number
|
|
635
|
-
positionY: number
|
|
636
|
-
metricProps: watch.MetricProps[]
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
/**
|
|
640
|
-
* @category cdk-utils.cloudwatch-manager
|
|
641
|
-
* @subcategory Properties
|
|
642
|
-
*/
|
|
643
|
-
export interface GuageWidgetProps extends watch.GaugeWidgetProps {
|
|
644
|
-
type: string
|
|
645
|
-
positionX: number
|
|
646
|
-
positionY: number
|
|
647
|
-
metricProps: watch.MetricProps[]
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
/**
|
|
651
|
-
* @category cdk-utils.cloudwatch-manager
|
|
652
|
-
* @subcategory Properties
|
|
653
|
-
*/
|
|
654
|
-
export interface GraphWidgetProps extends watch.GraphWidgetProps {
|
|
655
|
-
type: string
|
|
656
|
-
positionX: number
|
|
657
|
-
positionY: number
|
|
658
|
-
metricProps: MetricProps[]
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
/**
|
|
662
|
-
* @category cdk-utils.cloudwatch-manager
|
|
663
|
-
* @subcategory Properties
|
|
664
|
-
*/
|
|
665
|
-
export interface AlarmStatusWidgetProps extends watch.AlarmStatusWidgetProps {
|
|
666
|
-
type: string
|
|
667
|
-
positionX: number
|
|
668
|
-
positionY: number
|
|
669
|
-
alarmProps: watch.AlarmProps[]
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
/**
|
|
673
|
-
* @category cdk-utils.cloudwatch-manager
|
|
674
|
-
* @subcategory Properties
|
|
675
|
-
*/
|
|
676
|
-
export interface LogQueryWidgetProps extends watch.LogQueryWidgetProps {
|
|
677
|
-
type: string
|
|
678
|
-
positionX: number
|
|
679
|
-
positionY: number
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
/**
|
|
683
|
-
* @category cdk-utils.efs-manager
|
|
684
|
-
* @subcategory Properties
|
|
685
|
-
*/
|
|
686
|
-
export interface EfsFileSystemProps extends efs.FileSystemProps {
|
|
687
|
-
provisionNewOnDeployment?: boolean
|
|
688
|
-
rootDirectory?: string
|
|
689
|
-
transitEncryption?: string
|
|
690
|
-
transitEncryptionPort?: number
|
|
691
|
-
authorizationConfig?: ecs.AuthorizationConfig
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
/**
|
|
695
|
-
* @category cdk-utils.efs-manager
|
|
696
|
-
* @subcategory Properties
|
|
697
|
-
*/
|
|
698
|
-
export interface EfsAccessPointOptions extends efs.AccessPointOptions {}
|
|
699
|
-
|
|
700
|
-
/**
|
|
701
|
-
* @category cdk-utils.ecs-manager
|
|
702
|
-
* @subcategory Properties
|
|
703
|
-
*/
|
|
704
|
-
export interface EcsClusterProps extends ecs.ClusterProps {
|
|
705
|
-
tags?: TagProps[]
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
/**
|
|
709
|
-
* @category cdk-utils.ecs-manager
|
|
710
|
-
* @subcategory Properties
|
|
711
|
-
*/
|
|
712
|
-
export interface EcsTaskProps extends ecs.TaskDefinitionProps {
|
|
713
|
-
logging?: ecs.AwsLogDriverProps
|
|
714
|
-
tags?: TagProps[]
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
export interface EcsScalingProps {
|
|
718
|
-
minCapacity?: number
|
|
719
|
-
maxCapacity?: number
|
|
720
|
-
scaleOnCpuUtilization?: number
|
|
721
|
-
scaleOnMemoryUtilization?: number
|
|
722
|
-
scaleOnRequestsPerTarget?: number
|
|
723
|
-
scaleOnSchedule?: appAutoscaling.ScalingSchedule
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
/**
|
|
727
|
-
* @category cdk-utils.ecs-manager
|
|
728
|
-
* @subcategory Properties
|
|
729
|
-
*/
|
|
730
|
-
export interface EcsApplicationLoadBalancedFargateServiceProps
|
|
731
|
-
extends ecsPatterns.ApplicationLoadBalancedFargateServiceProps {
|
|
732
|
-
healthCheck?: HealthCheck
|
|
733
|
-
logging?: ecs.AwsLogDriverProps
|
|
734
|
-
mountPoints?: ecs.MountPoint[]
|
|
735
|
-
siteScaling?: EcsScalingProps
|
|
736
|
-
}
|
|
737
|
-
|
|
738
|
-
/**
|
|
739
|
-
* @category cdk-utils.eks-manager
|
|
740
|
-
* @subcategory Properties
|
|
741
|
-
*/
|
|
742
|
-
export interface EksClusterProps extends eks.ClusterProps {
|
|
743
|
-
appContainerPort: number
|
|
744
|
-
appCapacity: number
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
/**
|
|
748
|
-
* @category cdk-utils.event-manager
|
|
749
|
-
* @subcategory Properties
|
|
750
|
-
*/
|
|
751
|
-
export interface RuleProps extends events.CfnRuleProps {
|
|
752
|
-
input?: string
|
|
753
|
-
}
|
|
754
|
-
|
|
755
|
-
/**
|
|
756
|
-
* @category cdk-utils.sfn-manager
|
|
757
|
-
* @subcategory Properties
|
|
758
|
-
*/
|
|
759
|
-
export interface SfnMapProps extends sfn.MapProps {}
|
|
760
|
-
|
|
761
|
-
/**
|
|
762
|
-
* @category cdk-utils.sfn-manager
|
|
763
|
-
* @subcategory Properties
|
|
764
|
-
*/
|
|
765
|
-
export interface SfnStartExecutionProps extends tasks.StepFunctionsStartExecutionProps {
|
|
766
|
-
retries?: SfnRetryProps[]
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
/**
|
|
770
|
-
}
|
|
771
|
-
* @category cdk-utils.event-manager
|
|
772
|
-
* @subcategory Properties
|
|
773
|
-
*/
|
|
774
|
-
export interface SqsToSfnPipeProps extends pipes.CfnPipeProps {
|
|
775
|
-
pipeFilterPattern?: any
|
|
776
|
-
sqsBatchSize?: number
|
|
777
|
-
sqsMaximumBatchingWindowInSeconds?: number
|
|
778
|
-
sfnInvocationType?: string
|
|
779
|
-
sfnInputTemplate?: string
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
/**
|
|
783
|
-
* @category cdk-utils.event-manager
|
|
784
|
-
* @subcategory Properties
|
|
785
|
-
*/
|
|
786
|
-
export interface EventRuleProps extends events.RuleProps {
|
|
787
|
-
tags?: TagProps[]
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
/**
|
|
791
|
-
* @category cdk-utils.event-manager
|
|
792
|
-
* @subcategory Properties
|
|
793
|
-
*/
|
|
794
|
-
export interface EventBusProps extends events.EventBusProps {}
|
|
795
|
-
|
|
796
|
-
/**
|
|
797
|
-
* @category cdk-utils.evidently-manager
|
|
798
|
-
* @subcategory Properties
|
|
799
|
-
*/
|
|
800
|
-
export interface EvidentlyProjectProps extends evidently.CfnProjectProps {}
|
|
801
|
-
|
|
802
|
-
/**
|
|
803
|
-
* @category cdk-utils.evidently-manager
|
|
804
|
-
* @subcategory Properties
|
|
805
|
-
*/
|
|
806
|
-
export interface EvidentlyFeatureProps extends evidently.CfnFeatureProps {}
|
|
807
|
-
|
|
808
|
-
/**
|
|
809
|
-
* @category cdk-utils.evidently-manager
|
|
810
|
-
* @subcategory Properties
|
|
811
|
-
*/
|
|
812
|
-
export interface EvidentlyLaunchProps extends evidently.CfnLaunchProps {}
|
|
813
|
-
|
|
814
|
-
/**
|
|
815
|
-
* @category cdk-utils.evidently-manager
|
|
816
|
-
* @subcategory Properties
|
|
817
|
-
*/
|
|
818
|
-
export interface EvidentlyExperimentProps extends evidently.CfnExperimentProps {}
|
|
819
|
-
|
|
820
|
-
/**
|
|
821
|
-
* @category cdk-utils.evidently-manager
|
|
822
|
-
* @subcategory Properties
|
|
823
|
-
*/
|
|
824
|
-
export interface EvidentlySegmentProps extends evidently.CfnSegmentProps {}
|
|
825
|
-
|
|
826
1
|
/**
|
|
827
2
|
* @category cdk-utils.common-stack
|
|
828
3
|
* @subcategory Properties
|
|
@@ -831,162 +6,3 @@ export interface TagProps {
|
|
|
831
6
|
key: string
|
|
832
7
|
value: string
|
|
833
8
|
}
|
|
834
|
-
|
|
835
|
-
/**
|
|
836
|
-
* @category cdk-utils.lambda-manager
|
|
837
|
-
* @subcategory Properties
|
|
838
|
-
*/
|
|
839
|
-
export interface ProvisionedConcurrencyProps {
|
|
840
|
-
minCapacity: number
|
|
841
|
-
maxCapacity: number
|
|
842
|
-
utilizationTarget: number
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
/**
|
|
846
|
-
* @category cdk-utils.lambda-manager
|
|
847
|
-
* @subcategory Properties
|
|
848
|
-
*/
|
|
849
|
-
export interface LambdaProps extends lambda.FunctionProps {
|
|
850
|
-
dlq?: QueueProps
|
|
851
|
-
redriveq?: QueueProps
|
|
852
|
-
timeoutInSecs?: number
|
|
853
|
-
excludeLastModifiedTimestamp?: boolean
|
|
854
|
-
tags?: TagProps[]
|
|
855
|
-
lambdaAliases?: LambdaAliasProps[]
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
/**
|
|
859
|
-
* @category cdk-utils.lambda-manager
|
|
860
|
-
* @subcategory Properties
|
|
861
|
-
*/
|
|
862
|
-
export interface LambdaAliasProps extends lambda.AliasProps {
|
|
863
|
-
id?: string
|
|
864
|
-
provisionedConcurrency?: ProvisionedConcurrencyProps
|
|
865
|
-
}
|
|
866
|
-
|
|
867
|
-
/**
|
|
868
|
-
* @category cdk-utils.lambda-manager
|
|
869
|
-
* @subcategory Properties
|
|
870
|
-
*/
|
|
871
|
-
export interface LambdaEdgeProps extends cloudfront.experimental.EdgeFunctionProps {
|
|
872
|
-
timeoutInSecs?: number
|
|
873
|
-
tags?: TagProps[]
|
|
874
|
-
}
|
|
875
|
-
|
|
876
|
-
/**
|
|
877
|
-
* @category cdk-utils.api-manager
|
|
878
|
-
* @subcategory Properties
|
|
879
|
-
*/
|
|
880
|
-
export interface LambdaRestApiProps extends apig.LambdaRestApiProps {
|
|
881
|
-
tags?: TagProps[]
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
/**
|
|
885
|
-
* @category cdk-utils.cloudwatch-manager
|
|
886
|
-
* @subcategory Properties
|
|
887
|
-
*/
|
|
888
|
-
export interface LogProps extends logs.LogGroupProps {
|
|
889
|
-
tags?: TagProps[]
|
|
890
|
-
}
|
|
891
|
-
|
|
892
|
-
/**
|
|
893
|
-
* @category cdk-utils.cloudwatch-manager
|
|
894
|
-
* @subcategory Properties
|
|
895
|
-
*/
|
|
896
|
-
export interface MetricFilterProps extends logs.MetricFilterProps {
|
|
897
|
-
periodInSecs: number
|
|
898
|
-
options: watch.MetricOptions
|
|
899
|
-
}
|
|
900
|
-
|
|
901
|
-
/**
|
|
902
|
-
* @category cdk-utils.route53-manager
|
|
903
|
-
* @subcategory Properties
|
|
904
|
-
*/
|
|
905
|
-
export interface Route53Props extends route53.HostedZoneProps {
|
|
906
|
-
useExistingHostedZone?: boolean
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
/**
|
|
910
|
-
* @category cdk-utils.s3-manager
|
|
911
|
-
* @subcategory Properties
|
|
912
|
-
*/
|
|
913
|
-
export interface LifecycleRule extends s3.LifecycleRule {
|
|
914
|
-
expirationInDays?: number
|
|
915
|
-
noncurrentVersionExpirationInDays?: number
|
|
916
|
-
}
|
|
917
|
-
|
|
918
|
-
/**
|
|
919
|
-
* @category cdk-utils.s3-manager
|
|
920
|
-
* @subcategory Properties
|
|
921
|
-
*/
|
|
922
|
-
export interface BucketDeploymentProps extends s3deploy.BucketDeploymentProps {
|
|
923
|
-
expirationInDays?: number
|
|
924
|
-
noncurrentVersionExpirationInDays?: number
|
|
925
|
-
}
|
|
926
|
-
|
|
927
|
-
/**
|
|
928
|
-
* @category cdk-utils.dynamodb-manager
|
|
929
|
-
* @subcategory Properties
|
|
930
|
-
*/
|
|
931
|
-
export interface TableProps extends dynamodb.TableProps {
|
|
932
|
-
tags?: TagProps[]
|
|
933
|
-
}
|
|
934
|
-
|
|
935
|
-
/**
|
|
936
|
-
* @category cdk-utils.s3-manager
|
|
937
|
-
* @subcategory Properties
|
|
938
|
-
*/
|
|
939
|
-
export interface S3BucketProps extends s3.BucketProps {
|
|
940
|
-
enableEventBridge?: boolean
|
|
941
|
-
lifecycleRules?: LifecycleRule[]
|
|
942
|
-
bucketName: string
|
|
943
|
-
logBucketName?: string
|
|
944
|
-
existingBucket?: boolean
|
|
945
|
-
tags?: TagProps[]
|
|
946
|
-
}
|
|
947
|
-
|
|
948
|
-
/**
|
|
949
|
-
* @category cdk-utils.sns-manager
|
|
950
|
-
* @subcategory Properties
|
|
951
|
-
*/
|
|
952
|
-
export interface SubscriptionProps extends sns.TopicProps {}
|
|
953
|
-
|
|
954
|
-
/**
|
|
955
|
-
* @category cdk-utils.waf-manager
|
|
956
|
-
* @subcategory Properties
|
|
957
|
-
*/
|
|
958
|
-
export interface WafIPSetProps extends wafv2.CfnIPSetProps {}
|
|
959
|
-
|
|
960
|
-
/**
|
|
961
|
-
* @category cdk-utils.waf-manager
|
|
962
|
-
* @subcategory Properties
|
|
963
|
-
*/
|
|
964
|
-
export interface WafWebACLProps extends wafv2.CfnWebACLProps {}
|
|
965
|
-
|
|
966
|
-
/**
|
|
967
|
-
* @category cdk-utils.elasticache-manager
|
|
968
|
-
* @category Compute
|
|
969
|
-
*/
|
|
970
|
-
export interface ElastiCacheProps extends elasticache.CfnCacheClusterProps {}
|
|
971
|
-
|
|
972
|
-
/**
|
|
973
|
-
* @category cdk-utils.elasticache-manager
|
|
974
|
-
* @category Compute
|
|
975
|
-
*/
|
|
976
|
-
export interface ReplicatedElastiCacheProps extends elasticache.CfnReplicationGroupProps {}
|
|
977
|
-
|
|
978
|
-
/**
|
|
979
|
-
* @category cdk-utils.sqs-manager
|
|
980
|
-
* @subcategory Properties
|
|
981
|
-
*/
|
|
982
|
-
export interface QueueProps extends sqs.QueueProps {
|
|
983
|
-
maxReceiveCount?: number
|
|
984
|
-
visibilityTimeoutInSecs?: number
|
|
985
|
-
receiveMessageWaitTimeInSecs?: number
|
|
986
|
-
dataKeyReuseInSecs?: number
|
|
987
|
-
deliveryDelayInSecs?: number
|
|
988
|
-
retentionInDays?: number
|
|
989
|
-
tags?: TagProps[]
|
|
990
|
-
retriesEnabled?: boolean
|
|
991
|
-
retryBatchSize?: number
|
|
992
|
-
}
|