@gradientedge/cdk-utils 4.3.1 → 4.4.2
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 +39 -28
- package/api-docs/AcmManager.html +622 -0
- package/api-docs/AcmProps.html +238 -0
- package/api-docs/AlarmProps.html +238 -0
- package/api-docs/AlarmStatusWidgetProps.html +238 -0
- package/api-docs/ApiDestinationEvent.html +297 -0
- package/api-docs/ApiDestinationEventType.html +238 -0
- package/api-docs/ApiDestinedLambda.html +297 -0
- package/api-docs/ApiDestinedLambdaEnvironment.html +238 -0
- package/api-docs/ApiDestinedLambdaType.html +238 -0
- package/api-docs/ApiDestinedRestApi.html +297 -0
- package/api-docs/ApiDestinedRestApiType.html +238 -0
- package/api-docs/ApiManager.html +766 -0
- package/api-docs/ApiToEventBridgeTarget.html +1877 -0
- package/api-docs/ApiToEventBridgeTarget.jpg +0 -0
- package/api-docs/ApiToEventBridgeTargetEventProps.html +238 -0
- package/api-docs/ApiToEventBridgeTargetLambdaProps.html +238 -0
- package/api-docs/ApiToEventBridgeTargetProps.html +238 -0
- package/api-docs/ApiToEventBridgeTargetRestApiProps.html +238 -0
- package/api-docs/AppConfigManager.html +1203 -0
- package/api-docs/AppConfigProps.html +238 -0
- package/api-docs/CloudFrontManager.html +2402 -0
- package/api-docs/CloudFrontProps.html +238 -0
- package/api-docs/CloudTrailManager.html +637 -0
- package/api-docs/CloudTrailProps.html +238 -0
- package/api-docs/CloudWatchManager.html +2986 -0
- package/api-docs/CloudfrontFunctionProps.html +238 -0
- package/api-docs/CodeBuildManager.html +736 -0
- package/api-docs/CommonConstruct.html +1299 -0
- package/api-docs/CommonStack.html +813 -0
- package/api-docs/CommonStackProps.html +238 -0
- package/api-docs/DashboardProps.html +238 -0
- package/api-docs/DistributionProps.html +238 -0
- package/api-docs/DynamodbManager.html +530 -0
- package/api-docs/EcrManager.html +530 -0
- package/api-docs/EcsClusterProps.html +238 -0
- package/api-docs/EcsManager.html +880 -0
- package/api-docs/EcsTaskProps.html +238 -0
- package/api-docs/EksClusterProps.html +238 -0
- package/api-docs/EksManager.html +580 -0
- package/api-docs/EventBusProps.html +238 -0
- package/api-docs/EventManager.html +1454 -0
- package/api-docs/EventRuleProps.html +238 -0
- package/api-docs/GraphQLApiLambda.html +1671 -0
- package/api-docs/GraphQLApiLambda.jpg +0 -0
- package/api-docs/GraphQlApiLambdaEnvironment.html +238 -0
- package/api-docs/GraphQlApiLambdaProps.html +238 -0
- package/api-docs/GraphWidgetProps.html +238 -0
- package/api-docs/HealthCheck.html +238 -0
- package/api-docs/IamManager.html +3821 -0
- package/api-docs/LambdaEdgeProps.html +238 -0
- package/api-docs/LambdaEnvironment.html +238 -0
- package/api-docs/LambdaManager.html +2378 -0
- package/api-docs/LambdaProps.html +238 -0
- package/api-docs/LifecycleRule.html +238 -0
- package/api-docs/LogManager.html +955 -0
- package/api-docs/LogProps.html +238 -0
- package/api-docs/LogQueryWidgetProps.html +238 -0
- package/api-docs/MetricFilterProps.html +238 -0
- package/api-docs/MetricProps.html +238 -0
- package/api-docs/NumericWidgetProps.html +238 -0
- package/api-docs/Route53Manager.html +1460 -0
- package/api-docs/Route53Props.html +238 -0
- package/api-docs/RuleProps.html +238 -0
- package/api-docs/S3BucketProps.html +238 -0
- package/api-docs/S3Manager.html +1546 -0
- package/api-docs/SSMParameterReader.html +431 -0
- package/api-docs/SSMParameterReaderProps.html +238 -0
- package/api-docs/SecretsManager.html +1140 -0
- package/api-docs/SiteWithEcsBackend.html +2391 -0
- package/api-docs/SiteWithEcsBackendProps.html +238 -0
- package/api-docs/SnsManager.html +780 -0
- package/api-docs/SsmManager.html +955 -0
- package/api-docs/StaticSite.html +1358 -0
- package/api-docs/StaticSiteProps.html +238 -0
- package/api-docs/SubscriptionProps.html +238 -0
- package/api-docs/TableProps.html +238 -0
- package/api-docs/TextWidgetProps.html +238 -0
- package/api-docs/VpcManager.html +986 -0
- package/api-docs/WafIPSetProps.html +238 -0
- package/api-docs/WafManager.html +730 -0
- package/api-docs/WafWebACLProps.html +238 -0
- package/api-docs/common_construct.ts.html +279 -0
- package/api-docs/common_stack.ts.html +303 -0
- package/api-docs/construct_api-to-eventbridge-target_api-destination-event.ts.html +175 -0
- package/api-docs/construct_api-to-eventbridge-target_api-destined-lambda.ts.html +178 -0
- package/api-docs/construct_api-to-eventbridge-target_api-destined-rest-api.ts.html +190 -0
- package/api-docs/construct_api-to-eventbridge-target_main.ts.html +751 -0
- package/api-docs/construct_graphql-api-lambda_main.ts.html +408 -0
- package/api-docs/construct_site-with-ecs-backend_main.ts.html +544 -0
- package/api-docs/construct_static-site_main.ts.html +374 -0
- package/api-docs/global.html +1530 -0
- package/api-docs/index.html +208 -0
- package/api-docs/logo.png +0 -0
- package/api-docs/manager_aws_acm-manager.ts.html +236 -0
- package/api-docs/manager_aws_api-manager.ts.html +260 -0
- package/api-docs/manager_aws_app-config-manager.ts.html +310 -0
- package/api-docs/manager_aws_cloudfront-manager.ts.html +491 -0
- package/api-docs/manager_aws_cloudtrail-manager.ts.html +251 -0
- package/api-docs/manager_aws_cloudwatch-manager.ts.html +553 -0
- package/api-docs/manager_aws_codebuild-manager.ts.html +240 -0
- package/api-docs/manager_aws_dynamodb-manager.ts.html +219 -0
- package/api-docs/manager_aws_ecr-manager.ts.html +199 -0
- package/api-docs/manager_aws_ecs-manager.ts.html +259 -0
- package/api-docs/manager_aws_eks-manager.ts.html +260 -0
- package/api-docs/manager_aws_event-manager.ts.html +336 -0
- package/api-docs/manager_aws_iam-manager.ts.html +573 -0
- package/api-docs/manager_aws_lambda-manager.ts.html +400 -0
- package/api-docs/manager_aws_log-manager.ts.html +259 -0
- package/api-docs/manager_aws_route53-manager.ts.html +333 -0
- package/api-docs/manager_aws_s3-manager.ts.html +361 -0
- package/api-docs/manager_aws_secrets-manager.ts.html +274 -0
- package/api-docs/manager_aws_sns-manager.ts.html +246 -0
- package/api-docs/manager_aws_ssm-manager.ts.html +273 -0
- package/api-docs/manager_aws_vpc-manager.ts.html +244 -0
- package/api-docs/manager_aws_waf-manager.ts.html +232 -0
- package/api-docs/scripts/app.min.js +1 -0
- package/api-docs/scripts/linenumber.js +26 -0
- package/api-docs/scripts/search.js +39 -0
- package/api-docs/styles/app.min.css +1 -0
- package/api-docs/styles/iframe.css +13 -0
- package/api-docs/styles/prettify-jsdoc.css +111 -0
- package/api-docs/styles/prettify-tomorrow.css +132 -0
- package/api-docs/styles/reset.css +44 -0
- package/api-docs/styles.css +113 -0
- package/api-docs/tutorial-Architecture.html +151 -0
- package/api-docs/tutorial-Build.html +150 -0
- package/api-docs/tutorial-CI-CD.html +154 -0
- package/api-docs/tutorial-Development.html +227 -0
- package/api-docs/types_aws_index.ts.html +665 -0
- package/api-docs/utils_aws_index.ts.html +192 -0
- package/api-docs/utils_index.ts.html +227 -0
- package/app/api-destined-function/node_modules/.yarn-integrity +180 -0
- package/app/api-destined-function/node_modules/@types/uuid/LICENSE +21 -0
- package/app/api-destined-function/node_modules/@types/uuid/README.md +16 -0
- package/app/api-destined-function/node_modules/@types/uuid/index.d.mts +10 -0
- package/app/api-destined-function/node_modules/@types/uuid/index.d.ts +80 -0
- package/app/api-destined-function/node_modules/@types/uuid/package.json +54 -0
- package/app/api-destined-function/node_modules/balanced-match/LICENSE.md +21 -0
- package/app/api-destined-function/node_modules/balanced-match/README.md +97 -0
- package/app/api-destined-function/node_modules/balanced-match/index.js +62 -0
- package/app/api-destined-function/node_modules/balanced-match/package.json +48 -0
- package/app/api-destined-function/node_modules/brace-expansion/LICENSE +21 -0
- package/app/api-destined-function/node_modules/brace-expansion/README.md +129 -0
- package/app/api-destined-function/node_modules/brace-expansion/index.js +201 -0
- package/app/api-destined-function/node_modules/brace-expansion/package.json +47 -0
- package/app/api-destined-function/node_modules/concat-map/.travis.yml +4 -0
- package/app/api-destined-function/node_modules/concat-map/LICENSE +18 -0
- package/app/api-destined-function/node_modules/concat-map/README.markdown +62 -0
- package/app/api-destined-function/node_modules/concat-map/example/map.js +6 -0
- package/app/api-destined-function/node_modules/concat-map/index.js +13 -0
- package/app/api-destined-function/node_modules/concat-map/package.json +43 -0
- package/app/api-destined-function/node_modules/fs.realpath/LICENSE +43 -0
- package/app/api-destined-function/node_modules/fs.realpath/README.md +33 -0
- package/app/api-destined-function/node_modules/fs.realpath/index.js +66 -0
- package/app/api-destined-function/node_modules/fs.realpath/old.js +303 -0
- package/app/api-destined-function/node_modules/fs.realpath/package.json +26 -0
- package/app/api-destined-function/node_modules/glob/LICENSE +21 -0
- package/app/api-destined-function/node_modules/glob/README.md +378 -0
- package/app/api-destined-function/node_modules/glob/common.js +236 -0
- package/app/api-destined-function/node_modules/glob/glob.js +787 -0
- package/app/api-destined-function/node_modules/glob/package.json +52 -0
- package/app/api-destined-function/node_modules/glob/sync.js +483 -0
- package/app/api-destined-function/node_modules/inflight/LICENSE +15 -0
- package/app/api-destined-function/node_modules/inflight/README.md +37 -0
- package/app/api-destined-function/node_modules/inflight/inflight.js +54 -0
- package/app/api-destined-function/node_modules/inflight/package.json +29 -0
- package/app/api-destined-function/node_modules/inherits/LICENSE +16 -0
- package/app/api-destined-function/node_modules/inherits/README.md +42 -0
- package/app/api-destined-function/node_modules/inherits/inherits.js +9 -0
- package/app/api-destined-function/node_modules/inherits/inherits_browser.js +27 -0
- package/app/api-destined-function/node_modules/inherits/package.json +29 -0
- package/app/api-destined-function/node_modules/minimatch/LICENSE +15 -0
- package/app/api-destined-function/node_modules/minimatch/README.md +209 -0
- package/app/api-destined-function/node_modules/minimatch/minimatch.js +923 -0
- package/app/api-destined-function/node_modules/minimatch/package.json +30 -0
- package/app/api-destined-function/node_modules/mkdirp/LICENSE +21 -0
- package/app/api-destined-function/node_modules/mkdirp/bin/cmd.js +68 -0
- package/app/api-destined-function/node_modules/mkdirp/index.js +31 -0
- package/app/api-destined-function/node_modules/mkdirp/lib/find-made.js +29 -0
- package/app/api-destined-function/node_modules/mkdirp/lib/mkdirp-manual.js +64 -0
- package/app/api-destined-function/node_modules/mkdirp/lib/mkdirp-native.js +39 -0
- package/app/api-destined-function/node_modules/mkdirp/lib/opts-arg.js +23 -0
- package/app/api-destined-function/node_modules/mkdirp/lib/path-arg.js +29 -0
- package/app/api-destined-function/node_modules/mkdirp/lib/use-native.js +10 -0
- package/app/api-destined-function/node_modules/mkdirp/package.json +44 -0
- package/app/api-destined-function/node_modules/mkdirp/readme.markdown +266 -0
- package/app/api-destined-function/node_modules/once/LICENSE +15 -0
- package/app/api-destined-function/node_modules/once/README.md +79 -0
- package/app/api-destined-function/node_modules/once/once.js +42 -0
- package/app/api-destined-function/node_modules/once/package.json +33 -0
- package/app/api-destined-function/node_modules/path-is-absolute/index.js +20 -0
- package/app/api-destined-function/node_modules/path-is-absolute/license +21 -0
- package/app/api-destined-function/node_modules/path-is-absolute/package.json +43 -0
- package/app/api-destined-function/node_modules/path-is-absolute/readme.md +59 -0
- package/app/api-destined-function/node_modules/rimraf/LICENSE +15 -0
- package/app/api-destined-function/node_modules/rimraf/README.md +101 -0
- package/app/api-destined-function/node_modules/rimraf/bin.js +68 -0
- package/app/api-destined-function/node_modules/rimraf/package.json +32 -0
- package/app/api-destined-function/node_modules/rimraf/rimraf.js +360 -0
- package/app/api-destined-function/node_modules/uuid/LICENSE.md +9 -0
- package/app/api-destined-function/node_modules/uuid/README.md +505 -0
- package/app/api-destined-function/node_modules/uuid/dist/bin/uuid +2 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/index.js +9 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/md5.js +215 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/nil.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/parse.js +35 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/regex.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/rng.js +19 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/stringify.js +30 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v1.js +95 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v3.js +4 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v35.js +64 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v4.js +24 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v5.js +4 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/validate.js +7 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-browser/version.js +11 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/index.js +9 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/md5.js +13 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/nil.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/parse.js +35 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/regex.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/rng.js +12 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/sha1.js +13 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/stringify.js +29 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/v1.js +95 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/v3.js +4 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/v35.js +64 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/v4.js +24 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/v5.js +4 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/validate.js +7 -0
- package/app/api-destined-function/node_modules/uuid/dist/esm-node/version.js +11 -0
- package/app/api-destined-function/node_modules/uuid/dist/index.js +79 -0
- package/app/api-destined-function/node_modules/uuid/dist/md5-browser.js +223 -0
- package/app/api-destined-function/node_modules/uuid/dist/md5.js +23 -0
- package/app/api-destined-function/node_modules/uuid/dist/nil.js +8 -0
- package/app/api-destined-function/node_modules/uuid/dist/parse.js +45 -0
- package/app/api-destined-function/node_modules/uuid/dist/regex.js +8 -0
- package/app/api-destined-function/node_modules/uuid/dist/rng-browser.js +26 -0
- package/app/api-destined-function/node_modules/uuid/dist/rng.js +24 -0
- package/app/api-destined-function/node_modules/uuid/dist/sha1-browser.js +104 -0
- package/app/api-destined-function/node_modules/uuid/dist/sha1.js +23 -0
- package/app/api-destined-function/node_modules/uuid/dist/stringify.js +39 -0
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuid.min.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidNIL.min.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidParse.min.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidStringify.min.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidValidate.min.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidVersion.min.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidv1.min.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidv3.min.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidv4.min.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/umd/uuidv5.min.js +1 -0
- package/app/api-destined-function/node_modules/uuid/dist/uuid-bin.js +85 -0
- package/app/api-destined-function/node_modules/uuid/dist/v1.js +107 -0
- package/app/api-destined-function/node_modules/uuid/dist/v3.js +16 -0
- package/app/api-destined-function/node_modules/uuid/dist/v35.js +78 -0
- package/app/api-destined-function/node_modules/uuid/dist/v4.js +37 -0
- package/app/api-destined-function/node_modules/uuid/dist/v5.js +16 -0
- package/app/api-destined-function/node_modules/uuid/dist/validate.js +17 -0
- package/app/api-destined-function/node_modules/uuid/dist/version.js +21 -0
- package/app/api-destined-function/node_modules/uuid/package.json +135 -0
- package/app/api-destined-function/node_modules/uuid/wrapper.mjs +10 -0
- package/app/api-destined-function/node_modules/wrappy/LICENSE +15 -0
- package/app/api-destined-function/node_modules/wrappy/README.md +36 -0
- package/app/api-destined-function/node_modules/wrappy/package.json +29 -0
- package/app/api-destined-function/node_modules/wrappy/wrappy.js +33 -0
- package/app/api-destined-function/package.json +30 -0
- package/app/api-destined-function/src/lib/lambda.ts +31 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/.bin/uuid +2 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/.yarn-integrity +109 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/LICENSE +21 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/README.md +16 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/index.d.mts +10 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/index.d.ts +80 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/package.json +54 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/LICENSE.md +9 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/README.md +505 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/bin/uuid +2 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/index.js +9 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/md5.js +215 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/nil.js +1 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/parse.js +35 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/regex.js +1 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/rng.js +19 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/stringify.js +30 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v1.js +95 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v3.js +4 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v35.js +64 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v4.js +24 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v5.js +4 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/validate.js +7 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/version.js +11 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/index.js +9 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/md5.js +13 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/nil.js +1 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/parse.js +35 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/regex.js +1 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/rng.js +12 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/sha1.js +13 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/stringify.js +29 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v1.js +95 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v3.js +4 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v35.js +64 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v4.js +24 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v5.js +4 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/validate.js +7 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/version.js +11 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/index.js +79 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/md5-browser.js +223 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/md5.js +23 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/nil.js +8 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/parse.js +45 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/regex.js +8 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/rng-browser.js +26 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/rng.js +24 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/sha1-browser.js +104 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/sha1.js +23 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/stringify.js +39 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuid.min.js +1 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidNIL.min.js +1 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidParse.min.js +1 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidStringify.min.js +1 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidValidate.min.js +1 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidVersion.min.js +1 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidv1.min.js +1 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidv3.min.js +1 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidv4.min.js +1 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidv5.min.js +1 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/uuid-bin.js +85 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v1.js +107 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v3.js +16 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v35.js +78 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v4.js +37 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v5.js +16 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/validate.js +17 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/version.js +21 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/package.json +135 -0
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/wrapper.mjs +10 -0
- package/dist/app/api-destined-function/layers/nodejs/package.json +30 -0
- package/dist/app/api-destined-function/src/lib/lambda.d.ts +19 -0
- package/dist/app/api-destined-function/src/lib/lambda.d.ts.map +1 -0
- package/dist/app/api-destined-function/src/lib/lambda.js +34 -0
- package/dist/app/api-destined-function/src/lib/lambda.js.map +1 -0
- package/dist/src/lib/common/{commonConstruct.d.ts → construct.d.ts} +4 -14
- package/dist/src/lib/common/construct.d.ts.map +1 -0
- package/dist/src/lib/common/{commonConstruct.js → construct.js} +4 -14
- package/dist/src/lib/common/construct.js.map +1 -0
- package/dist/src/lib/common/index.d.ts +2 -2
- package/dist/src/lib/common/index.d.ts.map +1 -1
- package/dist/src/lib/common/index.js +2 -2
- package/dist/src/lib/common/index.js.map +1 -1
- package/dist/src/lib/common/{commonStack.d.ts → stack.d.ts} +5 -15
- package/dist/src/lib/common/stack.d.ts.map +1 -0
- package/dist/src/lib/common/{commonStack.js → stack.js} +6 -16
- package/dist/src/lib/common/stack.js.map +1 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destination-event.d.ts +17 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destination-event.d.ts.map +1 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destination-event.js +18 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destination-event.js.map +1 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-lambda.d.ts +20 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-lambda.d.ts.map +1 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-lambda.js +20 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-lambda.js.map +1 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-rest-api.d.ts +36 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-rest-api.d.ts.map +1 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-rest-api.js +30 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-rest-api.js.map +1 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/index.d.ts +5 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/index.d.ts.map +1 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/index.js +17 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/index.js.map +1 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/main.d.ts +135 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/main.d.ts.map +1 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/main.js +488 -0
- package/dist/src/lib/construct/api-to-eventbridge-target/main.js.map +1 -0
- package/dist/src/lib/construct/graphql-api-lambda/index.d.ts +2 -0
- package/dist/src/lib/construct/graphql-api-lambda/index.d.ts.map +1 -0
- package/dist/src/lib/construct/graphql-api-lambda/index.js +14 -0
- package/dist/src/lib/construct/graphql-api-lambda/index.js.map +1 -0
- package/dist/src/lib/construct/{graphQLApiLambda.d.ts → graphql-api-lambda/main.d.ts} +14 -23
- package/dist/src/lib/construct/graphql-api-lambda/main.d.ts.map +1 -0
- package/dist/src/lib/construct/{graphQLApiLambda.js → graphql-api-lambda/main.js} +16 -25
- package/dist/src/lib/construct/graphql-api-lambda/main.js.map +1 -0
- package/dist/src/lib/construct/index.d.ts +4 -3
- package/dist/src/lib/construct/index.d.ts.map +1 -1
- package/dist/src/lib/construct/index.js +4 -3
- package/dist/src/lib/construct/index.js.map +1 -1
- package/dist/src/lib/construct/site-with-ecs-backend/index.d.ts +2 -0
- package/dist/src/lib/construct/site-with-ecs-backend/index.d.ts.map +1 -0
- package/dist/src/lib/construct/site-with-ecs-backend/index.js +14 -0
- package/dist/src/lib/construct/site-with-ecs-backend/index.js.map +1 -0
- package/dist/src/lib/construct/{siteWithEcsBackend.d.ts → site-with-ecs-backend/main.d.ts} +7 -18
- package/dist/src/lib/construct/site-with-ecs-backend/main.d.ts.map +1 -0
- package/dist/src/lib/construct/{siteWithEcsBackend.js → site-with-ecs-backend/main.js} +6 -17
- package/dist/src/lib/construct/site-with-ecs-backend/main.js.map +1 -0
- package/dist/src/lib/construct/static-site/index.d.ts +2 -0
- package/dist/src/lib/construct/static-site/index.d.ts.map +1 -0
- package/dist/src/lib/construct/static-site/index.js +14 -0
- package/dist/src/lib/construct/static-site/index.js.map +1 -0
- package/dist/src/lib/construct/{staticSite.d.ts → static-site/main.d.ts} +6 -17
- package/dist/src/lib/construct/static-site/main.d.ts.map +1 -0
- package/dist/src/lib/construct/{staticSite.js → static-site/main.js} +6 -17
- package/dist/src/lib/construct/static-site/main.js.map +1 -0
- package/dist/src/lib/manager/aws/{acmManager.d.ts → acm-manager.d.ts} +4 -3
- package/dist/src/lib/manager/aws/acm-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{acmManager.js → acm-manager.js} +4 -3
- package/dist/src/lib/manager/aws/acm-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{apiManager.d.ts → api-manager.d.ts} +7 -6
- package/dist/src/lib/manager/aws/api-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{apiManager.js → api-manager.js} +7 -6
- package/dist/src/lib/manager/aws/api-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{appConfigManager.d.ts → app-config-manager.d.ts} +6 -4
- package/dist/src/lib/manager/aws/app-config-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{appConfigManager.js → app-config-manager.js} +6 -4
- package/dist/src/lib/manager/aws/app-config-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{cloudFrontManager.d.ts → cloudfront-manager.d.ts} +4 -3
- package/dist/src/lib/manager/aws/cloudfront-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{cloudFrontManager.js → cloudfront-manager.js} +4 -3
- package/dist/src/lib/manager/aws/cloudfront-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{cloudTrailManager.d.ts → cloudtrail-manager.d.ts} +4 -3
- package/dist/src/lib/manager/aws/cloudtrail-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{cloudTrailManager.js → cloudtrail-manager.js} +4 -3
- package/dist/src/lib/manager/aws/cloudtrail-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{cloudWatchManager.d.ts → cloudwatch-manager.d.ts} +4 -3
- package/dist/src/lib/manager/aws/cloudwatch-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{cloudWatchManager.js → cloudwatch-manager.js} +6 -4
- package/dist/src/lib/manager/aws/cloudwatch-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{codeBuildManager.d.ts → codebuild-manager.d.ts} +4 -3
- package/dist/src/lib/manager/aws/codebuild-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{codeBuildManager.js → codebuild-manager.js} +4 -3
- package/dist/src/lib/manager/aws/codebuild-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{dynamodbManager.d.ts → dynamodb-manager.d.ts} +4 -3
- package/dist/src/lib/manager/aws/dynamodb-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{dynamodbManager.js → dynamodb-manager.js} +4 -3
- package/dist/src/lib/manager/aws/dynamodb-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{ecrManager.d.ts → ecr-manager.d.ts} +4 -3
- package/dist/src/lib/manager/aws/ecr-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{ecrManager.js → ecr-manager.js} +4 -3
- package/dist/src/lib/manager/aws/ecr-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{ecsManager.d.ts → ecs-manager.d.ts} +4 -3
- package/dist/src/lib/manager/aws/ecs-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{ecsManager.js → ecs-manager.js} +4 -3
- package/dist/src/lib/manager/aws/ecs-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{eksManager.d.ts → eks-manager.d.ts} +4 -3
- package/dist/src/lib/manager/aws/eks-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{eksManager.js → eks-manager.js} +4 -3
- package/dist/src/lib/manager/aws/eks-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{eventManager.d.ts → event-manager.d.ts} +20 -3
- package/dist/src/lib/manager/aws/event-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{eventManager.js → event-manager.js} +46 -3
- package/dist/src/lib/manager/aws/event-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{iamManager.d.ts → iam-manager.d.ts} +14 -15
- package/dist/src/lib/manager/aws/iam-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{iamManager.js → iam-manager.js} +23 -18
- package/dist/src/lib/manager/aws/iam-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/index.d.ts +22 -22
- package/dist/src/lib/manager/aws/index.d.ts.map +1 -1
- package/dist/src/lib/manager/aws/index.js +22 -22
- package/dist/src/lib/manager/aws/index.js.map +1 -1
- package/dist/src/lib/manager/aws/{lambdaManager.d.ts → lambda-manager.d.ts} +30 -28
- package/dist/src/lib/manager/aws/lambda-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{lambdaManager.js → lambda-manager.js} +46 -39
- package/dist/src/lib/manager/aws/lambda-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{logManager.d.ts → log-manager.d.ts} +4 -3
- package/dist/src/lib/manager/aws/log-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{logManager.js → log-manager.js} +4 -3
- package/dist/src/lib/manager/aws/log-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{route53Manager.d.ts → route53-manager.d.ts} +5 -4
- package/dist/src/lib/manager/aws/route53-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{route53Manager.js → route53-manager.js} +5 -4
- package/dist/src/lib/manager/aws/route53-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{s3Manager.d.ts → s3-manager.d.ts} +4 -3
- package/dist/src/lib/manager/aws/s3-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{s3Manager.js → s3-manager.js} +4 -3
- package/dist/src/lib/manager/aws/s3-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{secretsManager.d.ts → secrets-manager.d.ts} +4 -3
- package/dist/src/lib/manager/aws/secrets-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{secretsManager.js → secrets-manager.js} +4 -3
- package/dist/src/lib/manager/aws/secrets-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{snsManager.d.ts → sns-manager.d.ts} +4 -3
- package/dist/src/lib/manager/aws/sns-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{snsManager.js → sns-manager.js} +4 -3
- package/dist/src/lib/manager/aws/sns-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{ssmManager.d.ts → ssm-manager.d.ts} +7 -10
- package/dist/src/lib/manager/aws/ssm-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{ssmManager.js → ssm-manager.js} +7 -10
- package/dist/src/lib/manager/aws/ssm-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{vpcManager.d.ts → vpc-manager.d.ts} +6 -4
- package/dist/src/lib/manager/aws/vpc-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{vpcManager.js → vpc-manager.js} +9 -6
- package/dist/src/lib/manager/aws/vpc-manager.js.map +1 -0
- package/dist/src/lib/manager/aws/{wafManager.d.ts → waf-manager.d.ts} +4 -3
- package/dist/src/lib/manager/aws/waf-manager.d.ts.map +1 -0
- package/dist/src/lib/manager/aws/{wafManager.js → waf-manager.js} +4 -3
- package/dist/src/lib/manager/aws/waf-manager.js.map +1 -0
- package/dist/src/lib/types/aws/index.d.ts +218 -32
- package/dist/src/lib/types/aws/index.d.ts.map +1 -1
- package/dist/src/lib/utils/aws/index.d.ts +2 -2
- package/dist/src/lib/utils/aws/index.d.ts.map +1 -1
- package/dist/src/lib/utils/aws/index.js +1 -1
- package/dist/src/lib/utils/index.d.ts +7 -7
- package/dist/src/lib/utils/index.js +8 -8
- package/img/ApiToEventBridgeTarget.jpg +0 -0
- package/img/GraphQLApiLambda.jpg +0 -0
- package/img/logo.png +0 -0
- package/package.json +17 -18
- package/src/lib/common/{commonConstruct.ts → construct.ts} +3 -13
- package/src/lib/common/index.ts +2 -2
- package/src/lib/common/{commonStack.ts → stack.ts} +5 -14
- package/src/lib/construct/api-to-eventbridge-target/api-destination-event.ts +17 -0
- package/src/lib/construct/api-to-eventbridge-target/api-destined-lambda.ts +20 -0
- package/src/lib/construct/api-to-eventbridge-target/api-destined-rest-api.ts +32 -0
- package/src/lib/construct/api-to-eventbridge-target/index.ts +4 -0
- package/src/lib/construct/api-to-eventbridge-target/main.ts +593 -0
- package/src/lib/construct/graphql-api-lambda/index.ts +1 -0
- package/src/lib/construct/{graphQLApiLambda.ts → graphql-api-lambda/main.ts} +15 -24
- package/src/lib/construct/index.ts +4 -3
- package/src/lib/construct/site-with-ecs-backend/index.ts +1 -0
- package/src/lib/construct/{siteWithEcsBackend.ts → site-with-ecs-backend/main.ts} +6 -17
- package/src/lib/construct/static-site/index.ts +1 -0
- package/src/lib/construct/{staticSite.ts → static-site/main.ts} +5 -16
- package/src/lib/manager/aws/{acmManager.ts → acm-manager.ts} +3 -2
- package/src/lib/manager/aws/{apiManager.ts → api-manager.ts} +6 -5
- package/src/lib/manager/aws/{appConfigManager.ts → app-config-manager.ts} +5 -3
- package/src/lib/manager/aws/{cloudFrontManager.ts → cloudfront-manager.ts} +3 -2
- package/src/lib/manager/aws/{cloudTrailManager.ts → cloudtrail-manager.ts} +3 -2
- package/src/lib/manager/aws/{cloudWatchManager.ts → cloudwatch-manager.ts} +5 -3
- package/src/lib/manager/aws/{codeBuildManager.ts → codebuild-manager.ts} +3 -2
- package/src/lib/manager/aws/{dynamodbManager.ts → dynamodb-manager.ts} +3 -2
- package/src/lib/manager/aws/{ecrManager.ts → ecr-manager.ts} +3 -2
- package/src/lib/manager/aws/{ecsManager.ts → ecs-manager.ts} +3 -2
- package/src/lib/manager/aws/{eksManager.ts → eks-manager.ts} +3 -2
- package/src/lib/manager/aws/{eventManager.ts → event-manager.ts} +57 -2
- package/src/lib/manager/aws/{iamManager.ts → iam-manager.ts} +23 -17
- package/src/lib/manager/aws/index.ts +22 -22
- package/src/lib/manager/aws/{lambdaManager.ts → lambda-manager.ts} +52 -44
- package/src/lib/manager/aws/{logManager.ts → log-manager.ts} +3 -2
- package/src/lib/manager/aws/{route53Manager.ts → route53-manager.ts} +4 -3
- package/src/lib/manager/aws/{s3Manager.ts → s3-manager.ts} +3 -2
- package/src/lib/manager/aws/{secretsManager.ts → secrets-manager.ts} +3 -2
- package/src/lib/manager/aws/{snsManager.ts → sns-manager.ts} +3 -2
- package/src/lib/manager/aws/{ssmManager.ts → ssm-manager.ts} +6 -9
- package/src/lib/manager/aws/{vpcManager.ts → vpc-manager.ts} +8 -5
- package/src/lib/manager/aws/{wafManager.ts → waf-manager.ts} +3 -2
- package/src/lib/types/aws/index.ts +221 -32
- package/src/lib/utils/aws/index.ts +2 -2
- package/src/lib/utils/index.ts +8 -8
- package/theme/styles.css +113 -0
- package/.releaserc +0 -9
- package/dist/src/lib/common/commonConstruct.d.ts.map +0 -1
- package/dist/src/lib/common/commonConstruct.js.map +0 -1
- package/dist/src/lib/common/commonStack.d.ts.map +0 -1
- package/dist/src/lib/common/commonStack.js.map +0 -1
- package/dist/src/lib/construct/graphQLApiLambda.d.ts.map +0 -1
- package/dist/src/lib/construct/graphQLApiLambda.js.map +0 -1
- package/dist/src/lib/construct/siteWithEcsBackend.d.ts.map +0 -1
- package/dist/src/lib/construct/siteWithEcsBackend.js.map +0 -1
- package/dist/src/lib/construct/staticSite.d.ts.map +0 -1
- package/dist/src/lib/construct/staticSite.js.map +0 -1
- package/dist/src/lib/manager/aws/acmManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/acmManager.js.map +0 -1
- package/dist/src/lib/manager/aws/apiManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/apiManager.js.map +0 -1
- package/dist/src/lib/manager/aws/appConfigManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/appConfigManager.js.map +0 -1
- package/dist/src/lib/manager/aws/cloudFrontManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/cloudFrontManager.js.map +0 -1
- package/dist/src/lib/manager/aws/cloudTrailManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/cloudTrailManager.js.map +0 -1
- package/dist/src/lib/manager/aws/cloudWatchManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/cloudWatchManager.js.map +0 -1
- package/dist/src/lib/manager/aws/codeBuildManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/codeBuildManager.js.map +0 -1
- package/dist/src/lib/manager/aws/dynamodbManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/dynamodbManager.js.map +0 -1
- package/dist/src/lib/manager/aws/ecrManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/ecrManager.js.map +0 -1
- package/dist/src/lib/manager/aws/ecsManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/ecsManager.js.map +0 -1
- package/dist/src/lib/manager/aws/eksManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/eksManager.js.map +0 -1
- package/dist/src/lib/manager/aws/eventManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/eventManager.js.map +0 -1
- package/dist/src/lib/manager/aws/iamManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/iamManager.js.map +0 -1
- package/dist/src/lib/manager/aws/lambdaManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/lambdaManager.js.map +0 -1
- package/dist/src/lib/manager/aws/logManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/logManager.js.map +0 -1
- package/dist/src/lib/manager/aws/route53Manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/route53Manager.js.map +0 -1
- package/dist/src/lib/manager/aws/s3Manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/s3Manager.js.map +0 -1
- package/dist/src/lib/manager/aws/secretsManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/secretsManager.js.map +0 -1
- package/dist/src/lib/manager/aws/snsManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/snsManager.js.map +0 -1
- package/dist/src/lib/manager/aws/ssmManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/ssmManager.js.map +0 -1
- package/dist/src/lib/manager/aws/vpcManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/vpcManager.js.map +0 -1
- package/dist/src/lib/manager/aws/wafManager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/wafManager.js.map +0 -1
|
@@ -12,13 +12,14 @@ import * as route53 from 'aws-cdk-lib/aws-route53'
|
|
|
12
12
|
import * as s3 from 'aws-cdk-lib/aws-s3'
|
|
13
13
|
import * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager'
|
|
14
14
|
import { Construct } from 'constructs'
|
|
15
|
-
import { CommonConstruct } from '
|
|
16
|
-
import { SiteWithEcsBackendProps } from '
|
|
15
|
+
import { CommonConstruct } from '../../common'
|
|
16
|
+
import { SiteWithEcsBackendProps } from '../../types'
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* @stability stable
|
|
20
|
-
* @category
|
|
21
|
-
* @
|
|
20
|
+
* @category cdk-utils.site-with-ecs-backend
|
|
21
|
+
* @subcategory construct
|
|
22
|
+
* @classdesc Provides a construct to create and deploy a site hosted with an clustered ECS/ELB backend
|
|
22
23
|
*
|
|
23
24
|
* @example
|
|
24
25
|
* import { SiteWithEcsBackend, SiteWithEcsBackendProps } '@gradientedge/cdk-utils'
|
|
@@ -32,12 +33,6 @@ import { SiteWithEcsBackendProps } from '../types'
|
|
|
32
33
|
* this.initResources()
|
|
33
34
|
* }
|
|
34
35
|
* }
|
|
35
|
-
*
|
|
36
|
-
* @mermaid
|
|
37
|
-
* graph LR;
|
|
38
|
-
* A[StaticSite]-.->|extends|B(CommonConstruct);
|
|
39
|
-
* B(CommonConstruct)-->|extends|C(Construct);
|
|
40
|
-
* C(Construct)-->|implements|D(IConstruct);
|
|
41
36
|
*/
|
|
42
37
|
export class SiteWithEcsBackend extends CommonConstruct {
|
|
43
38
|
/* site properties */
|
|
@@ -50,7 +45,7 @@ export class SiteWithEcsBackend extends CommonConstruct {
|
|
|
50
45
|
siteEcsPolicy: iam.PolicyDocument
|
|
51
46
|
siteEcsRole: iam.Role
|
|
52
47
|
siteEcsEnvironment: { [key: string]: string }
|
|
53
|
-
siteVpc: ec2.
|
|
48
|
+
siteVpc: ec2.IVpc
|
|
54
49
|
siteSecrets: any
|
|
55
50
|
siteEcsCluster: ecs.Cluster
|
|
56
51
|
siteEcsLogGroup: logs.LogGroup
|
|
@@ -71,12 +66,6 @@ export class SiteWithEcsBackend extends CommonConstruct {
|
|
|
71
66
|
siteCloudfrontFunction: cloudfront.Function
|
|
72
67
|
siteFunctionAssociations: cloudfront.FunctionAssociation[]
|
|
73
68
|
|
|
74
|
-
/**
|
|
75
|
-
* @summary Constructor to initialise the SiteWithEcsBackend Construct
|
|
76
|
-
* @param {Construct} parent
|
|
77
|
-
* @param {string} id
|
|
78
|
-
* @param {SiteWithEcsBackendProps} props
|
|
79
|
-
*/
|
|
80
69
|
constructor(parent: Construct, id: string, props: SiteWithEcsBackendProps) {
|
|
81
70
|
super(parent, id, props)
|
|
82
71
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './main'
|
|
@@ -4,13 +4,14 @@ import * as origins from 'aws-cdk-lib/aws-cloudfront-origins'
|
|
|
4
4
|
import * as route53 from 'aws-cdk-lib/aws-route53'
|
|
5
5
|
import * as s3 from 'aws-cdk-lib/aws-s3'
|
|
6
6
|
import { Construct } from 'constructs'
|
|
7
|
-
import { CommonConstruct } from '
|
|
8
|
-
import { StaticSiteProps } from '
|
|
7
|
+
import { CommonConstruct } from '../../common'
|
|
8
|
+
import { StaticSiteProps } from '../../types'
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @stability stable
|
|
12
|
-
* @category
|
|
13
|
-
* @
|
|
12
|
+
* @category cdk-utils.static-site
|
|
13
|
+
* @subcategory construct
|
|
14
|
+
* @classdesc Provides a construct to create and deploy a s3 hosted static site
|
|
14
15
|
*
|
|
15
16
|
* @example
|
|
16
17
|
* import { StaticSite, StaticSiteProps } '@gradientedge/cdk-utils'
|
|
@@ -24,12 +25,6 @@ import { StaticSiteProps } from '../types'
|
|
|
24
25
|
* this.initResources()
|
|
25
26
|
* }
|
|
26
27
|
* }
|
|
27
|
-
*
|
|
28
|
-
* @mermaid
|
|
29
|
-
* graph LR;
|
|
30
|
-
* A[StaticSite]-.->|extends|B(CommonConstruct);
|
|
31
|
-
* B(CommonConstruct)-->|extends|C(Construct);
|
|
32
|
-
* C(Construct)-->|implements|D(IConstruct);
|
|
33
28
|
*/
|
|
34
29
|
export class StaticSite extends CommonConstruct {
|
|
35
30
|
/* static site properties */
|
|
@@ -49,12 +44,6 @@ export class StaticSite extends CommonConstruct {
|
|
|
49
44
|
siteCloudfrontFunction: cloudfront.Function
|
|
50
45
|
siteFunctionAssociations: cloudfront.FunctionAssociation[]
|
|
51
46
|
|
|
52
|
-
/**
|
|
53
|
-
* @summary Constructor to initialise the StaticSite Construct
|
|
54
|
-
* @param {Construct} parent
|
|
55
|
-
* @param {string} id
|
|
56
|
-
* @param {StaticSiteProps} props
|
|
57
|
-
*/
|
|
58
47
|
constructor(parent: Construct, id: string, props: StaticSiteProps) {
|
|
59
48
|
super(parent, id, props)
|
|
60
49
|
|
|
@@ -7,8 +7,9 @@ import * as utils from '../../utils'
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @stability stable
|
|
10
|
-
* @category
|
|
11
|
-
* @
|
|
10
|
+
* @category cdk-utils.acm-manager
|
|
11
|
+
* @subcategory Construct
|
|
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.
|
|
14
15
|
* @example
|
|
@@ -6,8 +6,9 @@ import * as utils from '../../utils'
|
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @stability stable
|
|
9
|
-
* @category
|
|
10
|
-
* @
|
|
9
|
+
* @category cdk-utils.api-manager
|
|
10
|
+
* @subcategory Construct
|
|
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.
|
|
13
14
|
* @example
|
|
@@ -29,7 +30,7 @@ export class ApiManager {
|
|
|
29
30
|
* @summary Method to create a Rest API with Lambda backend/target
|
|
30
31
|
* @param {string} id scoped id of the resource
|
|
31
32
|
* @param {common.CommonConstruct} scope scope in which this resource is defined
|
|
32
|
-
* @param {AcmProps} props lambda rest
|
|
33
|
+
* @param {AcmProps} props lambda rest restApi props
|
|
33
34
|
* @param lambdaFunction
|
|
34
35
|
*/
|
|
35
36
|
public createLambdaRestApi(
|
|
@@ -80,11 +81,11 @@ export class ApiManager {
|
|
|
80
81
|
}
|
|
81
82
|
|
|
82
83
|
/**
|
|
83
|
-
* @summary Method to create custom
|
|
84
|
+
* @summary Method to create custom restApi domain
|
|
84
85
|
* @param {string} id scoped id of the resource
|
|
85
86
|
* @param {common.CommonConstruct} scope scope in which this resource is defined
|
|
86
87
|
* @param domainName the domain name to use
|
|
87
|
-
* @param certificate the certificate used for custom
|
|
88
|
+
* @param certificate the certificate used for custom restApi domain
|
|
88
89
|
*/
|
|
89
90
|
public createApiDomain(id: string, scope: common.CommonConstruct, domainName: string, certificate: acm.ICertificate) {
|
|
90
91
|
const apiDomain = new apig.DomainName(scope, `${id}`, {
|
|
@@ -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,8 +34,9 @@ export const ArnsByRegion: { [key: string]: string } = {
|
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
/**
|
|
36
|
-
* @category
|
|
37
|
-
* @
|
|
37
|
+
* @category cdk-utils.app-config-manager
|
|
38
|
+
* @subcategory Construct
|
|
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.
|
|
40
42
|
* @example
|
|
@@ -13,8 +13,9 @@ import * as utils from '../../utils'
|
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* @stability stable
|
|
16
|
-
* @category
|
|
17
|
-
* @
|
|
16
|
+
* @category cdk-utils.cloudfront-manager
|
|
17
|
+
* @subcategory Construct
|
|
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.
|
|
20
21
|
* @example
|
|
@@ -7,8 +7,9 @@ import * as utils from '../../utils'
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @stability stable
|
|
10
|
-
* @category
|
|
11
|
-
* @
|
|
10
|
+
* @category cdk-utils.cloudtrail-manager
|
|
11
|
+
* @subcategory Construct
|
|
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.
|
|
14
15
|
* @example
|
|
@@ -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,8 +19,9 @@ enum CloudWatchWidgetType {
|
|
|
18
19
|
|
|
19
20
|
/**
|
|
20
21
|
* @stability stable
|
|
21
|
-
* @category
|
|
22
|
-
* @
|
|
22
|
+
* @category cdk-utils.cloudwatch-manager
|
|
23
|
+
* @subcategory Construct
|
|
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.
|
|
25
27
|
* @example
|
|
@@ -4,8 +4,9 @@ import * as common from '../../common'
|
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @stability stable
|
|
7
|
-
* @category
|
|
8
|
-
* @
|
|
7
|
+
* @category cdk-utils.codebuild-manager
|
|
8
|
+
* @subcategory Construct
|
|
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.
|
|
11
12
|
* @example
|
|
@@ -5,8 +5,9 @@ import * as utils from '../../utils'
|
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @stability stable
|
|
8
|
-
* @category
|
|
9
|
-
* @
|
|
8
|
+
* @category cdk-utils.dynamodb-manager
|
|
9
|
+
* @subcategory Construct
|
|
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.
|
|
12
13
|
* @example
|
|
@@ -4,8 +4,9 @@ import * as utils from '../../utils'
|
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @stability stable
|
|
7
|
-
* @category
|
|
8
|
-
* @
|
|
7
|
+
* @category cdk-utils.ecr-manager
|
|
8
|
+
* @subcategory Construct
|
|
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.
|
|
11
12
|
* @example
|
|
@@ -8,8 +8,9 @@ import * as utils from '../../utils'
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @stability stable
|
|
11
|
-
* @category
|
|
12
|
-
* @
|
|
11
|
+
* @category cdk-utils.ecs-manager
|
|
12
|
+
* @subcategory Construct
|
|
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.
|
|
15
16
|
* @example
|
|
@@ -7,8 +7,9 @@ import * as utils from '../../utils'
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @stability stable
|
|
10
|
-
* @category
|
|
11
|
-
* @
|
|
10
|
+
* @category cdk-utils.eks-manager
|
|
11
|
+
* @subcategory Construct
|
|
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.
|
|
14
15
|
* @example
|
|
@@ -8,8 +8,9 @@ import * as utils from '../../utils'
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @stability stable
|
|
11
|
-
* @category
|
|
12
|
-
* @
|
|
11
|
+
* @category cdk-utils.event-manager
|
|
12
|
+
* @subcategory Construct
|
|
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.
|
|
15
16
|
* @example
|
|
@@ -26,6 +27,60 @@ import * as utils from '../../utils'
|
|
|
26
27
|
* @see [CDK EventBridge Module]{@link https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_events-readme.html}
|
|
27
28
|
*/
|
|
28
29
|
export class EventManager {
|
|
30
|
+
/**
|
|
31
|
+
* Method to create an event bus
|
|
32
|
+
* @param {string} id scoped id of the resource
|
|
33
|
+
* @param {common.CommonConstruct} scope scope in which this resource is defined
|
|
34
|
+
* @param {types.EventBusProps} props event bus properties
|
|
35
|
+
*/
|
|
36
|
+
public createEventBus(id: string, scope: common.CommonConstruct, props: types.EventBusProps) {
|
|
37
|
+
if (!props) throw 'EventBus props undefined'
|
|
38
|
+
|
|
39
|
+
const eventBus = new events.EventBus(scope, `${id}`, {
|
|
40
|
+
eventBusName: `${props.eventBusName}-${scope.props.stage}`,
|
|
41
|
+
})
|
|
42
|
+
|
|
43
|
+
utils.createCfnOutput(`${id}-eventBusName`, scope, eventBus.eventBusName)
|
|
44
|
+
utils.createCfnOutput(`${id}-eventBusArn`, scope, eventBus.eventBusArn)
|
|
45
|
+
|
|
46
|
+
return eventBus
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Method to create an event rule
|
|
51
|
+
* @param {string} id scoped id of the resource
|
|
52
|
+
* @param {common.CommonConstruct} scope scope in which this resource is defined
|
|
53
|
+
* @param {types.EventRuleProps} props event rule properties
|
|
54
|
+
* @param {events.IEventBus?} eventBus optional custom event bus
|
|
55
|
+
* @param {events.IRuleTarget[]?} targets optional event targets
|
|
56
|
+
*/
|
|
57
|
+
public createRule(
|
|
58
|
+
id: string,
|
|
59
|
+
scope: common.CommonConstruct,
|
|
60
|
+
props: types.EventRuleProps,
|
|
61
|
+
eventBus?: events.IEventBus,
|
|
62
|
+
targets?: events.IRuleTarget[]
|
|
63
|
+
) {
|
|
64
|
+
if (!props) throw `EventRule props undefined`
|
|
65
|
+
|
|
66
|
+
const rule = new events.Rule(scope, `${id}`, {
|
|
67
|
+
eventBus: eventBus,
|
|
68
|
+
description: props.description,
|
|
69
|
+
ruleName: `${props.ruleName}-${scope.props.stage}`,
|
|
70
|
+
eventPattern: props.eventPattern,
|
|
71
|
+
})
|
|
72
|
+
|
|
73
|
+
if (targets && targets.length > 0) {
|
|
74
|
+
targets.forEach(target => {
|
|
75
|
+
rule.addTarget(target)
|
|
76
|
+
})
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
utils.createCfnOutput(`${id}-ruleArn`, scope, rule.ruleArn)
|
|
80
|
+
utils.createCfnOutput(`${id}-ruleName`, scope, rule.ruleName)
|
|
81
|
+
|
|
82
|
+
return rule
|
|
83
|
+
}
|
|
29
84
|
/**
|
|
30
85
|
* @summary Method to create an eventbridge rule with lambda target
|
|
31
86
|
* @param {string} id scoped id of the resource
|
|
@@ -8,8 +8,9 @@ import * as utils from '../../utils'
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @stability stable
|
|
11
|
-
* @category
|
|
12
|
-
* @
|
|
11
|
+
* @category cdk-utils.iam-manager
|
|
12
|
+
* @subcategory Construct
|
|
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.
|
|
15
16
|
* @example
|
|
@@ -38,11 +39,21 @@ export class IamManager {
|
|
|
38
39
|
})
|
|
39
40
|
}
|
|
40
41
|
|
|
42
|
+
/**
|
|
43
|
+
* @summary Method to create iam statement to put events
|
|
44
|
+
*/
|
|
45
|
+
public statementForPutEvents() {
|
|
46
|
+
return new iam.PolicyStatement({
|
|
47
|
+
effect: iam.Effect.ALLOW,
|
|
48
|
+
actions: ['events:PutEvents'],
|
|
49
|
+
resources: ['*'],
|
|
50
|
+
})
|
|
51
|
+
}
|
|
52
|
+
|
|
41
53
|
/**
|
|
42
54
|
* @summary Method to create iam statement to read app config
|
|
43
|
-
* @param {common.CommonConstruct} scope scope in which this resource is defined
|
|
44
55
|
*/
|
|
45
|
-
public statementForReadAnyAppConfig(
|
|
56
|
+
public statementForReadAnyAppConfig() {
|
|
46
57
|
return new iam.PolicyStatement({
|
|
47
58
|
effect: iam.Effect.ALLOW,
|
|
48
59
|
actions: [
|
|
@@ -78,9 +89,8 @@ export class IamManager {
|
|
|
78
89
|
|
|
79
90
|
/**
|
|
80
91
|
* @summary Method to create iam statement to list all s3 buckets
|
|
81
|
-
* @param {common.CommonConstruct} scope scope in which this resource is defined
|
|
82
92
|
*/
|
|
83
|
-
public statementForListAllMyBuckets(
|
|
93
|
+
public statementForListAllMyBuckets() {
|
|
84
94
|
return new iam.PolicyStatement({
|
|
85
95
|
effect: iam.Effect.ALLOW,
|
|
86
96
|
actions: ['s3:ListAllMyBuckets'],
|
|
@@ -129,9 +139,8 @@ export class IamManager {
|
|
|
129
139
|
|
|
130
140
|
/**
|
|
131
141
|
* @summary Method to create iam statement to pass iam role
|
|
132
|
-
* @param {common.CommonConstruct} scope scope in which this resource is defined
|
|
133
142
|
*/
|
|
134
|
-
public statementForPassRole(
|
|
143
|
+
public statementForPassRole() {
|
|
135
144
|
return new iam.PolicyStatement({
|
|
136
145
|
effect: iam.Effect.ALLOW,
|
|
137
146
|
actions: ['iam:PassRole'],
|
|
@@ -141,9 +150,8 @@ export class IamManager {
|
|
|
141
150
|
|
|
142
151
|
/**
|
|
143
152
|
* @summary Method to create iam statement to invalidate cloudfront cache
|
|
144
|
-
* @param {common.CommonConstruct} scope scope in which this resource is defined
|
|
145
153
|
*/
|
|
146
|
-
public statementForCloudfrontInvalidation(
|
|
154
|
+
public statementForCloudfrontInvalidation() {
|
|
147
155
|
return new iam.PolicyStatement({
|
|
148
156
|
effect: iam.Effect.ALLOW,
|
|
149
157
|
actions: ['cloudfront:GetInvalidation', 'cloudfront:CreateInvalidation'],
|
|
@@ -153,14 +161,13 @@ export class IamManager {
|
|
|
153
161
|
|
|
154
162
|
/**
|
|
155
163
|
* @summary Method to create iam policy to invalidate cloudfront cache
|
|
156
|
-
* @param {common.CommonConstruct} scope scope in which this resource is defined
|
|
157
164
|
*/
|
|
158
|
-
public policyForCloudfrontInvalidation(
|
|
165
|
+
public policyForCloudfrontInvalidation() {
|
|
159
166
|
return new iam.PolicyDocument({
|
|
160
167
|
statements: [
|
|
161
168
|
this.statementForCreateAnyLogStream(),
|
|
162
169
|
this.statementForPutAnyLogEvent(),
|
|
163
|
-
this.statementForCloudfrontInvalidation(
|
|
170
|
+
this.statementForCloudfrontInvalidation(),
|
|
164
171
|
new iam.PolicyStatement({
|
|
165
172
|
effect: iam.Effect.ALLOW,
|
|
166
173
|
actions: [
|
|
@@ -184,7 +191,7 @@ export class IamManager {
|
|
|
184
191
|
return new iam.Role(scope, `${id}-install-deps-project-role`, {
|
|
185
192
|
assumedBy: new iam.ServicePrincipal('codebuild.amazonaws.com'),
|
|
186
193
|
inlinePolicies: {
|
|
187
|
-
codeBuildPolicy: this.policyForCloudfrontInvalidation(
|
|
194
|
+
codeBuildPolicy: this.policyForCloudfrontInvalidation(),
|
|
188
195
|
},
|
|
189
196
|
})
|
|
190
197
|
}
|
|
@@ -204,9 +211,8 @@ export class IamManager {
|
|
|
204
211
|
|
|
205
212
|
/**
|
|
206
213
|
* @summary Method to create iam statement to pass ecs role
|
|
207
|
-
* @param {common.CommonConstruct} scope scope in which this resource is defined
|
|
208
214
|
*/
|
|
209
|
-
public statementForEcsPassRole(
|
|
215
|
+
public statementForEcsPassRole() {
|
|
210
216
|
return new iam.PolicyStatement({
|
|
211
217
|
effect: iam.Effect.ALLOW,
|
|
212
218
|
actions: ['iam:PassRole'],
|
|
@@ -331,7 +337,7 @@ export class IamManager {
|
|
|
331
337
|
task: ecs.ITaskDefinition
|
|
332
338
|
) {
|
|
333
339
|
const policy = new iam.PolicyDocument({
|
|
334
|
-
statements: [this.statementForRunEcsTask(scope, cluster, task), this.statementForEcsPassRole(
|
|
340
|
+
statements: [this.statementForRunEcsTask(scope, cluster, task), this.statementForEcsPassRole()],
|
|
335
341
|
})
|
|
336
342
|
|
|
337
343
|
const role = new iam.Role(scope, `${id}`, {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './
|
|
13
|
-
export * from './
|
|
14
|
-
export * from './
|
|
15
|
-
export * from './
|
|
16
|
-
export * from './
|
|
17
|
-
export * from './
|
|
18
|
-
export * from './
|
|
19
|
-
export * from './
|
|
20
|
-
export * from './
|
|
21
|
-
export * from './
|
|
22
|
-
export * from './
|
|
1
|
+
export * from './acm-manager'
|
|
2
|
+
export * from './api-manager'
|
|
3
|
+
export * from './app-config-manager'
|
|
4
|
+
export * from './cloudfront-manager'
|
|
5
|
+
export * from './cloudtrail-manager'
|
|
6
|
+
export * from './cloudwatch-manager'
|
|
7
|
+
export * from './codebuild-manager'
|
|
8
|
+
export * from './dynamodb-manager'
|
|
9
|
+
export * from './ecr-manager'
|
|
10
|
+
export * from './ecs-manager'
|
|
11
|
+
export * from './eks-manager'
|
|
12
|
+
export * from './event-manager'
|
|
13
|
+
export * from './iam-manager'
|
|
14
|
+
export * from './lambda-manager'
|
|
15
|
+
export * from './log-manager'
|
|
16
|
+
export * from './route53-manager'
|
|
17
|
+
export * from './s3-manager'
|
|
18
|
+
export * from './secrets-manager'
|
|
19
|
+
export * from './sns-manager'
|
|
20
|
+
export * from './ssm-manager'
|
|
21
|
+
export * from './vpc-manager'
|
|
22
|
+
export * from './waf-manager'
|