@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
|
@@ -5,12 +5,14 @@ import * as utils from '../../utils'
|
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @stability stable
|
|
8
|
-
* @category
|
|
8
|
+
* @category cdk-utils.vpc-manager
|
|
9
|
+
* @subcategory Construct
|
|
9
10
|
*/
|
|
10
11
|
const CommonVpcIdentifier = 'CommonVpc'
|
|
11
12
|
|
|
12
13
|
/**
|
|
13
|
-
* @category
|
|
14
|
+
* @category cdk-utils.vpc-manager
|
|
15
|
+
* @subcategory Construct
|
|
14
16
|
* @classdesc Provides operations on AWS VPC.
|
|
15
17
|
* - A new instance of this class is injected into {@link common.CommonConstruct} constructor.
|
|
16
18
|
* - If a custom construct extends {@link common.CommonConstruct}, an instance is available within the context.
|
|
@@ -76,8 +78,9 @@ export class VpcManager {
|
|
|
76
78
|
* @summary Method to retrieve a common vpc
|
|
77
79
|
* @param {string} id scoped id of the resource
|
|
78
80
|
* @param {common.CommonConstruct} scope scope in which this resource is defined
|
|
81
|
+
* @param {string?} vpcIdentifier optional identifier for VPC
|
|
79
82
|
*/
|
|
80
|
-
public retrieveCommonVpc(id: string, scope: common.CommonConstruct) {
|
|
81
|
-
return ec2.Vpc.fromLookup(scope, `${id}`, { vpcName: CommonVpcIdentifier })
|
|
83
|
+
public retrieveCommonVpc(id: string, scope: common.CommonConstruct, vpcIdentifier?: string) {
|
|
84
|
+
return ec2.Vpc.fromLookup(scope, `${id}`, { vpcName: vpcIdentifier ?? CommonVpcIdentifier })
|
|
82
85
|
}
|
|
83
86
|
}
|
|
@@ -5,7 +5,8 @@ import * as utils from '../../utils'
|
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @stability stable
|
|
8
|
-
* @category
|
|
8
|
+
* @category cdk-utils.waf-manager
|
|
9
|
+
* @subcategory Construct
|
|
9
10
|
* @classdesc Provides operations on AWS WAF.
|
|
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.
|
|
@@ -24,7 +24,8 @@ import * as wafv2 from 'aws-cdk-lib/aws-wafv2'
|
|
|
24
24
|
import * as types from '../index'
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
* @category
|
|
27
|
+
* @category cdk-utils.app-config-manager
|
|
28
|
+
* @subcategory Properties
|
|
28
29
|
*/
|
|
29
30
|
export interface AppConfigProps {
|
|
30
31
|
id: string
|
|
@@ -36,7 +37,8 @@ export interface AppConfigProps {
|
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
/**
|
|
39
|
-
* @category
|
|
40
|
+
* @category cdk-utils.common-stack
|
|
41
|
+
* @subcategory Properties
|
|
40
42
|
*/
|
|
41
43
|
export interface CommonStackProps extends cdk.StackProps {
|
|
42
44
|
name: string
|
|
@@ -49,7 +51,8 @@ export interface CommonStackProps extends cdk.StackProps {
|
|
|
49
51
|
}
|
|
50
52
|
|
|
51
53
|
/**
|
|
52
|
-
* @category
|
|
54
|
+
* @category cdk-utils.site-with-ecs-backend
|
|
55
|
+
* @subcategory Properties
|
|
53
56
|
*/
|
|
54
57
|
export interface SiteWithEcsBackendProps extends CommonStackProps {
|
|
55
58
|
siteCacheInvalidationDockerFilePath?: string
|
|
@@ -73,7 +76,8 @@ export interface SiteWithEcsBackendProps extends CommonStackProps {
|
|
|
73
76
|
}
|
|
74
77
|
|
|
75
78
|
/**
|
|
76
|
-
* @category
|
|
79
|
+
* @category cdk-utils.static-site
|
|
80
|
+
* @subcategory Properties
|
|
77
81
|
*/
|
|
78
82
|
export interface StaticSiteProps extends CommonStackProps {
|
|
79
83
|
siteCreateAltARecord: boolean
|
|
@@ -95,7 +99,8 @@ export interface StaticSiteProps extends CommonStackProps {
|
|
|
95
99
|
}
|
|
96
100
|
|
|
97
101
|
/**
|
|
98
|
-
* @category
|
|
102
|
+
* @category cdk-utils.site-with-ecs-backend
|
|
103
|
+
* @subcategory Properties
|
|
99
104
|
*/
|
|
100
105
|
export interface HealthCheck extends elb.HealthCheck {
|
|
101
106
|
intervalInSecs: number
|
|
@@ -103,7 +108,8 @@ export interface HealthCheck extends elb.HealthCheck {
|
|
|
103
108
|
}
|
|
104
109
|
|
|
105
110
|
/**
|
|
106
|
-
* @category
|
|
111
|
+
* @category cdk-utils.lambda-manager
|
|
112
|
+
* @subcategory Types
|
|
107
113
|
*/
|
|
108
114
|
export interface LambdaEnvironment {
|
|
109
115
|
NODE_ENV: string
|
|
@@ -112,19 +118,22 @@ export interface LambdaEnvironment {
|
|
|
112
118
|
}
|
|
113
119
|
|
|
114
120
|
/**
|
|
115
|
-
* @category
|
|
121
|
+
* @category cdk-utils.api-to-eventbridge-target
|
|
122
|
+
* @subcategory Types
|
|
116
123
|
*/
|
|
117
124
|
export interface ApiDestinedLambdaEnvironment extends LambdaEnvironment {
|
|
118
125
|
SOURCE_ID: string
|
|
119
126
|
}
|
|
120
127
|
|
|
121
128
|
/**
|
|
122
|
-
* @category
|
|
129
|
+
* @category cdk-utils.graphql-api-lambda
|
|
130
|
+
* @subcategory Types
|
|
123
131
|
*/
|
|
124
132
|
export interface GraphQlApiLambdaEnvironment extends LambdaEnvironment {}
|
|
125
133
|
|
|
126
134
|
/**
|
|
127
|
-
* @category
|
|
135
|
+
* @category cdk-utils.graphql-api-lambda
|
|
136
|
+
* @subcategory Properties
|
|
128
137
|
*/
|
|
129
138
|
export interface GraphQlApiLambdaProps extends CommonStackProps {
|
|
130
139
|
apiRootPaths?: string[]
|
|
@@ -142,7 +151,8 @@ export interface GraphQlApiLambdaProps extends CommonStackProps {
|
|
|
142
151
|
}
|
|
143
152
|
|
|
144
153
|
/**
|
|
145
|
-
* @category
|
|
154
|
+
* @category cdk-utils.api-to-eventbridge-target
|
|
155
|
+
* @subcategory Types
|
|
146
156
|
*/
|
|
147
157
|
export interface ApiDestinationEventType {
|
|
148
158
|
eventBus: events.IEventBus
|
|
@@ -153,8 +163,8 @@ export interface ApiDestinationEventType {
|
|
|
153
163
|
}
|
|
154
164
|
|
|
155
165
|
/**
|
|
156
|
-
|
|
157
|
-
* @
|
|
166
|
+
* @category cdk-utils.api-to-eventbridge-target
|
|
167
|
+
* @subcategory Types
|
|
158
168
|
*/
|
|
159
169
|
export interface ApiDestinedRestApiType {
|
|
160
170
|
api: apig.RestApi
|
|
@@ -177,8 +187,8 @@ export interface ApiDestinedRestApiType {
|
|
|
177
187
|
}
|
|
178
188
|
|
|
179
189
|
/**
|
|
180
|
-
|
|
181
|
-
* @
|
|
190
|
+
* @category cdk-utils.api-to-eventbridge-target
|
|
191
|
+
* @subcategory Types
|
|
182
192
|
*/
|
|
183
193
|
export interface ApiDestinedLambdaType {
|
|
184
194
|
destinationFailure: destinations.EventBridgeDestination
|
|
@@ -190,6 +200,10 @@ export interface ApiDestinedLambdaType {
|
|
|
190
200
|
role: iam.Role
|
|
191
201
|
}
|
|
192
202
|
|
|
203
|
+
/**
|
|
204
|
+
* @category cdk-utils.api-to-eventbridge-target
|
|
205
|
+
* @subcategory Properties
|
|
206
|
+
*/
|
|
193
207
|
export interface ApiToEventBridgeTargetRestApiProps {
|
|
194
208
|
certificate: AcmProps
|
|
195
209
|
integrationResponse?: apig.IntegrationResponse
|
|
@@ -204,7 +218,8 @@ export interface ApiToEventBridgeTargetRestApiProps {
|
|
|
204
218
|
}
|
|
205
219
|
|
|
206
220
|
/**
|
|
207
|
-
* @category
|
|
221
|
+
* @category cdk-utils.api-to-eventbridge-target
|
|
222
|
+
* @subcategory Properties
|
|
208
223
|
*/
|
|
209
224
|
interface ApiToEventBridgeTargetLambdaProps {
|
|
210
225
|
useNative?: boolean
|
|
@@ -214,7 +229,8 @@ interface ApiToEventBridgeTargetLambdaProps {
|
|
|
214
229
|
}
|
|
215
230
|
|
|
216
231
|
/**
|
|
217
|
-
* @category
|
|
232
|
+
* @category cdk-utils.api-to-eventbridge-target
|
|
233
|
+
* @subcategory Properties
|
|
218
234
|
*/
|
|
219
235
|
interface ApiToEventBridgeTargetEventProps {
|
|
220
236
|
eventBusName?: string
|
|
@@ -225,7 +241,8 @@ interface ApiToEventBridgeTargetEventProps {
|
|
|
225
241
|
}
|
|
226
242
|
|
|
227
243
|
/**
|
|
228
|
-
* @category
|
|
244
|
+
* @category cdk-utils.api-to-eventbridge-target
|
|
245
|
+
* @subcategory Properties
|
|
229
246
|
*/
|
|
230
247
|
export interface ApiToEventBridgeTargetProps extends CommonStackProps {
|
|
231
248
|
apiRootPaths?: string[]
|
|
@@ -240,7 +257,8 @@ export interface ApiToEventBridgeTargetProps extends CommonStackProps {
|
|
|
240
257
|
}
|
|
241
258
|
|
|
242
259
|
/**
|
|
243
|
-
* @category
|
|
260
|
+
* @category cdk-utils.acm-manager
|
|
261
|
+
* @subcategory Properties
|
|
244
262
|
*/
|
|
245
263
|
export interface AcmProps extends acm.CertificateProps {
|
|
246
264
|
certificateSsmName?: string
|
|
@@ -252,7 +270,8 @@ export interface AcmProps extends acm.CertificateProps {
|
|
|
252
270
|
}
|
|
253
271
|
|
|
254
272
|
/**
|
|
255
|
-
* @category
|
|
273
|
+
* @category cdk-utils.ssm-manager
|
|
274
|
+
* @subcategory Properties
|
|
256
275
|
*/
|
|
257
276
|
export interface SSMParameterReaderProps {
|
|
258
277
|
parameterName: string
|
|
@@ -260,12 +279,14 @@ export interface SSMParameterReaderProps {
|
|
|
260
279
|
}
|
|
261
280
|
|
|
262
281
|
/**
|
|
263
|
-
* @category
|
|
282
|
+
* @category cdk-utils.cloudfront-manager
|
|
283
|
+
* @subcategory Properties
|
|
264
284
|
*/
|
|
265
285
|
export interface CloudFrontProps extends cloudfront.CloudFrontWebDistributionProps {}
|
|
266
286
|
|
|
267
287
|
/**
|
|
268
|
-
* @category
|
|
288
|
+
* @category cdk-utils.cloudfront-manager
|
|
289
|
+
* @subcategory Properties
|
|
269
290
|
*/
|
|
270
291
|
export interface CloudfrontFunctionProps extends cloudfront.FunctionProps {
|
|
271
292
|
functionFilePath: string
|
|
@@ -273,17 +294,20 @@ export interface CloudfrontFunctionProps extends cloudfront.FunctionProps {
|
|
|
273
294
|
}
|
|
274
295
|
|
|
275
296
|
/**
|
|
276
|
-
* @category
|
|
297
|
+
* @category cdk-utils.cloudfront-manager
|
|
298
|
+
* @subcategory Properties
|
|
277
299
|
*/
|
|
278
300
|
export interface DistributionProps extends cloudfront.DistributionProps {}
|
|
279
301
|
|
|
280
302
|
/**
|
|
281
|
-
* @category
|
|
303
|
+
* @category cdk-utils.cloudtrail-manager
|
|
304
|
+
* @subcategory Properties
|
|
282
305
|
*/
|
|
283
306
|
export interface CloudTrailProps extends cloudtrail.CfnTrailProps {}
|
|
284
307
|
|
|
285
308
|
/**
|
|
286
|
-
* @category
|
|
309
|
+
* @category cdk-utils.cloudwatch-manager
|
|
310
|
+
* @subcategory Properties
|
|
287
311
|
*/
|
|
288
312
|
export interface DashboardProps extends watch.DashboardProps {
|
|
289
313
|
positionX: number
|
|
@@ -291,7 +315,8 @@ export interface DashboardProps extends watch.DashboardProps {
|
|
|
291
315
|
}
|
|
292
316
|
|
|
293
317
|
/**
|
|
294
|
-
* @category
|
|
318
|
+
* @category cdk-utils.cloudwatch-manager
|
|
319
|
+
* @subcategory Properties
|
|
295
320
|
*/
|
|
296
321
|
export interface AlarmProps extends watch.AlarmProps {
|
|
297
322
|
expression?: string
|
|
@@ -300,7 +325,8 @@ export interface AlarmProps extends watch.AlarmProps {
|
|
|
300
325
|
}
|
|
301
326
|
|
|
302
327
|
/**
|
|
303
|
-
* @category
|
|
328
|
+
* @category cdk-utils.cloudwatch-manager
|
|
329
|
+
* @subcategory Properties
|
|
304
330
|
*/
|
|
305
331
|
export interface MetricProps extends watch.MetricProps {
|
|
306
332
|
stageSuffix: boolean
|
|
@@ -310,7 +336,8 @@ export interface MetricProps extends watch.MetricProps {
|
|
|
310
336
|
}
|
|
311
337
|
|
|
312
338
|
/**
|
|
313
|
-
* @category
|
|
339
|
+
* @category cdk-utils.cloudwatch-manager
|
|
340
|
+
* @subcategory Properties
|
|
314
341
|
*/
|
|
315
342
|
export interface TextWidgetProps extends watch.TextWidgetProps {
|
|
316
343
|
positionX: number
|
|
@@ -318,7 +345,8 @@ export interface TextWidgetProps extends watch.TextWidgetProps {
|
|
|
318
345
|
}
|
|
319
346
|
|
|
320
347
|
/**
|
|
321
|
-
* @category
|
|
348
|
+
* @category cdk-utils.cloudwatch-manager
|
|
349
|
+
* @subcategory Properties
|
|
322
350
|
*/
|
|
323
351
|
export interface NumericWidgetProps extends watch.SingleValueWidgetProps {
|
|
324
352
|
positionX: number
|
|
@@ -327,7 +355,8 @@ export interface NumericWidgetProps extends watch.SingleValueWidgetProps {
|
|
|
327
355
|
}
|
|
328
356
|
|
|
329
357
|
/**
|
|
330
|
-
* @category
|
|
358
|
+
* @category cdk-utils.cloudwatch-manager
|
|
359
|
+
* @subcategory Properties
|
|
331
360
|
*/
|
|
332
361
|
export interface GraphWidgetProps extends watch.GraphWidgetProps {
|
|
333
362
|
positionX: number
|
|
@@ -336,7 +365,8 @@ export interface GraphWidgetProps extends watch.GraphWidgetProps {
|
|
|
336
365
|
}
|
|
337
366
|
|
|
338
367
|
/**
|
|
339
|
-
* @category
|
|
368
|
+
* @category cdk-utils.cloudwatch-manager
|
|
369
|
+
* @subcategory Properties
|
|
340
370
|
*/
|
|
341
371
|
export interface AlarmStatusWidgetProps extends watch.AlarmStatusWidgetProps {
|
|
342
372
|
positionX: number
|
|
@@ -345,7 +375,8 @@ export interface AlarmStatusWidgetProps extends watch.AlarmStatusWidgetProps {
|
|
|
345
375
|
}
|
|
346
376
|
|
|
347
377
|
/**
|
|
348
|
-
* @category
|
|
378
|
+
* @category cdk-utils.cloudwatch-manager
|
|
379
|
+
* @subcategory Properties
|
|
349
380
|
*/
|
|
350
381
|
export interface LogQueryWidgetProps extends watch.LogQueryWidgetProps {
|
|
351
382
|
positionX: number
|
|
@@ -353,17 +384,20 @@ export interface LogQueryWidgetProps extends watch.LogQueryWidgetProps {
|
|
|
353
384
|
}
|
|
354
385
|
|
|
355
386
|
/**
|
|
356
|
-
* @category
|
|
387
|
+
* @category cdk-utils.ecs-manager
|
|
388
|
+
* @subcategory Properties
|
|
357
389
|
*/
|
|
358
390
|
export interface EcsClusterProps extends ecs.ClusterProps {}
|
|
359
391
|
|
|
360
392
|
/**
|
|
361
|
-
* @category
|
|
393
|
+
* @category cdk-utils.ecs-manager
|
|
394
|
+
* @subcategory Properties
|
|
362
395
|
*/
|
|
363
396
|
export interface EcsTaskProps extends ecs.TaskDefinitionProps {}
|
|
364
397
|
|
|
365
398
|
/**
|
|
366
|
-
* @category
|
|
399
|
+
* @category cdk-utils.eks-manager
|
|
400
|
+
* @subcategory Properties
|
|
367
401
|
*/
|
|
368
402
|
export interface EksClusterProps extends eks.ClusterProps {
|
|
369
403
|
appContainerPort: number
|
|
@@ -371,41 +405,48 @@ export interface EksClusterProps extends eks.ClusterProps {
|
|
|
371
405
|
}
|
|
372
406
|
|
|
373
407
|
/**
|
|
374
|
-
* @category
|
|
408
|
+
* @category cdk-utils.event-manager
|
|
409
|
+
* @subcategory Properties
|
|
375
410
|
*/
|
|
376
411
|
export interface RuleProps extends events.CfnRuleProps {}
|
|
377
412
|
|
|
378
413
|
/**
|
|
379
|
-
* @category
|
|
414
|
+
* @category cdk-utils.event-manager
|
|
415
|
+
* @subcategory Properties
|
|
380
416
|
*/
|
|
381
417
|
export interface EventRuleProps extends events.RuleProps {}
|
|
382
418
|
|
|
383
419
|
/**
|
|
384
|
-
* @category
|
|
420
|
+
* @category cdk-utils.event-manager
|
|
421
|
+
* @subcategory Properties
|
|
385
422
|
*/
|
|
386
423
|
export interface EventBusProps extends events.EventBusProps {}
|
|
387
424
|
|
|
388
425
|
/**
|
|
389
|
-
* @category
|
|
426
|
+
* @category cdk-utils.lambda-manager
|
|
427
|
+
* @subcategory Properties
|
|
390
428
|
*/
|
|
391
429
|
export interface LambdaProps extends lambda.FunctionProps {
|
|
392
430
|
timeoutInSecs?: number
|
|
393
431
|
}
|
|
394
432
|
|
|
395
433
|
/**
|
|
396
|
-
* @category
|
|
434
|
+
* @category cdk-utils.lambda-manager
|
|
435
|
+
* @subcategory Properties
|
|
397
436
|
*/
|
|
398
437
|
export interface LambdaEdgeProps extends cloudfront.experimental.EdgeFunctionProps {
|
|
399
438
|
timeoutInSecs?: number
|
|
400
439
|
}
|
|
401
440
|
|
|
402
441
|
/**
|
|
403
|
-
* @category
|
|
442
|
+
* @category cdk-utils.cloudwatch-manager
|
|
443
|
+
* @subcategory Properties
|
|
404
444
|
*/
|
|
405
445
|
export interface LogProps extends logs.LogGroupProps {}
|
|
406
446
|
|
|
407
447
|
/**
|
|
408
|
-
* @category
|
|
448
|
+
* @category cdk-utils.cloudwatch-manager
|
|
449
|
+
* @subcategory Properties
|
|
409
450
|
*/
|
|
410
451
|
export interface MetricFilterProps extends logs.MetricFilterProps {
|
|
411
452
|
periodInSecs: number
|
|
@@ -413,24 +454,31 @@ export interface MetricFilterProps extends logs.MetricFilterProps {
|
|
|
413
454
|
}
|
|
414
455
|
|
|
415
456
|
/**
|
|
416
|
-
* @category
|
|
457
|
+
* @category cdk-utils.route53-manager
|
|
458
|
+
* @subcategory Properties
|
|
417
459
|
*/
|
|
418
460
|
export interface Route53Props extends route53.HostedZoneProps {
|
|
419
461
|
useExistingHostedZone?: boolean
|
|
420
462
|
}
|
|
421
463
|
|
|
464
|
+
/**
|
|
465
|
+
* @category cdk-utils.s3-manager
|
|
466
|
+
* @subcategory Properties
|
|
467
|
+
*/
|
|
422
468
|
export interface LifecycleRule extends s3.LifecycleRule {
|
|
423
469
|
expirationInDays?: number
|
|
424
470
|
noncurrentVersionExpirationInDays?: number
|
|
425
471
|
}
|
|
426
472
|
|
|
427
473
|
/**
|
|
428
|
-
* @category
|
|
474
|
+
* @category cdk-utils.dynamodb-manager
|
|
475
|
+
* @subcategory Properties
|
|
429
476
|
*/
|
|
430
477
|
export interface TableProps extends dynamodb.TableProps {}
|
|
431
478
|
|
|
432
479
|
/**
|
|
433
|
-
* @category
|
|
480
|
+
* @category cdk-utils.s3-manager
|
|
481
|
+
* @subcategory Properties
|
|
434
482
|
*/
|
|
435
483
|
export interface S3BucketProps extends s3.BucketProps {
|
|
436
484
|
enableEventBridge?: boolean
|
|
@@ -441,16 +489,19 @@ export interface S3BucketProps extends s3.BucketProps {
|
|
|
441
489
|
}
|
|
442
490
|
|
|
443
491
|
/**
|
|
444
|
-
* @category
|
|
492
|
+
* @category cdk-utils.sns-manager
|
|
493
|
+
* @subcategory Properties
|
|
445
494
|
*/
|
|
446
495
|
export interface SubscriptionProps extends sns.TopicProps {}
|
|
447
496
|
|
|
448
497
|
/**
|
|
449
|
-
* @category
|
|
498
|
+
* @category cdk-utils.waf-manager
|
|
499
|
+
* @subcategory Properties
|
|
450
500
|
*/
|
|
451
501
|
export interface WafIPSetProps extends wafv2.CfnIPSetProps {}
|
|
452
502
|
|
|
453
503
|
/**
|
|
454
|
-
* @category
|
|
504
|
+
* @category cdk-utils.waf-manager
|
|
505
|
+
* @subcategory Properties
|
|
455
506
|
*/
|
|
456
507
|
export interface WafWebACLProps extends wafv2.CfnWebACLProps {}
|
|
@@ -3,7 +3,7 @@ import * as _ from 'lodash'
|
|
|
3
3
|
import { CommonConstruct } from '../../common'
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* @category
|
|
6
|
+
* @category cdk-utils.utils
|
|
7
7
|
* @summary Helper method to add CloudFormation outputs from the construct
|
|
8
8
|
* @param {string} id scoped id of the resource
|
|
9
9
|
* @param {CommonConstruct} scope scope in which this resource is defined
|
package/src/lib/utils/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from './aws'
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* @category
|
|
4
|
+
* @category cdk-utils.utils
|
|
5
5
|
*/
|
|
6
6
|
const defaultResponseObject = {
|
|
7
7
|
statusCode: 200,
|
|
@@ -13,8 +13,7 @@ const defaultResponseObject = {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* @category
|
|
17
|
-
* LogLevel enumeration
|
|
16
|
+
* @category cdk-utils.utils
|
|
18
17
|
*/
|
|
19
18
|
export enum LogLevel {
|
|
20
19
|
DEBUG = 'DEBUG',
|
|
@@ -26,28 +25,28 @@ export enum LogLevel {
|
|
|
26
25
|
}
|
|
27
26
|
|
|
28
27
|
/**
|
|
29
|
-
* @category
|
|
28
|
+
* @category cdk-utils.utils
|
|
30
29
|
* @param stage
|
|
31
30
|
*/
|
|
32
31
|
export const isDevStage = (stage: string) => stage === 'dev'
|
|
33
32
|
/**
|
|
34
|
-
* @category
|
|
33
|
+
* @category cdk-utils.utils
|
|
35
34
|
* @param stage
|
|
36
35
|
*/
|
|
37
36
|
export const isTestStage = (stage: string) => stage === 'tst'
|
|
38
37
|
/**
|
|
39
|
-
* @category
|
|
38
|
+
* @category cdk-utils.utils
|
|
40
39
|
* @param stage
|
|
41
40
|
*/
|
|
42
41
|
export const isUatStage = (stage: string) => stage === 'uat'
|
|
43
42
|
/**
|
|
44
|
-
* @category
|
|
43
|
+
* @category cdk-utils.utils
|
|
45
44
|
* @param stage
|
|
46
45
|
*/
|
|
47
46
|
export const isPrdStage = (stage: string) => stage === 'prd'
|
|
48
47
|
|
|
49
48
|
/**
|
|
50
|
-
* @category
|
|
49
|
+
* @category cdk-utils.utils
|
|
51
50
|
* @param error
|
|
52
51
|
*/
|
|
53
52
|
export function redirectError(error: any) {
|
|
@@ -59,7 +58,7 @@ export function redirectError(error: any) {
|
|
|
59
58
|
}
|
|
60
59
|
|
|
61
60
|
/**
|
|
62
|
-
* @category
|
|
61
|
+
* @category cdk-utils.utils
|
|
63
62
|
* @param message
|
|
64
63
|
*/
|
|
65
64
|
export function redirectSuccess(message: any) {
|
package/theme/styles.css
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
body {
|
|
2
|
+
font-family: Gotham, system-ui;
|
|
3
|
+
!important;
|
|
4
|
+
color: #fff !important;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
h1, h2, h3, h4, h5, h6 p, strong, span {
|
|
8
|
+
color: #fff !important;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.table {
|
|
12
|
+
background-color: rgb(35, 48, 68);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
th, td, code {
|
|
16
|
+
color: #fff !important;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.param-type, .tag:not(body) {
|
|
20
|
+
background-color: rgb(71, 130, 218);
|
|
21
|
+
border-radius: 4px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
a {
|
|
25
|
+
color: #00e7eb !important;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.button {
|
|
29
|
+
background-color: #4782da;
|
|
30
|
+
color: #fff !important;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.mermaid {
|
|
34
|
+
background-color: #fff;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.mermaid span {
|
|
38
|
+
color: #000 !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.top-nav {
|
|
42
|
+
background-color: rgb(35, 48, 68);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
#main, .core, .content {
|
|
46
|
+
background-color: rgb(27, 38, 53) !important;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.sidebar {
|
|
50
|
+
width: 450px !important;
|
|
51
|
+
border-right: none !important;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.side-nav {
|
|
55
|
+
width: 350px !important;
|
|
56
|
+
border-left: none !important;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.category h2 {
|
|
60
|
+
background: rgb(71, 130, 218);
|
|
61
|
+
border-radius: 25px;
|
|
62
|
+
color: #fff !important;
|
|
63
|
+
padding-left: 10px;
|
|
64
|
+
font-weight: bold;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.category h2:before {
|
|
68
|
+
content: '⇝';
|
|
69
|
+
padding-right: 10px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.category h3 {
|
|
73
|
+
font-weight: bold;
|
|
74
|
+
color: #2b74b1;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.sidebar a:hover, .sidebar a.active, .side-nav a:hover, .side-nav a.is-active {
|
|
78
|
+
color: #ffdc7d !important;
|
|
79
|
+
font-weight: bold;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.logo h1 {
|
|
83
|
+
color: #fff;
|
|
84
|
+
font-weight: bold;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.link {
|
|
88
|
+
color: #fff !important;
|
|
89
|
+
font-weight: bold;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.dropdown-content {
|
|
93
|
+
background-color: rgb(27, 38, 53) !important;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
#search {
|
|
97
|
+
background: none;
|
|
98
|
+
color: rgb(238, 238, 238);
|
|
99
|
+
border-color: #999999;
|
|
100
|
+
border-radius: 4px;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
#search::placeholder {
|
|
104
|
+
color: rgb(238, 238, 238);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.logo .image img {
|
|
108
|
+
width: 4% !important;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.logo a {
|
|
112
|
+
display: inline-block;
|
|
113
|
+
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { default as v1 } from './v1.js';
|
|
2
|
-
export { default as v3 } from './v3.js';
|
|
3
|
-
export { default as v4 } from './v4.js';
|
|
4
|
-
export { default as v5 } from './v5.js';
|
|
5
|
-
export { default as NIL } from './nil.js';
|
|
6
|
-
export { default as version } from './version.js';
|
|
7
|
-
export { default as validate } from './validate.js';
|
|
8
|
-
export { default as stringify } from './stringify.js';
|
|
9
|
-
export { default as parse } from './parse.js';
|