@gradientedge/cdk-utils 4.4.0 → 4.4.4
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/README.md +2 -6
- package/api-docs/AcmManager.html +8 -5
- package/api-docs/AcmProps.html +7 -4
- package/api-docs/AlarmProps.html +7 -4
- package/api-docs/AlarmStatusWidgetProps.html +7 -4
- package/api-docs/ApiDestinationEvent.html +7 -4
- package/api-docs/ApiDestinationEventType.html +7 -4
- package/api-docs/ApiDestinedLambda.html +7 -4
- package/api-docs/ApiDestinedLambdaEnvironment.html +7 -4
- package/api-docs/ApiDestinedLambdaType.html +8 -5
- package/api-docs/ApiDestinedRestApi.html +7 -4
- package/api-docs/ApiDestinedRestApiType.html +8 -5
- package/api-docs/ApiManager.html +9 -6
- package/api-docs/ApiToEventBridgeTarget.html +22 -19
- package/api-docs/ApiToEventBridgeTarget.jpg +0 -0
- package/api-docs/ApiToEventBridgeTargetEventProps.html +7 -4
- package/api-docs/ApiToEventBridgeTargetLambdaProps.html +7 -4
- package/api-docs/ApiToEventBridgeTargetProps.html +7 -4
- package/api-docs/ApiToEventBridgeTargetRestApiProps.html +238 -0
- package/api-docs/AppConfigManager.html +11 -8
- package/api-docs/AppConfigProps.html +6 -3
- package/api-docs/CloudFrontManager.html +13 -10
- package/api-docs/CloudFrontProps.html +7 -4
- package/api-docs/CloudTrailManager.html +8 -5
- package/api-docs/CloudTrailProps.html +7 -4
- package/api-docs/CloudWatchManager.html +20 -17
- package/api-docs/CloudfrontFunctionProps.html +7 -4
- package/api-docs/CodeBuildManager.html +9 -6
- package/api-docs/CommonConstruct.html +17 -14
- package/api-docs/CommonStack.html +11 -8
- package/api-docs/CommonStackProps.html +7 -4
- package/api-docs/DashboardProps.html +7 -4
- package/api-docs/DistributionProps.html +7 -4
- package/api-docs/DynamodbManager.html +8 -5
- package/api-docs/EcrManager.html +8 -5
- package/api-docs/EcsClusterProps.html +7 -4
- package/api-docs/EcsManager.html +9 -6
- package/api-docs/EcsTaskProps.html +7 -4
- package/api-docs/EksClusterProps.html +7 -4
- package/api-docs/EksManager.html +8 -5
- package/api-docs/EventBusProps.html +7 -4
- package/api-docs/EventManager.html +11 -8
- package/api-docs/EventRuleProps.html +7 -4
- package/api-docs/GraphQLApiLambda.html +20 -17
- package/api-docs/GraphQlApiLambdaEnvironment.html +7 -4
- package/api-docs/GraphQlApiLambdaProps.html +7 -4
- package/api-docs/GraphWidgetProps.html +7 -4
- package/api-docs/HealthCheck.html +7 -4
- package/api-docs/IamManager.html +30 -27
- package/api-docs/LambdaEdgeProps.html +7 -4
- package/api-docs/LambdaEnvironment.html +7 -4
- package/api-docs/LambdaManager.html +12 -9
- package/api-docs/LambdaProps.html +7 -4
- package/api-docs/LifecycleRule.html +238 -0
- package/api-docs/LogManager.html +10 -7
- package/api-docs/LogProps.html +7 -4
- package/api-docs/LogQueryWidgetProps.html +7 -4
- package/api-docs/MetricFilterProps.html +7 -4
- package/api-docs/MetricProps.html +7 -4
- package/api-docs/NumericWidgetProps.html +7 -4
- package/api-docs/Route53Manager.html +12 -9
- package/api-docs/Route53Props.html +7 -4
- package/api-docs/RuleProps.html +7 -4
- package/api-docs/S3BucketProps.html +7 -4
- package/api-docs/S3Manager.html +13 -10
- package/api-docs/SSMParameterReader.html +8 -5
- package/api-docs/SSMParameterReaderProps.html +7 -4
- package/api-docs/SecretsManager.html +12 -9
- package/api-docs/SiteWithEcsBackend.html +27 -24
- package/api-docs/SiteWithEcsBackendProps.html +7 -4
- package/api-docs/SnsManager.html +9 -6
- package/api-docs/SsmManager.html +10 -7
- package/api-docs/StaticSite.html +17 -14
- package/api-docs/StaticSiteProps.html +7 -4
- package/api-docs/SubscriptionProps.html +7 -4
- package/api-docs/TableProps.html +7 -4
- package/api-docs/TextWidgetProps.html +7 -4
- package/api-docs/VpcManager.html +64 -8
- package/api-docs/WafIPSetProps.html +7 -4
- package/api-docs/WafManager.html +9 -6
- package/api-docs/WafWebACLProps.html +7 -4
- package/api-docs/common_construct.ts.html +8 -4
- package/api-docs/common_stack.ts.html +8 -4
- package/api-docs/construct_api-to-eventbridge-target_api-destination-event.ts.html +8 -4
- package/api-docs/construct_api-to-eventbridge-target_api-destined-lambda.ts.html +8 -4
- package/api-docs/construct_api-to-eventbridge-target_api-destined-rest-api.ts.html +8 -4
- package/api-docs/construct_api-to-eventbridge-target_main.ts.html +8 -4
- package/api-docs/construct_graphql-api-lambda_main.ts.html +8 -4
- package/api-docs/construct_site-with-ecs-backend_main.ts.html +9 -5
- package/api-docs/construct_static-site_main.ts.html +8 -4
- package/api-docs/global.html +16 -13
- package/api-docs/index.html +8 -7
- package/api-docs/logo.png +0 -0
- package/api-docs/manager_aws_acm-manager.ts.html +8 -4
- package/api-docs/manager_aws_api-manager.ts.html +8 -4
- package/api-docs/manager_aws_app-config-manager.ts.html +10 -5
- package/api-docs/manager_aws_cloudfront-manager.ts.html +8 -4
- package/api-docs/manager_aws_cloudtrail-manager.ts.html +8 -4
- package/api-docs/manager_aws_cloudwatch-manager.ts.html +10 -5
- package/api-docs/manager_aws_codebuild-manager.ts.html +8 -4
- package/api-docs/manager_aws_dynamodb-manager.ts.html +8 -4
- package/api-docs/manager_aws_ecr-manager.ts.html +8 -4
- package/api-docs/manager_aws_ecs-manager.ts.html +8 -4
- package/api-docs/manager_aws_eks-manager.ts.html +8 -4
- package/api-docs/manager_aws_event-manager.ts.html +8 -4
- package/api-docs/manager_aws_iam-manager.ts.html +8 -4
- package/api-docs/manager_aws_lambda-manager.ts.html +8 -4
- package/api-docs/manager_aws_log-manager.ts.html +8 -4
- package/api-docs/manager_aws_route53-manager.ts.html +8 -4
- package/api-docs/manager_aws_s3-manager.ts.html +8 -4
- package/api-docs/manager_aws_secrets-manager.ts.html +8 -4
- package/api-docs/manager_aws_sns-manager.ts.html +8 -4
- package/api-docs/manager_aws_ssm-manager.ts.html +10 -5
- package/api-docs/manager_aws_vpc-manager.ts.html +13 -7
- package/api-docs/manager_aws_waf-manager.ts.html +8 -4
- package/api-docs/styles.css +113 -0
- package/api-docs/tutorial-Architecture.html +5 -1
- package/api-docs/tutorial-Build.html +5 -1
- package/api-docs/tutorial-CI-CD.html +5 -1
- package/api-docs/tutorial-Development.html +5 -1
- package/api-docs/types_aws_index.ts.html +104 -50
- package/api-docs/utils_aws_index.ts.html +7 -4
- package/api-docs/utils_index.ts.html +14 -12
- package/app/api-destined-function/package.json +0 -1
- package/img/ApiToEventBridgeTarget.jpg +0 -0
- package/img/logo.png +0 -0
- package/lerna.json +6 -0
- package/package.json +14 -14
- package/src/lib/common/construct.ts +2 -1
- package/src/lib/common/stack.ts +2 -1
- package/src/lib/construct/api-to-eventbridge-target/api-destination-event.ts +2 -1
- package/src/lib/construct/api-to-eventbridge-target/api-destined-lambda.ts +2 -1
- package/src/lib/construct/api-to-eventbridge-target/api-destined-rest-api.ts +2 -1
- package/src/lib/construct/api-to-eventbridge-target/main.ts +2 -1
- package/src/lib/construct/graphql-api-lambda/main.ts +2 -1
- package/src/lib/construct/site-with-ecs-backend/main.ts +3 -2
- package/src/lib/construct/static-site/main.ts +2 -1
- package/src/lib/manager/aws/acm-manager.ts +2 -1
- package/src/lib/manager/aws/api-manager.ts +2 -1
- package/src/lib/manager/aws/app-config-manager.ts +4 -2
- package/src/lib/manager/aws/cloudfront-manager.ts +2 -1
- package/src/lib/manager/aws/cloudtrail-manager.ts +2 -1
- package/src/lib/manager/aws/cloudwatch-manager.ts +4 -2
- package/src/lib/manager/aws/codebuild-manager.ts +2 -1
- package/src/lib/manager/aws/dynamodb-manager.ts +2 -1
- package/src/lib/manager/aws/ecr-manager.ts +2 -1
- package/src/lib/manager/aws/ecs-manager.ts +2 -1
- package/src/lib/manager/aws/eks-manager.ts +2 -1
- package/src/lib/manager/aws/event-manager.ts +2 -1
- package/src/lib/manager/aws/iam-manager.ts +2 -1
- package/src/lib/manager/aws/lambda-manager.ts +2 -1
- package/src/lib/manager/aws/log-manager.ts +2 -1
- package/src/lib/manager/aws/route53-manager.ts +2 -1
- package/src/lib/manager/aws/s3-manager.ts +2 -1
- package/src/lib/manager/aws/secrets-manager.ts +2 -1
- package/src/lib/manager/aws/sns-manager.ts +2 -1
- package/src/lib/manager/aws/ssm-manager.ts +4 -2
- package/src/lib/manager/aws/vpc-manager.ts +7 -4
- package/src/lib/manager/aws/waf-manager.ts +2 -1
- package/src/lib/types/aws/index.ts +98 -47
- package/src/lib/utils/aws/index.ts +1 -1
- package/src/lib/utils/index.ts +8 -9
- package/theme/styles.css +113 -0
- package/app/api-destined-function/node_modules/uuid/dist/bin/uuid +0 -2
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/index.js +0 -9
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/md5.js +0 -215
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/nil.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/parse.js +0 -35
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/regex.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/rng.js +0 -19
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/stringify.js +0 -30
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v1.js +0 -95
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v3.js +0 -4
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v35.js +0 -64
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v4.js +0 -24
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v5.js +0 -4
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/validate.js +0 -7
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/version.js +0 -11
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/index.js +0 -9
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/md5.js +0 -13
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/nil.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/parse.js +0 -35
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/regex.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/rng.js +0 -12
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/sha1.js +0 -13
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/stringify.js +0 -29
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/v1.js +0 -95
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/v3.js +0 -4
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/v35.js +0 -64
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/v4.js +0 -24
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/v5.js +0 -4
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/validate.js +0 -7
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/version.js +0 -11
- package/app/api-destined-function/node_modules/uuid/dist/index.js +0 -79
- package/app/api-destined-function/node_modules/uuid/dist/md5-browser.js +0 -223
- package/app/api-destined-function/node_modules/uuid/dist/md5.js +0 -23
- package/app/api-destined-function/node_modules/uuid/dist/nil.js +0 -8
- package/app/api-destined-function/node_modules/uuid/dist/parse.js +0 -45
- package/app/api-destined-function/node_modules/uuid/dist/regex.js +0 -8
- package/app/api-destined-function/node_modules/uuid/dist/rng-browser.js +0 -26
- package/app/api-destined-function/node_modules/uuid/dist/rng.js +0 -24
- package/app/api-destined-function/node_modules/uuid/dist/sha1-browser.js +0 -104
- package/app/api-destined-function/node_modules/uuid/dist/sha1.js +0 -23
- package/app/api-destined-function/node_modules/uuid/dist/stringify.js +0 -39
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuid.min.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
- package/app/api-destined-function/node_modules/uuid/dist/uuid-bin.js +0 -85
- package/app/api-destined-function/node_modules/uuid/dist/v1.js +0 -107
- package/app/api-destined-function/node_modules/uuid/dist/v3.js +0 -16
- package/app/api-destined-function/node_modules/uuid/dist/v35.js +0 -78
- package/app/api-destined-function/node_modules/uuid/dist/v4.js +0 -37
- package/app/api-destined-function/node_modules/uuid/dist/v5.js +0 -16
- package/app/api-destined-function/node_modules/uuid/dist/validate.js +0 -17
- package/app/api-destined-function/node_modules/uuid/dist/version.js +0 -21
- package/dist/app/api-destined-function/src/lib/lambda.d.ts +0 -19
- package/dist/app/api-destined-function/src/lib/lambda.d.ts.map +0 -1
- package/dist/app/api-destined-function/src/lib/lambda.js +0 -34
- package/dist/app/api-destined-function/src/lib/lambda.js.map +0 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/src/lib/common/construct.d.ts +0 -79
- package/dist/src/lib/common/construct.d.ts.map +0 -1
- package/dist/src/lib/common/construct.js +0 -133
- package/dist/src/lib/common/construct.js.map +0 -1
- package/dist/src/lib/common/index.d.ts +0 -3
- package/dist/src/lib/common/index.d.ts.map +0 -1
- package/dist/src/lib/common/index.js +0 -15
- package/dist/src/lib/common/index.js.map +0 -1
- package/dist/src/lib/common/stack.d.ts +0 -54
- package/dist/src/lib/common/stack.d.ts.map +0 -1
- package/dist/src/lib/common/stack.js +0 -147
- package/dist/src/lib/common/stack.js.map +0 -1
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destination-event.d.ts +0 -16
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destination-event.d.ts.map +0 -1
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destination-event.js +0 -17
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destination-event.js.map +0 -1
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-lambda.d.ts +0 -19
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-lambda.d.ts.map +0 -1
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-lambda.js +0 -19
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-lambda.js.map +0 -1
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-rest-api.d.ts +0 -35
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-rest-api.d.ts.map +0 -1
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-rest-api.js +0 -29
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-rest-api.js.map +0 -1
- package/dist/src/lib/construct/api-to-eventbridge-target/index.d.ts +0 -5
- package/dist/src/lib/construct/api-to-eventbridge-target/index.d.ts.map +0 -1
- package/dist/src/lib/construct/api-to-eventbridge-target/index.js +0 -17
- package/dist/src/lib/construct/api-to-eventbridge-target/index.js.map +0 -1
- package/dist/src/lib/construct/api-to-eventbridge-target/main.d.ts +0 -134
- package/dist/src/lib/construct/api-to-eventbridge-target/main.d.ts.map +0 -1
- package/dist/src/lib/construct/api-to-eventbridge-target/main.js +0 -487
- package/dist/src/lib/construct/api-to-eventbridge-target/main.js.map +0 -1
- package/dist/src/lib/construct/graphql-api-lambda/index.d.ts +0 -2
- package/dist/src/lib/construct/graphql-api-lambda/index.d.ts.map +0 -1
- package/dist/src/lib/construct/graphql-api-lambda/index.js +0 -14
- package/dist/src/lib/construct/graphql-api-lambda/index.js.map +0 -1
- package/dist/src/lib/construct/graphql-api-lambda/main.d.ts +0 -112
- package/dist/src/lib/construct/graphql-api-lambda/main.d.ts.map +0 -1
- package/dist/src/lib/construct/graphql-api-lambda/main.js +0 -201
- package/dist/src/lib/construct/graphql-api-lambda/main.js.map +0 -1
- package/dist/src/lib/construct/index.d.ts +0 -5
- package/dist/src/lib/construct/index.d.ts.map +0 -1
- package/dist/src/lib/construct/index.js +0 -17
- package/dist/src/lib/construct/index.js.map +0 -1
- package/dist/src/lib/construct/site-with-ecs-backend/index.d.ts +0 -2
- package/dist/src/lib/construct/site-with-ecs-backend/index.d.ts.map +0 -1
- package/dist/src/lib/construct/site-with-ecs-backend/index.js +0 -14
- package/dist/src/lib/construct/site-with-ecs-backend/index.js.map +0 -1
- package/dist/src/lib/construct/site-with-ecs-backend/main.d.ts +0 -167
- package/dist/src/lib/construct/site-with-ecs-backend/main.d.ts.map +0 -1
- package/dist/src/lib/construct/site-with-ecs-backend/main.js +0 -327
- package/dist/src/lib/construct/site-with-ecs-backend/main.js.map +0 -1
- package/dist/src/lib/construct/static-site/index.d.ts +0 -2
- package/dist/src/lib/construct/static-site/index.d.ts.map +0 -1
- package/dist/src/lib/construct/static-site/index.js +0 -14
- package/dist/src/lib/construct/static-site/index.js.map +0 -1
- package/dist/src/lib/construct/static-site/main.d.ts +0 -94
- package/dist/src/lib/construct/static-site/main.d.ts.map +0 -1
- package/dist/src/lib/construct/static-site/main.js +0 -168
- package/dist/src/lib/construct/static-site/main.js.map +0 -1
- package/dist/src/lib/manager/aws/acm-manager.d.ts +0 -46
- package/dist/src/lib/manager/aws/acm-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/acm-manager.js +0 -90
- package/dist/src/lib/manager/aws/acm-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/api-manager.d.ts +0 -43
- package/dist/src/lib/manager/aws/api-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/api-manager.js +0 -111
- package/dist/src/lib/manager/aws/api-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/app-config-manager.d.ts +0 -64
- package/dist/src/lib/manager/aws/app-config-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/app-config-manager.js +0 -147
- package/dist/src/lib/manager/aws/app-config-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/cloudfront-manager.d.ts +0 -112
- package/dist/src/lib/manager/aws/cloudfront-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/cloudfront-manager.js +0 -282
- package/dist/src/lib/manager/aws/cloudfront-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/cloudtrail-manager.d.ts +0 -48
- package/dist/src/lib/manager/aws/cloudtrail-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/cloudtrail-manager.js +0 -99
- package/dist/src/lib/manager/aws/cloudtrail-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/cloudwatch-manager.d.ts +0 -121
- package/dist/src/lib/manager/aws/cloudwatch-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/cloudwatch-manager.js +0 -351
- package/dist/src/lib/manager/aws/cloudwatch-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/codebuild-manager.d.ts +0 -40
- package/dist/src/lib/manager/aws/codebuild-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/codebuild-manager.js +0 -94
- package/dist/src/lib/manager/aws/codebuild-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/dynamodb-manager.d.ts +0 -32
- package/dist/src/lib/manager/aws/dynamodb-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/dynamodb-manager.js +0 -79
- package/dist/src/lib/manager/aws/dynamodb-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/ecr-manager.d.ts +0 -31
- package/dist/src/lib/manager/aws/ecr-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/ecr-manager.js +0 -60
- package/dist/src/lib/manager/aws/ecr-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/ecs-manager.d.ts +0 -48
- package/dist/src/lib/manager/aws/ecs-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/ecs-manager.js +0 -103
- package/dist/src/lib/manager/aws/ecs-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/eks-manager.d.ts +0 -36
- package/dist/src/lib/manager/aws/eks-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/eks-manager.js +0 -109
- package/dist/src/lib/manager/aws/eks-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/event-manager.d.ts +0 -67
- package/dist/src/lib/manager/aws/event-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/event-manager.js +0 -162
- package/dist/src/lib/manager/aws/event-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/iam-manager.d.ts +0 -154
- package/dist/src/lib/manager/aws/iam-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/iam-manager.js +0 -380
- package/dist/src/lib/manager/aws/iam-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/index.d.ts +0 -23
- package/dist/src/lib/manager/aws/index.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/index.js +0 -35
- package/dist/src/lib/manager/aws/index.js.map +0 -1
- package/dist/src/lib/manager/aws/lambda-manager.d.ts +0 -94
- package/dist/src/lib/manager/aws/lambda-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/lambda-manager.js +0 -196
- package/dist/src/lib/manager/aws/lambda-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/log-manager.d.ts +0 -51
- package/dist/src/lib/manager/aws/log-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/log-manager.js +0 -108
- package/dist/src/lib/manager/aws/log-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/route53-manager.d.ts +0 -68
- package/dist/src/lib/manager/aws/route53-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/route53-manager.js +0 -158
- package/dist/src/lib/manager/aws/route53-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/s3-manager.d.ts +0 -73
- package/dist/src/lib/manager/aws/s3-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/s3-manager.js +0 -202
- package/dist/src/lib/manager/aws/s3-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/secrets-manager.d.ts +0 -57
- package/dist/src/lib/manager/aws/secrets-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/secrets-manager.js +0 -116
- package/dist/src/lib/manager/aws/secrets-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/sns-manager.d.ts +0 -42
- package/dist/src/lib/manager/aws/sns-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/sns-manager.js +0 -90
- package/dist/src/lib/manager/aws/sns-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/ssm-manager.d.ts +0 -59
- package/dist/src/lib/manager/aws/ssm-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/ssm-manager.js +0 -123
- package/dist/src/lib/manager/aws/ssm-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/vpc-manager.d.ts +0 -44
- package/dist/src/lib/manager/aws/vpc-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/vpc-manager.js +0 -92
- package/dist/src/lib/manager/aws/vpc-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/waf-manager.d.ts +0 -39
- package/dist/src/lib/manager/aws/waf-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/waf-manager.js +0 -89
- package/dist/src/lib/manager/aws/waf-manager.js.map +0 -1
- package/dist/src/lib/manager/index.d.ts +0 -2
- package/dist/src/lib/manager/index.d.ts.map +0 -1
- package/dist/src/lib/manager/index.js +0 -14
- package/dist/src/lib/manager/index.js.map +0 -1
- package/dist/src/lib/types/aws/index.d.ts +0 -429
- package/dist/src/lib/types/aws/index.d.ts.map +0 -1
- package/dist/src/lib/types/aws/index.js +0 -3
- package/dist/src/lib/types/aws/index.js.map +0 -1
- package/dist/src/lib/types/index.d.ts +0 -2
- package/dist/src/lib/types/index.d.ts.map +0 -1
- package/dist/src/lib/types/index.js +0 -14
- package/dist/src/lib/types/index.js.map +0 -1
- package/dist/src/lib/utils/aws/index.d.ts +0 -16
- package/dist/src/lib/utils/aws/index.d.ts.map +0 -1
- package/dist/src/lib/utils/aws/index.js +0 -50
- package/dist/src/lib/utils/aws/index.js.map +0 -1
- package/dist/src/lib/utils/index.d.ts +0 -64
- package/dist/src/lib/utils/index.d.ts.map +0 -1
- package/dist/src/lib/utils/index.js +0 -86
- package/dist/src/lib/utils/index.js.map +0 -1
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
<link type="text/css" rel="stylesheet" href="https://jmblog.github.io/color-themes-for-google-code-prettify/themes/tomorrow-night.min.css">
|
|
22
22
|
<link type="text/css" rel="stylesheet" href="styles/app.min.css">
|
|
23
23
|
<link type="text/css" rel="stylesheet" href="styles/iframe.css">
|
|
24
|
-
<link type="text/css" rel="stylesheet" href="">
|
|
24
|
+
<link type="text/css" rel="stylesheet" href="styles.css">
|
|
25
25
|
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
|
26
26
|
|
|
27
27
|
|
|
@@ -41,6 +41,10 @@
|
|
|
41
41
|
<span aria-hidden="true"></span>
|
|
42
42
|
</a>
|
|
43
43
|
<div class="logo">
|
|
44
|
+
|
|
45
|
+
<a class="image" href="index.html">
|
|
46
|
+
<img src="logo.png" alt="logo">
|
|
47
|
+
</a>
|
|
44
48
|
|
|
45
49
|
|
|
46
50
|
<a href="index.html">
|
|
@@ -113,8 +117,7 @@
|
|
|
113
117
|
|
|
114
118
|
<nav>
|
|
115
119
|
|
|
116
|
-
<h2><a href="index.html">Documentation</a></h2><div class="category"></div><div class="category"><h2>
|
|
117
|
-
LogLevel enumeration</h2><h3>Global</h3><ul><li><a href="global.html#LogLevel">LogLevel</a></li></ul></div>
|
|
120
|
+
<h2><a href="index.html">Documentation</a></h2><div class="category"></div><div class="category"><h2>cdk-utils.acm-manager</h2><h3>Classes / Construct</h3><ul><li><a href="AcmManager.html">AcmManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="AcmProps.html">AcmProps</a></li></ul></div><div class="category"><h2>cdk-utils.api-manager</h2><h3>Classes / Construct</h3><ul><li><a href="ApiManager.html">ApiManager</a></li></ul></div><div class="category"><h2>cdk-utils.api-to-eventbridge-target</h2><h3>Classes / member</h3><ul><li><a href="ApiDestinationEvent.html">ApiDestinationEvent</a></li><li><a href="ApiDestinedLambda.html">ApiDestinedLambda</a></li><li><a href="ApiDestinedRestApi.html">ApiDestinedRestApi</a></li></ul><h3>Classes / construct</h3><ul><li><a href="ApiToEventBridgeTarget.html">ApiToEventBridgeTarget</a></li></ul><h3>Interfaces / Types</h3><ul><li><a href="ApiDestinationEventType.html">ApiDestinationEventType</a></li><li><a href="ApiDestinedLambdaEnvironment.html">ApiDestinedLambdaEnvironment</a></li><li><a href="ApiDestinedLambdaType.html">ApiDestinedLambdaType</a></li><li><a href="ApiDestinedRestApiType.html">ApiDestinedRestApiType</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="ApiToEventBridgeTargetEventProps.html">ApiToEventBridgeTargetEventProps</a></li><li><a href="ApiToEventBridgeTargetLambdaProps.html">ApiToEventBridgeTargetLambdaProps</a></li><li><a href="ApiToEventBridgeTargetProps.html">ApiToEventBridgeTargetProps</a></li><li><a href="ApiToEventBridgeTargetRestApiProps.html">ApiToEventBridgeTargetRestApiProps</a></li></ul></div><div class="category"><h2>cdk-utils.app-config-manager</h2><h3>Classes / Construct</h3><ul><li><a href="AppConfigManager.html">AppConfigManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="AppConfigProps.html">AppConfigProps</a></li></ul><h3>Global</h3><ul><li><a href="global.html#ArnsByRegion">ArnsByRegion</a></li></ul></div><div class="category"><h2>cdk-utils.cloudfront-manager</h2><h3>Classes / Construct</h3><ul><li><a href="CloudFrontManager.html">CloudFrontManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="CloudfrontFunctionProps.html">CloudfrontFunctionProps</a></li><li><a href="CloudFrontProps.html">CloudFrontProps</a></li><li><a href="DistributionProps.html">DistributionProps</a></li></ul></div><div class="category"><h2>cdk-utils.cloudtrail-manager</h2><h3>Classes / Construct</h3><ul><li><a href="CloudTrailManager.html">CloudTrailManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="CloudTrailProps.html">CloudTrailProps</a></li></ul></div><div class="category"><h2>cdk-utils.cloudwatch-manager</h2><h3>Classes / Construct</h3><ul><li><a href="CloudWatchManager.html">CloudWatchManager</a></li><li><a href="LogManager.html">LogManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="AlarmProps.html">AlarmProps</a></li><li><a href="AlarmStatusWidgetProps.html">AlarmStatusWidgetProps</a></li><li><a href="DashboardProps.html">DashboardProps</a></li><li><a href="GraphWidgetProps.html">GraphWidgetProps</a></li><li><a href="LogProps.html">LogProps</a></li><li><a href="LogQueryWidgetProps.html">LogQueryWidgetProps</a></li><li><a href="MetricFilterProps.html">MetricFilterProps</a></li><li><a href="MetricProps.html">MetricProps</a></li><li><a href="NumericWidgetProps.html">NumericWidgetProps</a></li><li><a href="TextWidgetProps.html">TextWidgetProps</a></li></ul><h3>Global</h3><ul><li><a href="global.html#CloudWatchWidgetType">CloudWatchWidgetType</a></li></ul></div><div class="category"><h2>cdk-utils.codebuild-manager</h2><h3>Classes / Construct</h3><ul><li><a href="CodeBuildManager.html">CodeBuildManager</a></li></ul></div><div class="category"><h2>cdk-utils.common-construct</h2><h3>Classes / Construct</h3><ul><li><a href="CommonConstruct.html">CommonConstruct</a></li></ul></div><div class="category"><h2>cdk-utils.common-stack</h2><h3>Classes / Construct</h3><ul><li><a href="CommonStack.html">CommonStack</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="CommonStackProps.html">CommonStackProps</a></li></ul></div><div class="category"><h2>cdk-utils.dynamodb-manager</h2><h3>Classes / Construct</h3><ul><li><a href="DynamodbManager.html">DynamodbManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="TableProps.html">TableProps</a></li></ul></div><div class="category"><h2>cdk-utils.ecr-manager</h2><h3>Classes / Construct</h3><ul><li><a href="EcrManager.html">EcrManager</a></li></ul></div><div class="category"><h2>cdk-utils.ecs-manager</h2><h3>Classes / Construct</h3><ul><li><a href="EcsManager.html">EcsManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="EcsClusterProps.html">EcsClusterProps</a></li><li><a href="EcsTaskProps.html">EcsTaskProps</a></li></ul></div><div class="category"><h2>cdk-utils.eks-manager</h2><h3>Classes / Construct</h3><ul><li><a href="EksManager.html">EksManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="EksClusterProps.html">EksClusterProps</a></li></ul></div><div class="category"><h2>cdk-utils.event-manager</h2><h3>Classes / Construct</h3><ul><li><a href="EventManager.html">EventManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="EventBusProps.html">EventBusProps</a></li><li><a href="EventRuleProps.html">EventRuleProps</a></li><li><a href="RuleProps.html">RuleProps</a></li></ul></div><div class="category"><h2>cdk-utils.graphql-api-lambda</h2><h3>Classes / construct</h3><ul><li><a href="GraphQLApiLambda.html">GraphQLApiLambda</a></li></ul><h3>Interfaces / Types</h3><ul><li><a href="GraphQlApiLambdaEnvironment.html">GraphQlApiLambdaEnvironment</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="GraphQlApiLambdaProps.html">GraphQlApiLambdaProps</a></li></ul></div><div class="category"><h2>cdk-utils.iam-manager</h2><h3>Classes / Construct</h3><ul><li><a href="IamManager.html">IamManager</a></li></ul></div><div class="category"><h2>cdk-utils.lambda-manager</h2><h3>Classes / Construct</h3><ul><li><a href="LambdaManager.html">LambdaManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="LambdaEdgeProps.html">LambdaEdgeProps</a></li><li><a href="LambdaProps.html">LambdaProps</a></li></ul><h3>Interfaces / Types</h3><ul><li><a href="LambdaEnvironment.html">LambdaEnvironment</a></li></ul></div><div class="category"><h2>cdk-utils.route53-manager</h2><h3>Classes / Construct</h3><ul><li><a href="Route53Manager.html">Route53Manager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="Route53Props.html">Route53Props</a></li></ul></div><div class="category"><h2>cdk-utils.s3-manager</h2><h3>Classes / Construct</h3><ul><li><a href="S3Manager.html">S3Manager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="LifecycleRule.html">LifecycleRule</a></li><li><a href="S3BucketProps.html">S3BucketProps</a></li></ul></div><div class="category"><h2>cdk-utils.secrets-manager</h2><h3>Classes / Construct</h3><ul><li><a href="SecretsManager.html">SecretsManager</a></li></ul></div><div class="category"><h2>cdk-utils.site-with-ecs-backend</h2><h3>Classes / construct</h3><ul><li><a href="SiteWithEcsBackend.html">SiteWithEcsBackend</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="HealthCheck.html">HealthCheck</a></li><li><a href="SiteWithEcsBackendProps.html">SiteWithEcsBackendProps</a></li></ul></div><div class="category"><h2>cdk-utils.sns-manager</h2><h3>Classes / Construct</h3><ul><li><a href="SnsManager.html">SnsManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="SubscriptionProps.html">SubscriptionProps</a></li></ul></div><div class="category"><h2>cdk-utils.ssm-manager</h2><h3>Classes / Construct</h3><ul><li><a href="SsmManager.html">SsmManager</a></li><li><a href="SSMParameterReader.html">SSMParameterReader</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="SSMParameterReaderProps.html">SSMParameterReaderProps</a></li></ul></div><div class="category"><h2>cdk-utils.static-site</h2><h3>Classes / construct</h3><ul><li><a href="StaticSite.html">StaticSite</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="StaticSiteProps.html">StaticSiteProps</a></li></ul></div><div class="category"><h2>cdk-utils.utils</h2><h3>Global</h3><ul><li><a href="global.html#createCfnOutput">createCfnOutput</a></li><li><a href="global.html#defaultResponseObject">defaultResponseObject</a></li><li><a href="global.html#isDevStage">isDevStage</a></li><li><a href="global.html#isPrdStage">isPrdStage</a></li><li><a href="global.html#isTestStage">isTestStage</a></li><li><a href="global.html#isUatStage">isUatStage</a></li><li><a href="global.html#LogLevel">LogLevel</a></li><li><a href="global.html#redirectError">redirectError</a></li><li><a href="global.html#redirectSuccess">redirectSuccess</a></li></ul></div><div class="category"><h2>cdk-utils.vpc-manager</h2><h3>Classes / Construct</h3><ul><li><a href="VpcManager.html">VpcManager</a></li></ul><h3>Global</h3><ul><li><a href="global.html#CommonVpcIdentifier">CommonVpcIdentifier</a></li></ul></div><div class="category"><h2>cdk-utils.waf-manager</h2><h3>Classes / Construct</h3><ul><li><a href="WafManager.html">WafManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="WafIPSetProps.html">WafIPSetProps</a></li><li><a href="WafWebACLProps.html">WafWebACLProps</a></li></ul></div>
|
|
118
121
|
|
|
119
122
|
</nav>
|
|
120
123
|
</div>
|
|
@@ -134,7 +137,7 @@ LogLevel enumeration</h2><h3>Global</h3><ul><li><a href="global.html#LogLevel">L
|
|
|
134
137
|
<pre class="prettyprint source linenums"><code>export * from './aws'
|
|
135
138
|
|
|
136
139
|
/**
|
|
137
|
-
* @category
|
|
140
|
+
* @category cdk-utils.utils
|
|
138
141
|
*/
|
|
139
142
|
const defaultResponseObject = {
|
|
140
143
|
statusCode: 200,
|
|
@@ -146,8 +149,7 @@ const defaultResponseObject = {
|
|
|
146
149
|
}
|
|
147
150
|
|
|
148
151
|
/**
|
|
149
|
-
* @category
|
|
150
|
-
* LogLevel enumeration
|
|
152
|
+
* @category cdk-utils.utils
|
|
151
153
|
*/
|
|
152
154
|
export enum LogLevel {
|
|
153
155
|
DEBUG = 'DEBUG',
|
|
@@ -159,28 +161,28 @@ export enum LogLevel {
|
|
|
159
161
|
}
|
|
160
162
|
|
|
161
163
|
/**
|
|
162
|
-
* @category
|
|
164
|
+
* @category cdk-utils.utils
|
|
163
165
|
* @param stage
|
|
164
166
|
*/
|
|
165
167
|
export const isDevStage = (stage: string) => stage === 'dev'
|
|
166
168
|
/**
|
|
167
|
-
* @category
|
|
169
|
+
* @category cdk-utils.utils
|
|
168
170
|
* @param stage
|
|
169
171
|
*/
|
|
170
172
|
export const isTestStage = (stage: string) => stage === 'tst'
|
|
171
173
|
/**
|
|
172
|
-
* @category
|
|
174
|
+
* @category cdk-utils.utils
|
|
173
175
|
* @param stage
|
|
174
176
|
*/
|
|
175
177
|
export const isUatStage = (stage: string) => stage === 'uat'
|
|
176
178
|
/**
|
|
177
|
-
* @category
|
|
179
|
+
* @category cdk-utils.utils
|
|
178
180
|
* @param stage
|
|
179
181
|
*/
|
|
180
182
|
export const isPrdStage = (stage: string) => stage === 'prd'
|
|
181
183
|
|
|
182
184
|
/**
|
|
183
|
-
* @category
|
|
185
|
+
* @category cdk-utils.utils
|
|
184
186
|
* @param error
|
|
185
187
|
*/
|
|
186
188
|
export function redirectError(error: any) {
|
|
@@ -192,7 +194,7 @@ export function redirectError(error: any) {
|
|
|
192
194
|
}
|
|
193
195
|
|
|
194
196
|
/**
|
|
195
|
-
* @category
|
|
197
|
+
* @category cdk-utils.utils
|
|
196
198
|
* @param message
|
|
197
199
|
*/
|
|
198
200
|
export function redirectSuccess(message: any) {
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "yarn package:function && yarn copy:layers",
|
|
16
16
|
"copy:layers": "cp -R layers ../../dist/app/api-destined-function",
|
|
17
|
-
"init": "yarn install",
|
|
18
17
|
"package:function": "mkdirp layers/nodejs && cp -R package.json layers/nodejs && cd layers/nodejs && yarn install --production --no-lockfile",
|
|
19
18
|
"start": "node dist/index",
|
|
20
19
|
"test": "npx jest --ci --runInBand --passWithNoTests"
|
|
Binary file
|
package/img/logo.png
ADDED
|
Binary file
|
package/lerna.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradientedge/cdk-utils",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.4",
|
|
4
4
|
"description": "Utilities for AWS CDK provisioning",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"engines": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"docs": "rimraf api-docs && npx jsdoc --pedantic -c jsdoc.json .",
|
|
32
32
|
"lint": "yarn prettify && eslint **/*.ts --max-warnings=0",
|
|
33
33
|
"fix": "yarn prettify && eslint --fix **/*.ts",
|
|
34
|
-
"postinstall": "npx lerna
|
|
34
|
+
"postinstall": "npx lerna bootstrap && yarn build",
|
|
35
35
|
"prettier": "npx prettier --check \"**/*.{ts,json,md}\"",
|
|
36
36
|
"prettify": "npx prettier --write \"**/*.{ts,json,md}\"",
|
|
37
37
|
"test": "rimraf coverage && npx jest --ci --runInBand",
|
|
@@ -45,49 +45,49 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@aws-cdk/aws-lambda-python-alpha": "2.10.0-alpha.0",
|
|
47
47
|
"@types/lodash": "^4.14.178",
|
|
48
|
-
"@types/node": "^17.0.
|
|
48
|
+
"@types/node": "^17.0.16",
|
|
49
49
|
"app-root-path": "^3.0.0",
|
|
50
50
|
"aws-cdk-lib": "^2.10.0",
|
|
51
|
-
"aws-sdk": "^2.
|
|
52
|
-
"constructs": "^10.0.
|
|
51
|
+
"aws-sdk": "^2.1070.0",
|
|
52
|
+
"constructs": "^10.0.55",
|
|
53
|
+
"lerna": "^4.0.0",
|
|
53
54
|
"lodash": "^4.17.21",
|
|
54
55
|
"moment": "^2.29.1",
|
|
55
56
|
"nconf": "^0.11.3",
|
|
56
57
|
"pluralize": "^8.0.0",
|
|
57
|
-
"
|
|
58
|
+
"rimraf": "^3.0.2",
|
|
59
|
+
"ts-node": "^10.5.0"
|
|
58
60
|
},
|
|
59
61
|
"devDependencies": {
|
|
60
62
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
61
63
|
"@types/jest": "^27.4.0",
|
|
62
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
63
|
-
"@typescript-eslint/parser": "^5.
|
|
64
|
+
"@typescript-eslint/eslint-plugin": "^5.11.0",
|
|
65
|
+
"@typescript-eslint/parser": "^5.11.0",
|
|
64
66
|
"aws-cdk": "*",
|
|
65
67
|
"babel-eslint": "^10.1.0",
|
|
66
68
|
"better-docs": "^2.7.1",
|
|
67
69
|
"codecov": "^3.8.3",
|
|
68
70
|
"commitizen": "^4.2.4",
|
|
69
|
-
"dotenv": "^
|
|
71
|
+
"dotenv": "^16.0.0",
|
|
70
72
|
"eslint": "^8.8.0",
|
|
71
73
|
"eslint-config-prettier": "^8.3.0",
|
|
72
74
|
"eslint-plugin-import": "^2.25.4",
|
|
73
75
|
"husky": "^7.0.4",
|
|
74
|
-
"jest": "^27.
|
|
76
|
+
"jest": "^27.5.0",
|
|
75
77
|
"jest-extended": "^2.0.0",
|
|
76
78
|
"jest-junit": "^13.0.0",
|
|
77
79
|
"jsdoc": "^3.6.10",
|
|
78
80
|
"jsdoc-babel": "^0.5.0",
|
|
79
81
|
"jsdoc-mermaid": "^1.0.0",
|
|
80
|
-
"lerna": "^4.0.0",
|
|
81
82
|
"prettier": "^2.5.1",
|
|
82
83
|
"prettier-plugin-organize-imports": "^2.3.4",
|
|
83
|
-
"rimraf": "^3.0.2",
|
|
84
84
|
"semantic-release": "^19.0.2",
|
|
85
85
|
"ts-jest": "^27.1.3",
|
|
86
|
-
"ts-node": "^10.
|
|
86
|
+
"ts-node": "^10.5.0",
|
|
87
87
|
"typescript": "4.5.5"
|
|
88
88
|
},
|
|
89
89
|
"optionalDependencies": {
|
|
90
|
-
"@babel/core": "^7.
|
|
90
|
+
"@babel/core": "^7.17.0",
|
|
91
91
|
"prop-types": "^15.8.1",
|
|
92
92
|
"react": "^17.0.2",
|
|
93
93
|
"react-dom": "^17.0.2"
|
package/src/lib/common/stack.ts
CHANGED
|
@@ -4,7 +4,8 @@ import * as types from '../../types/aws'
|
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @stability stable
|
|
7
|
-
* @category
|
|
7
|
+
* @category cdk-utils.api-to-eventbridge-target
|
|
8
|
+
* @subcategory member
|
|
8
9
|
* @classdesc Provides a construct to contain event resources for ApiToEventBridgeTarget
|
|
9
10
|
*/
|
|
10
11
|
export class ApiDestinationEvent implements types.ApiDestinationEventType {
|
|
@@ -5,7 +5,8 @@ import * as types from '../../types/aws'
|
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @stability stable
|
|
8
|
-
* @category
|
|
8
|
+
* @category cdk-utils.api-to-eventbridge-target
|
|
9
|
+
* @subcategory member
|
|
9
10
|
* @classdesc Provides a construct to contain lambda resources for ApiToEventBridgeTarget
|
|
10
11
|
*/
|
|
11
12
|
export class ApiDestinedLambda implements types.ApiDestinedLambdaType {
|
|
@@ -7,7 +7,8 @@ import * as types from '../../types/aws'
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @stability stable
|
|
10
|
-
* @category
|
|
10
|
+
* @category cdk-utils.api-to-eventbridge-target
|
|
11
|
+
* @subcategory member
|
|
11
12
|
* @classdesc Provides a construct to contain api resources for ApiToEventBridgeTarget
|
|
12
13
|
*/
|
|
13
14
|
export class ApiDestinedRestApi implements types.ApiDestinedRestApiType {
|
|
@@ -13,7 +13,8 @@ import { ApiDestinedRestApi } from './api-destined-rest-api'
|
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* @stability stable
|
|
16
|
-
* @category
|
|
16
|
+
* @category cdk-utils.api-to-eventbridge-target
|
|
17
|
+
* @subcategory construct
|
|
17
18
|
* @classdesc Provides a construct to create and deploy API Gateway invocations to EventBridge
|
|
18
19
|
*
|
|
19
20
|
* <b>Architecture</b> 
|
|
@@ -10,7 +10,8 @@ import { GraphQlApiLambdaEnvironment, GraphQlApiLambdaProps } from '../../types'
|
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* @stability stable
|
|
13
|
-
* @category
|
|
13
|
+
* @category cdk-utils.graphql-api-lambda
|
|
14
|
+
* @subcategory construct
|
|
14
15
|
* @classdesc Provides a construct to create and deploy a Graphql API as Lambda
|
|
15
16
|
*
|
|
16
17
|
* <b>Architecture</b> 
|
|
@@ -17,7 +17,8 @@ import { SiteWithEcsBackendProps } from '../../types'
|
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* @stability stable
|
|
20
|
-
* @category
|
|
20
|
+
* @category cdk-utils.site-with-ecs-backend
|
|
21
|
+
* @subcategory construct
|
|
21
22
|
* @classdesc Provides a construct to create and deploy a site hosted with an clustered ECS/ELB backend
|
|
22
23
|
*
|
|
23
24
|
* @example
|
|
@@ -44,7 +45,7 @@ export class SiteWithEcsBackend extends CommonConstruct {
|
|
|
44
45
|
siteEcsPolicy: iam.PolicyDocument
|
|
45
46
|
siteEcsRole: iam.Role
|
|
46
47
|
siteEcsEnvironment: { [key: string]: string }
|
|
47
|
-
siteVpc: ec2.
|
|
48
|
+
siteVpc: ec2.IVpc
|
|
48
49
|
siteSecrets: any
|
|
49
50
|
siteEcsCluster: ecs.Cluster
|
|
50
51
|
siteEcsLogGroup: logs.LogGroup
|
|
@@ -9,7 +9,8 @@ import { StaticSiteProps } from '../../types'
|
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @stability stable
|
|
12
|
-
* @category
|
|
12
|
+
* @category cdk-utils.static-site
|
|
13
|
+
* @subcategory construct
|
|
13
14
|
* @classdesc Provides a construct to create and deploy a s3 hosted static site
|
|
14
15
|
*
|
|
15
16
|
* @example
|
|
@@ -7,7 +7,8 @@ import * as utils from '../../utils'
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @stability stable
|
|
10
|
-
* @category
|
|
10
|
+
* @category cdk-utils.acm-manager
|
|
11
|
+
* @subcategory Construct
|
|
11
12
|
* @classdesc Provides operations on AWS Certificates.
|
|
12
13
|
* - A new instance of this class is injected into {@link common.CommonConstruct} constructor.
|
|
13
14
|
* - If a custom construct extends {@link common.CommonConstruct}, an instance is available within the context.
|
|
@@ -6,7 +6,8 @@ import * as utils from '../../utils'
|
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @stability stable
|
|
9
|
-
* @category
|
|
9
|
+
* @category cdk-utils.api-manager
|
|
10
|
+
* @subcategory Construct
|
|
10
11
|
* @classdesc Provides operations on AWS API Gateway.
|
|
11
12
|
* - A new instance of this class is injected into {@link common.CommonConstruct} constructor.
|
|
12
13
|
* - If a custom construct extends {@link common.CommonConstruct}, an instance is available within the context.
|
|
@@ -6,7 +6,8 @@ import * as utils from '../../utils'
|
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @stability stable
|
|
9
|
-
* @category
|
|
9
|
+
* @category cdk-utils.app-config-manager
|
|
10
|
+
* @subcategory Construct
|
|
10
11
|
* @returns { Map<string, string> } ArnsByRegion
|
|
11
12
|
*/
|
|
12
13
|
export const ArnsByRegion: { [key: string]: string } = {
|
|
@@ -33,7 +34,8 @@ export const ArnsByRegion: { [key: string]: string } = {
|
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
/**
|
|
36
|
-
* @category
|
|
37
|
+
* @category cdk-utils.app-config-manager
|
|
38
|
+
* @subcategory Construct
|
|
37
39
|
* @classdesc Provides operations on AWS AppConfig.
|
|
38
40
|
* - A new instance of this class is injected into {@link common.CommonConstruct} constructor.
|
|
39
41
|
* - If a custom construct extends {@link common.CommonConstruct}, an instance is available within the context.
|
|
@@ -13,7 +13,8 @@ import * as utils from '../../utils'
|
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* @stability stable
|
|
16
|
-
* @category
|
|
16
|
+
* @category cdk-utils.cloudfront-manager
|
|
17
|
+
* @subcategory Construct
|
|
17
18
|
* @classdesc Provides operations on AWS CloudFront.
|
|
18
19
|
* - A new instance of this class is injected into {@link common.CommonConstruct} constructor.
|
|
19
20
|
* - If a custom construct extends {@link common.CommonConstruct}, an instance is available within the context.
|
|
@@ -7,7 +7,8 @@ import * as utils from '../../utils'
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @stability stable
|
|
10
|
-
* @category
|
|
10
|
+
* @category cdk-utils.cloudtrail-manager
|
|
11
|
+
* @subcategory Construct
|
|
11
12
|
* @classdesc Provides operations on AWS CloudTrail.
|
|
12
13
|
* - A new instance of this class is injected into {@link common.CommonConstruct} constructor.
|
|
13
14
|
* - If a custom construct extends {@link common.CommonConstruct}, an instance is available within the context.
|
|
@@ -6,7 +6,8 @@ import * as types from '../../types'
|
|
|
6
6
|
import * as utils from '../../utils'
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* @category
|
|
9
|
+
* @category cdk-utils.cloudwatch-manager
|
|
10
|
+
* @subcategory Construct
|
|
10
11
|
*/
|
|
11
12
|
enum CloudWatchWidgetType {
|
|
12
13
|
Text = 'Text',
|
|
@@ -18,7 +19,8 @@ enum CloudWatchWidgetType {
|
|
|
18
19
|
|
|
19
20
|
/**
|
|
20
21
|
* @stability stable
|
|
21
|
-
* @category
|
|
22
|
+
* @category cdk-utils.cloudwatch-manager
|
|
23
|
+
* @subcategory Construct
|
|
22
24
|
* @classdesc Provides operations on AWS CloudWatch.
|
|
23
25
|
* - A new instance of this class is injected into {@link common.CommonConstruct} constructor.
|
|
24
26
|
* - If a custom construct extends {@link common.CommonConstruct}, an instance is available within the context.
|
|
@@ -4,7 +4,8 @@ import * as common from '../../common'
|
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @stability stable
|
|
7
|
-
* @category
|
|
7
|
+
* @category cdk-utils.codebuild-manager
|
|
8
|
+
* @subcategory Construct
|
|
8
9
|
* @classdesc Provides operations on AWS Code Build.
|
|
9
10
|
* - A new instance of this class is injected into {@link common.CommonConstruct} constructor.
|
|
10
11
|
* - If a custom construct extends {@link common.CommonConstruct}, an instance is available within the context.
|
|
@@ -5,7 +5,8 @@ import * as utils from '../../utils'
|
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @stability stable
|
|
8
|
-
* @category
|
|
8
|
+
* @category cdk-utils.dynamodb-manager
|
|
9
|
+
* @subcategory Construct
|
|
9
10
|
* @classdesc Provides operations on AWS DynamoDB.
|
|
10
11
|
* - A new instance of this class is injected into {@link common.CommonConstruct} constructor.
|
|
11
12
|
* - If a custom construct extends {@link common.CommonConstruct}, an instance is available within the context.
|
|
@@ -4,7 +4,8 @@ import * as utils from '../../utils'
|
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @stability stable
|
|
7
|
-
* @category
|
|
7
|
+
* @category cdk-utils.ecr-manager
|
|
8
|
+
* @subcategory Construct
|
|
8
9
|
* @classdesc Provides operations on AWS Elastic Container Registry.
|
|
9
10
|
* - A new instance of this class is injected into {@link common.CommonConstruct} constructor.
|
|
10
11
|
* - If a custom construct extends {@link common.CommonConstruct}, an instance is available within the context.
|
|
@@ -8,7 +8,8 @@ import * as utils from '../../utils'
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @stability stable
|
|
11
|
-
* @category
|
|
11
|
+
* @category cdk-utils.ecs-manager
|
|
12
|
+
* @subcategory Construct
|
|
12
13
|
* @classdesc Provides operations on AWS Elastic Container Service.
|
|
13
14
|
* - A new instance of this class is injected into {@link common.CommonConstruct} constructor.
|
|
14
15
|
* - If a custom construct extends {@link common.CommonConstruct}, an instance is available within the context.
|
|
@@ -7,7 +7,8 @@ import * as utils from '../../utils'
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @stability stable
|
|
10
|
-
* @category
|
|
10
|
+
* @category cdk-utils.eks-manager
|
|
11
|
+
* @subcategory Construct
|
|
11
12
|
* @classdesc Provides operations on AWS Elastic Kubernetes Service.
|
|
12
13
|
* - A new instance of this class is injected into {@link common.CommonConstruct} constructor.
|
|
13
14
|
* - If a custom construct extends {@link common.CommonConstruct}, an instance is available within the context.
|
|
@@ -8,7 +8,8 @@ import * as utils from '../../utils'
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @stability stable
|
|
11
|
-
* @category
|
|
11
|
+
* @category cdk-utils.event-manager
|
|
12
|
+
* @subcategory Construct
|
|
12
13
|
* @classdesc Provides operations on AWS EventBridge.
|
|
13
14
|
* - A new instance of this class is injected into {@link common.CommonConstruct} constructor.
|
|
14
15
|
* - If a custom construct extends {@link common.CommonConstruct}, an instance is available within the context.
|
|
@@ -8,7 +8,8 @@ import * as utils from '../../utils'
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @stability stable
|
|
11
|
-
* @category
|
|
11
|
+
* @category cdk-utils.iam-manager
|
|
12
|
+
* @subcategory Construct
|
|
12
13
|
* @classdesc Provides operations on AWS IAM.
|
|
13
14
|
* - A new instance of this class is injected into {@link common.CommonConstruct} constructor.
|
|
14
15
|
* - If a custom construct extends {@link common.CommonConstruct}, an instance is available within the context.
|
|
@@ -11,7 +11,8 @@ import { CloudFrontManager } from './cloudfront-manager'
|
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* @stability stable
|
|
14
|
-
* @category
|
|
14
|
+
* @category cdk-utils.lambda-manager
|
|
15
|
+
* @subcategory Construct
|
|
15
16
|
* @classdesc Provides operations on AWS Lambda.
|
|
16
17
|
* - A new instance of this class is injected into {@link common.CommonConstruct} constructor.
|
|
17
18
|
* - If a custom construct extends {@link common.CommonConstruct}, an instance is available within the context.
|
|
@@ -6,7 +6,8 @@ import * as utils from '../../utils'
|
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @stability stable
|
|
9
|
-
* @category
|
|
9
|
+
* @category cdk-utils.cloudwatch-manager
|
|
10
|
+
* @subcategory Construct
|
|
10
11
|
* @classdesc Provides operations on AWS CloudWatch.
|
|
11
12
|
* - A new instance of this class is injected into {@link common.CommonConstruct} constructor.
|
|
12
13
|
* - If a custom construct extends {@link common.CommonConstruct}, an instance is available within the context.
|
|
@@ -8,7 +8,8 @@ import * as utils from '../../utils'
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @stability stable
|
|
11
|
-
* @category
|
|
11
|
+
* @category cdk-utils.route53-manager
|
|
12
|
+
* @subcategory Construct
|
|
12
13
|
* @classdesc Provides operations on AWS Route53.
|
|
13
14
|
* - A new instance of this class is injected into {@link common.CommonConstruct} constructor.
|
|
14
15
|
* - If a custom construct extends {@link common.CommonConstruct}, an instance is available within the context.
|
|
@@ -9,7 +9,8 @@ import * as utils from '../../utils'
|
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @stability stable
|
|
12
|
-
* @category
|
|
12
|
+
* @category cdk-utils.s3-manager
|
|
13
|
+
* @subcategory Construct
|
|
13
14
|
* @classdesc Provides operations on AWS S3.
|
|
14
15
|
* - A new instance of this class is injected into {@link common.CommonConstruct} constructor.
|
|
15
16
|
* - If a custom construct extends {@link common.CommonConstruct}, an instance is available within the context.
|
|
@@ -7,7 +7,8 @@ const fs = require('fs')
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @stability experimental
|
|
10
|
-
* @category
|
|
10
|
+
* @category cdk-utils.secrets-manager
|
|
11
|
+
* @subcategory Construct
|
|
11
12
|
* @classdesc Provides operations on AWS Secrets Manager.
|
|
12
13
|
* - A new instance of this class is injected into {@link common.CommonConstruct} constructor.
|
|
13
14
|
* - If a custom construct extends {@link common.CommonConstruct}, an instance is available within the context.
|
|
@@ -7,7 +7,8 @@ import * as utils from '../../utils'
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @stability stable
|
|
10
|
-
* @category
|
|
10
|
+
* @category cdk-utils.sns-manager
|
|
11
|
+
* @subcategory Construct
|
|
11
12
|
* @classdesc Provides operations on AWS Simple Notification Service.
|
|
12
13
|
* - A new instance of this class is injected into {@link common.CommonConstruct} constructor.
|
|
13
14
|
* - If a custom construct extends {@link common.CommonConstruct}, an instance is available within the context.
|
|
@@ -6,7 +6,8 @@ import * as utils from '../../utils'
|
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @stability stable
|
|
9
|
-
* @category
|
|
9
|
+
* @category cdk-utils.ssm-manager
|
|
10
|
+
* @subcategory Construct
|
|
10
11
|
* @classdesc Provides operations on AWS Systems Manager.
|
|
11
12
|
* - A new instance of this class is injected into {@link common.CommonConstruct} constructor.
|
|
12
13
|
* - If a custom construct extends {@link common.CommonConstruct}, an instance is available within the context.
|
|
@@ -81,7 +82,8 @@ export class SsmManager {
|
|
|
81
82
|
}
|
|
82
83
|
|
|
83
84
|
/**
|
|
84
|
-
* @category
|
|
85
|
+
* @category cdk-utils.ssm-manager
|
|
86
|
+
* @subcategory Construct
|
|
85
87
|
* @classdesc Provides utilities to read same/cross region SSM parameters
|
|
86
88
|
*/
|
|
87
89
|
export class SSMParameterReader extends cr.AwsCustomResource {
|