@gradientedge/cdk-utils 4.4.2 → 4.4.6
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/app/api-destined-function/package.json +1 -2
- package/lerna.json +6 -0
- package/package.json +7 -8
- package/api-docs/AcmManager.html +0 -622
- package/api-docs/AcmProps.html +0 -238
- package/api-docs/AlarmProps.html +0 -238
- package/api-docs/AlarmStatusWidgetProps.html +0 -238
- package/api-docs/ApiDestinationEvent.html +0 -297
- package/api-docs/ApiDestinationEventType.html +0 -238
- package/api-docs/ApiDestinedLambda.html +0 -297
- package/api-docs/ApiDestinedLambdaEnvironment.html +0 -238
- package/api-docs/ApiDestinedLambdaType.html +0 -238
- package/api-docs/ApiDestinedRestApi.html +0 -297
- package/api-docs/ApiDestinedRestApiType.html +0 -238
- package/api-docs/ApiManager.html +0 -766
- package/api-docs/ApiToEventBridgeTarget.html +0 -1877
- package/api-docs/ApiToEventBridgeTarget.jpg +0 -0
- package/api-docs/ApiToEventBridgeTargetEventProps.html +0 -238
- package/api-docs/ApiToEventBridgeTargetLambdaProps.html +0 -238
- package/api-docs/ApiToEventBridgeTargetProps.html +0 -238
- package/api-docs/ApiToEventBridgeTargetRestApiProps.html +0 -238
- package/api-docs/AppConfigManager.html +0 -1203
- package/api-docs/AppConfigProps.html +0 -238
- package/api-docs/CloudFrontManager.html +0 -2402
- package/api-docs/CloudFrontProps.html +0 -238
- package/api-docs/CloudTrailManager.html +0 -637
- package/api-docs/CloudTrailProps.html +0 -238
- package/api-docs/CloudWatchManager.html +0 -2986
- package/api-docs/CloudfrontFunctionProps.html +0 -238
- package/api-docs/CodeBuildManager.html +0 -736
- package/api-docs/CommonConstruct.html +0 -1299
- package/api-docs/CommonStack.html +0 -813
- package/api-docs/CommonStackProps.html +0 -238
- package/api-docs/DashboardProps.html +0 -238
- package/api-docs/DistributionProps.html +0 -238
- package/api-docs/DynamodbManager.html +0 -530
- package/api-docs/EcrManager.html +0 -530
- package/api-docs/EcsClusterProps.html +0 -238
- package/api-docs/EcsManager.html +0 -880
- package/api-docs/EcsTaskProps.html +0 -238
- package/api-docs/EksClusterProps.html +0 -238
- package/api-docs/EksManager.html +0 -580
- package/api-docs/EventBusProps.html +0 -238
- package/api-docs/EventManager.html +0 -1454
- package/api-docs/EventRuleProps.html +0 -238
- package/api-docs/GraphQLApiLambda.html +0 -1671
- package/api-docs/GraphQLApiLambda.jpg +0 -0
- package/api-docs/GraphQlApiLambdaEnvironment.html +0 -238
- package/api-docs/GraphQlApiLambdaProps.html +0 -238
- package/api-docs/GraphWidgetProps.html +0 -238
- package/api-docs/HealthCheck.html +0 -238
- package/api-docs/IamManager.html +0 -3821
- package/api-docs/LambdaEdgeProps.html +0 -238
- package/api-docs/LambdaEnvironment.html +0 -238
- package/api-docs/LambdaManager.html +0 -2378
- package/api-docs/LambdaProps.html +0 -238
- package/api-docs/LifecycleRule.html +0 -238
- package/api-docs/LogManager.html +0 -955
- package/api-docs/LogProps.html +0 -238
- package/api-docs/LogQueryWidgetProps.html +0 -238
- package/api-docs/MetricFilterProps.html +0 -238
- package/api-docs/MetricProps.html +0 -238
- package/api-docs/NumericWidgetProps.html +0 -238
- package/api-docs/Route53Manager.html +0 -1460
- package/api-docs/Route53Props.html +0 -238
- package/api-docs/RuleProps.html +0 -238
- package/api-docs/S3BucketProps.html +0 -238
- package/api-docs/S3Manager.html +0 -1546
- package/api-docs/SSMParameterReader.html +0 -431
- package/api-docs/SSMParameterReaderProps.html +0 -238
- package/api-docs/SecretsManager.html +0 -1140
- package/api-docs/SiteWithEcsBackend.html +0 -2391
- package/api-docs/SiteWithEcsBackendProps.html +0 -238
- package/api-docs/SnsManager.html +0 -780
- package/api-docs/SsmManager.html +0 -955
- package/api-docs/StaticSite.html +0 -1358
- package/api-docs/StaticSiteProps.html +0 -238
- package/api-docs/SubscriptionProps.html +0 -238
- package/api-docs/TableProps.html +0 -238
- package/api-docs/TextWidgetProps.html +0 -238
- package/api-docs/VpcManager.html +0 -986
- package/api-docs/WafIPSetProps.html +0 -238
- package/api-docs/WafManager.html +0 -730
- package/api-docs/WafWebACLProps.html +0 -238
- package/api-docs/common_construct.ts.html +0 -279
- package/api-docs/common_stack.ts.html +0 -303
- package/api-docs/construct_api-to-eventbridge-target_api-destination-event.ts.html +0 -175
- package/api-docs/construct_api-to-eventbridge-target_api-destined-lambda.ts.html +0 -178
- package/api-docs/construct_api-to-eventbridge-target_api-destined-rest-api.ts.html +0 -190
- package/api-docs/construct_api-to-eventbridge-target_main.ts.html +0 -751
- package/api-docs/construct_graphql-api-lambda_main.ts.html +0 -408
- package/api-docs/construct_site-with-ecs-backend_main.ts.html +0 -544
- package/api-docs/construct_static-site_main.ts.html +0 -374
- package/api-docs/global.html +0 -1530
- package/api-docs/index.html +0 -208
- package/api-docs/logo.png +0 -0
- package/api-docs/manager_aws_acm-manager.ts.html +0 -236
- package/api-docs/manager_aws_api-manager.ts.html +0 -260
- package/api-docs/manager_aws_app-config-manager.ts.html +0 -310
- package/api-docs/manager_aws_cloudfront-manager.ts.html +0 -491
- package/api-docs/manager_aws_cloudtrail-manager.ts.html +0 -251
- package/api-docs/manager_aws_cloudwatch-manager.ts.html +0 -553
- package/api-docs/manager_aws_codebuild-manager.ts.html +0 -240
- package/api-docs/manager_aws_dynamodb-manager.ts.html +0 -219
- package/api-docs/manager_aws_ecr-manager.ts.html +0 -199
- package/api-docs/manager_aws_ecs-manager.ts.html +0 -259
- package/api-docs/manager_aws_eks-manager.ts.html +0 -260
- package/api-docs/manager_aws_event-manager.ts.html +0 -336
- package/api-docs/manager_aws_iam-manager.ts.html +0 -573
- package/api-docs/manager_aws_lambda-manager.ts.html +0 -400
- package/api-docs/manager_aws_log-manager.ts.html +0 -259
- package/api-docs/manager_aws_route53-manager.ts.html +0 -333
- package/api-docs/manager_aws_s3-manager.ts.html +0 -361
- package/api-docs/manager_aws_secrets-manager.ts.html +0 -274
- package/api-docs/manager_aws_sns-manager.ts.html +0 -246
- package/api-docs/manager_aws_ssm-manager.ts.html +0 -273
- package/api-docs/manager_aws_vpc-manager.ts.html +0 -244
- package/api-docs/manager_aws_waf-manager.ts.html +0 -232
- package/api-docs/scripts/app.min.js +0 -1
- package/api-docs/scripts/linenumber.js +0 -26
- package/api-docs/scripts/search.js +0 -39
- package/api-docs/styles/app.min.css +0 -1
- package/api-docs/styles/iframe.css +0 -13
- package/api-docs/styles/prettify-jsdoc.css +0 -111
- package/api-docs/styles/prettify-tomorrow.css +0 -132
- package/api-docs/styles/reset.css +0 -44
- package/api-docs/styles.css +0 -113
- package/api-docs/tutorial-Architecture.html +0 -151
- package/api-docs/tutorial-Build.html +0 -150
- package/api-docs/tutorial-CI-CD.html +0 -154
- package/api-docs/tutorial-Development.html +0 -227
- package/api-docs/types_aws_index.ts.html +0 -665
- package/api-docs/utils_aws_index.ts.html +0 -192
- package/api-docs/utils_index.ts.html +0 -227
- 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/layers/nodejs/node_modules/.bin/uuid +0 -2
- package/dist/app/api-destined-function/layers/nodejs/node_modules/.yarn-integrity +0 -109
- package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/LICENSE +0 -21
- package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/README.md +0 -16
- package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/index.d.mts +0 -10
- package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/index.d.ts +0 -80
- package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/package.json +0 -54
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/LICENSE.md +0 -9
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/README.md +0 -505
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/bin/uuid +0 -2
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/index.js +0 -9
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/md5.js +0 -215
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/nil.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/parse.js +0 -35
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/regex.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/rng.js +0 -19
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/stringify.js +0 -30
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v1.js +0 -95
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v3.js +0 -4
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v35.js +0 -64
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v4.js +0 -24
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v5.js +0 -4
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/validate.js +0 -7
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/version.js +0 -11
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/index.js +0 -9
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/md5.js +0 -13
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/nil.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/parse.js +0 -35
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/regex.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/rng.js +0 -12
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/sha1.js +0 -13
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/stringify.js +0 -29
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v1.js +0 -95
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v3.js +0 -4
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v35.js +0 -64
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v4.js +0 -24
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v5.js +0 -4
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/validate.js +0 -7
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/version.js +0 -11
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/index.js +0 -79
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/md5-browser.js +0 -223
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/md5.js +0 -23
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/nil.js +0 -8
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/parse.js +0 -45
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/regex.js +0 -8
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/rng-browser.js +0 -26
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/rng.js +0 -24
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/sha1-browser.js +0 -104
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/sha1.js +0 -23
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/stringify.js +0 -39
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuid.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/uuid-bin.js +0 -85
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v1.js +0 -107
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v3.js +0 -16
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v35.js +0 -78
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v4.js +0 -37
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v5.js +0 -16
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/validate.js +0 -17
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/version.js +0 -21
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/package.json +0 -135
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/wrapper.mjs +0 -10
- package/dist/app/api-destined-function/layers/nodejs/package.json +0 -30
- 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 -80
- package/dist/src/lib/common/construct.d.ts.map +0 -1
- package/dist/src/lib/common/construct.js +0 -134
- 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 -55
- package/dist/src/lib/common/stack.d.ts.map +0 -1
- package/dist/src/lib/common/stack.js +0 -148
- 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 -17
- 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 -18
- 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 -20
- 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 -20
- 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 -36
- 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 -30
- 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 -135
- 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 -488
- 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 -113
- 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 -202
- 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 -168
- 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 -328
- 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 -95
- package/dist/src/lib/construct/static-site/main.d.ts.map +0 -1
- package/dist/src/lib/construct/static-site/main.js +0 -169
- package/dist/src/lib/construct/static-site/main.js.map +0 -1
- package/dist/src/lib/manager/aws/acm-manager.d.ts +0 -47
- package/dist/src/lib/manager/aws/acm-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/acm-manager.js +0 -91
- package/dist/src/lib/manager/aws/acm-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/api-manager.d.ts +0 -44
- package/dist/src/lib/manager/aws/api-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/api-manager.js +0 -112
- package/dist/src/lib/manager/aws/api-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/app-config-manager.d.ts +0 -66
- 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 -149
- package/dist/src/lib/manager/aws/app-config-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/cloudfront-manager.d.ts +0 -113
- package/dist/src/lib/manager/aws/cloudfront-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/cloudfront-manager.js +0 -283
- package/dist/src/lib/manager/aws/cloudfront-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/cloudtrail-manager.d.ts +0 -49
- package/dist/src/lib/manager/aws/cloudtrail-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/cloudtrail-manager.js +0 -100
- package/dist/src/lib/manager/aws/cloudtrail-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/cloudwatch-manager.d.ts +0 -122
- package/dist/src/lib/manager/aws/cloudwatch-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/cloudwatch-manager.js +0 -353
- package/dist/src/lib/manager/aws/cloudwatch-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/codebuild-manager.d.ts +0 -41
- package/dist/src/lib/manager/aws/codebuild-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/codebuild-manager.js +0 -95
- package/dist/src/lib/manager/aws/codebuild-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/dynamodb-manager.d.ts +0 -33
- package/dist/src/lib/manager/aws/dynamodb-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/dynamodb-manager.js +0 -80
- package/dist/src/lib/manager/aws/dynamodb-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/ecr-manager.d.ts +0 -32
- package/dist/src/lib/manager/aws/ecr-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/ecr-manager.js +0 -61
- package/dist/src/lib/manager/aws/ecr-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/ecs-manager.d.ts +0 -49
- package/dist/src/lib/manager/aws/ecs-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/ecs-manager.js +0 -104
- package/dist/src/lib/manager/aws/ecs-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/eks-manager.d.ts +0 -37
- package/dist/src/lib/manager/aws/eks-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/eks-manager.js +0 -110
- package/dist/src/lib/manager/aws/eks-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/event-manager.d.ts +0 -68
- package/dist/src/lib/manager/aws/event-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/event-manager.js +0 -163
- package/dist/src/lib/manager/aws/event-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/iam-manager.d.ts +0 -155
- package/dist/src/lib/manager/aws/iam-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/iam-manager.js +0 -381
- 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 -95
- package/dist/src/lib/manager/aws/lambda-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/lambda-manager.js +0 -197
- package/dist/src/lib/manager/aws/lambda-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/log-manager.d.ts +0 -52
- package/dist/src/lib/manager/aws/log-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/log-manager.js +0 -109
- package/dist/src/lib/manager/aws/log-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/route53-manager.d.ts +0 -69
- package/dist/src/lib/manager/aws/route53-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/route53-manager.js +0 -159
- package/dist/src/lib/manager/aws/route53-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/s3-manager.d.ts +0 -74
- package/dist/src/lib/manager/aws/s3-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/s3-manager.js +0 -203
- package/dist/src/lib/manager/aws/s3-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/secrets-manager.d.ts +0 -58
- package/dist/src/lib/manager/aws/secrets-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/secrets-manager.js +0 -117
- package/dist/src/lib/manager/aws/secrets-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/sns-manager.d.ts +0 -43
- package/dist/src/lib/manager/aws/sns-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/sns-manager.js +0 -91
- package/dist/src/lib/manager/aws/sns-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/ssm-manager.d.ts +0 -61
- package/dist/src/lib/manager/aws/ssm-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/ssm-manager.js +0 -125
- package/dist/src/lib/manager/aws/ssm-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/vpc-manager.d.ts +0 -46
- package/dist/src/lib/manager/aws/vpc-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/vpc-manager.js +0 -95
- package/dist/src/lib/manager/aws/vpc-manager.js.map +0 -1
- package/dist/src/lib/manager/aws/waf-manager.d.ts +0 -40
- package/dist/src/lib/manager/aws/waf-manager.d.ts.map +0 -1
- package/dist/src/lib/manager/aws/waf-manager.js +0 -90
- 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 -480
- 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 -63
- package/dist/src/lib/utils/index.d.ts.map +0 -1
- package/dist/src/lib/utils/index.js +0 -85
- package/dist/src/lib/utils/index.js.map +0 -1
- package/img/ApiToEventBridgeTarget.jpg +0 -0
- package/img/GraphQLApiLambda.jpg +0 -0
- package/img/logo.png +0 -0
- package/theme/styles.css +0 -113
|
@@ -1,273 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
<!DOCTYPE html>
|
|
4
|
-
<html lang="en">
|
|
5
|
-
|
|
6
|
-
<head>
|
|
7
|
-
|
|
8
|
-
<meta charset="utf-8">
|
|
9
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
10
|
-
<title>Gradient Edge CDK Utils manager/aws/ssm-manager.ts</title>
|
|
11
|
-
|
|
12
|
-
<script src="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js"></script>
|
|
13
|
-
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
|
|
14
|
-
<script src="./build/entry.js"></script>
|
|
15
|
-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
|
16
|
-
<!--[if lt IE 9]>
|
|
17
|
-
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
18
|
-
<![endif]-->
|
|
19
|
-
<link href="https://fonts.googleapis.com/css?family=Roboto:100,400,700|Inconsolata,700" rel="stylesheet">
|
|
20
|
-
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
|
|
21
|
-
<link type="text/css" rel="stylesheet" href="https://jmblog.github.io/color-themes-for-google-code-prettify/themes/tomorrow-night.min.css">
|
|
22
|
-
<link type="text/css" rel="stylesheet" href="styles/app.min.css">
|
|
23
|
-
<link type="text/css" rel="stylesheet" href="styles/iframe.css">
|
|
24
|
-
<link type="text/css" rel="stylesheet" href="styles.css">
|
|
25
|
-
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
</head>
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
<body class="layout small-header">
|
|
33
|
-
<div id="stickyNavbarOverlay"></div>
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
<div class="top-nav">
|
|
37
|
-
<div class="inner">
|
|
38
|
-
<a id="hamburger" role="button" class="navbar-burger" aria-label="menu" aria-expanded="false">
|
|
39
|
-
<span aria-hidden="true"></span>
|
|
40
|
-
<span aria-hidden="true"></span>
|
|
41
|
-
<span aria-hidden="true"></span>
|
|
42
|
-
</a>
|
|
43
|
-
<div class="logo">
|
|
44
|
-
|
|
45
|
-
<a class="image" href="index.html">
|
|
46
|
-
<img src="logo.png" alt="logo">
|
|
47
|
-
</a>
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
<a href="index.html">
|
|
51
|
-
<h1 class="navbar-item">Gradient Edge CDK Utils Documentation</h1>
|
|
52
|
-
</a>
|
|
53
|
-
|
|
54
|
-
</div>
|
|
55
|
-
<div class="menu">
|
|
56
|
-
|
|
57
|
-
<div class="navigation">
|
|
58
|
-
<a
|
|
59
|
-
href="index.html"
|
|
60
|
-
class="link"
|
|
61
|
-
>
|
|
62
|
-
API Documentation
|
|
63
|
-
</a>
|
|
64
|
-
|
|
65
|
-
<div class="dropdown is-hoverable is-right">
|
|
66
|
-
<a class="dropdown-trigger link">
|
|
67
|
-
Tutorials
|
|
68
|
-
<i class="fas fa-chevron-down fa-xs"></i>
|
|
69
|
-
</a>
|
|
70
|
-
<div class="dropdown-menu">
|
|
71
|
-
<div class="dropdown-content">
|
|
72
|
-
|
|
73
|
-
<a class="dropdown-item" href="tutorial-Architecture.html">
|
|
74
|
-
Architecture
|
|
75
|
-
</a>
|
|
76
|
-
|
|
77
|
-
<a class="dropdown-item" href="tutorial-Build.html">
|
|
78
|
-
Build
|
|
79
|
-
</a>
|
|
80
|
-
|
|
81
|
-
<a class="dropdown-item" href="tutorial-CI-CD.html">
|
|
82
|
-
CI-CD
|
|
83
|
-
</a>
|
|
84
|
-
|
|
85
|
-
<a class="dropdown-item" href="tutorial-Development.html">
|
|
86
|
-
Development
|
|
87
|
-
</a>
|
|
88
|
-
|
|
89
|
-
</div>
|
|
90
|
-
</div>
|
|
91
|
-
</div>
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
<a
|
|
96
|
-
class="link user-link "
|
|
97
|
-
href="https://github.com/gradientedge/cdk-utils"
|
|
98
|
-
>
|
|
99
|
-
Github
|
|
100
|
-
</a>
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
</div>
|
|
105
|
-
</div>
|
|
106
|
-
</div>
|
|
107
|
-
</div>
|
|
108
|
-
<div id="main">
|
|
109
|
-
<div
|
|
110
|
-
class="sidebar "
|
|
111
|
-
id="sidebarNav"
|
|
112
|
-
>
|
|
113
|
-
|
|
114
|
-
<div class="search-wrapper">
|
|
115
|
-
<input id="search" type="text" placeholder="Search docs..." class="input">
|
|
116
|
-
</div>
|
|
117
|
-
|
|
118
|
-
<nav>
|
|
119
|
-
|
|
120
|
-
<h2><a href="index.html">Documentation</a></h2><div class="category"></div><div class="category"><h2>cdk-utils.acm-manager</h2><h3>Classes / Construct</h3><ul><li><a href="AcmManager.html">AcmManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="AcmProps.html">AcmProps</a></li></ul></div><div class="category"><h2>cdk-utils.api-manager</h2><h3>Classes / Construct</h3><ul><li><a href="ApiManager.html">ApiManager</a></li></ul></div><div class="category"><h2>cdk-utils.api-to-eventbridge-target</h2><h3>Classes / member</h3><ul><li><a href="ApiDestinationEvent.html">ApiDestinationEvent</a></li><li><a href="ApiDestinedLambda.html">ApiDestinedLambda</a></li><li><a href="ApiDestinedRestApi.html">ApiDestinedRestApi</a></li></ul><h3>Classes / construct</h3><ul><li><a href="ApiToEventBridgeTarget.html">ApiToEventBridgeTarget</a></li></ul><h3>Interfaces / Types</h3><ul><li><a href="ApiDestinationEventType.html">ApiDestinationEventType</a></li><li><a href="ApiDestinedLambdaEnvironment.html">ApiDestinedLambdaEnvironment</a></li><li><a href="ApiDestinedLambdaType.html">ApiDestinedLambdaType</a></li><li><a href="ApiDestinedRestApiType.html">ApiDestinedRestApiType</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="ApiToEventBridgeTargetEventProps.html">ApiToEventBridgeTargetEventProps</a></li><li><a href="ApiToEventBridgeTargetLambdaProps.html">ApiToEventBridgeTargetLambdaProps</a></li><li><a href="ApiToEventBridgeTargetProps.html">ApiToEventBridgeTargetProps</a></li><li><a href="ApiToEventBridgeTargetRestApiProps.html">ApiToEventBridgeTargetRestApiProps</a></li></ul></div><div class="category"><h2>cdk-utils.app-config-manager</h2><h3>Classes / Construct</h3><ul><li><a href="AppConfigManager.html">AppConfigManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="AppConfigProps.html">AppConfigProps</a></li></ul><h3>Global</h3><ul><li><a href="global.html#ArnsByRegion">ArnsByRegion</a></li></ul></div><div class="category"><h2>cdk-utils.cloudfront-manager</h2><h3>Classes / Construct</h3><ul><li><a href="CloudFrontManager.html">CloudFrontManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="CloudfrontFunctionProps.html">CloudfrontFunctionProps</a></li><li><a href="CloudFrontProps.html">CloudFrontProps</a></li><li><a href="DistributionProps.html">DistributionProps</a></li></ul></div><div class="category"><h2>cdk-utils.cloudtrail-manager</h2><h3>Classes / Construct</h3><ul><li><a href="CloudTrailManager.html">CloudTrailManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="CloudTrailProps.html">CloudTrailProps</a></li></ul></div><div class="category"><h2>cdk-utils.cloudwatch-manager</h2><h3>Classes / Construct</h3><ul><li><a href="CloudWatchManager.html">CloudWatchManager</a></li><li><a href="LogManager.html">LogManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="AlarmProps.html">AlarmProps</a></li><li><a href="AlarmStatusWidgetProps.html">AlarmStatusWidgetProps</a></li><li><a href="DashboardProps.html">DashboardProps</a></li><li><a href="GraphWidgetProps.html">GraphWidgetProps</a></li><li><a href="LogProps.html">LogProps</a></li><li><a href="LogQueryWidgetProps.html">LogQueryWidgetProps</a></li><li><a href="MetricFilterProps.html">MetricFilterProps</a></li><li><a href="MetricProps.html">MetricProps</a></li><li><a href="NumericWidgetProps.html">NumericWidgetProps</a></li><li><a href="TextWidgetProps.html">TextWidgetProps</a></li></ul><h3>Global</h3><ul><li><a href="global.html#CloudWatchWidgetType">CloudWatchWidgetType</a></li></ul></div><div class="category"><h2>cdk-utils.codebuild-manager</h2><h3>Classes / Construct</h3><ul><li><a href="CodeBuildManager.html">CodeBuildManager</a></li></ul></div><div class="category"><h2>cdk-utils.common-construct</h2><h3>Classes / Construct</h3><ul><li><a href="CommonConstruct.html">CommonConstruct</a></li></ul></div><div class="category"><h2>cdk-utils.common-stack</h2><h3>Classes / Construct</h3><ul><li><a href="CommonStack.html">CommonStack</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="CommonStackProps.html">CommonStackProps</a></li></ul></div><div class="category"><h2>cdk-utils.dynamodb-manager</h2><h3>Classes / Construct</h3><ul><li><a href="DynamodbManager.html">DynamodbManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="TableProps.html">TableProps</a></li></ul></div><div class="category"><h2>cdk-utils.ecr-manager</h2><h3>Classes / Construct</h3><ul><li><a href="EcrManager.html">EcrManager</a></li></ul></div><div class="category"><h2>cdk-utils.ecs-manager</h2><h3>Classes / Construct</h3><ul><li><a href="EcsManager.html">EcsManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="EcsClusterProps.html">EcsClusterProps</a></li><li><a href="EcsTaskProps.html">EcsTaskProps</a></li></ul></div><div class="category"><h2>cdk-utils.eks-manager</h2><h3>Classes / Construct</h3><ul><li><a href="EksManager.html">EksManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="EksClusterProps.html">EksClusterProps</a></li></ul></div><div class="category"><h2>cdk-utils.event-manager</h2><h3>Classes / Construct</h3><ul><li><a href="EventManager.html">EventManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="EventBusProps.html">EventBusProps</a></li><li><a href="EventRuleProps.html">EventRuleProps</a></li><li><a href="RuleProps.html">RuleProps</a></li></ul></div><div class="category"><h2>cdk-utils.graphql-api-lambda</h2><h3>Classes / construct</h3><ul><li><a href="GraphQLApiLambda.html">GraphQLApiLambda</a></li></ul><h3>Interfaces / Types</h3><ul><li><a href="GraphQlApiLambdaEnvironment.html">GraphQlApiLambdaEnvironment</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="GraphQlApiLambdaProps.html">GraphQlApiLambdaProps</a></li></ul></div><div class="category"><h2>cdk-utils.iam-manager</h2><h3>Classes / Construct</h3><ul><li><a href="IamManager.html">IamManager</a></li></ul></div><div class="category"><h2>cdk-utils.lambda-manager</h2><h3>Classes / Construct</h3><ul><li><a href="LambdaManager.html">LambdaManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="LambdaEdgeProps.html">LambdaEdgeProps</a></li><li><a href="LambdaProps.html">LambdaProps</a></li></ul><h3>Interfaces / Types</h3><ul><li><a href="LambdaEnvironment.html">LambdaEnvironment</a></li></ul></div><div class="category"><h2>cdk-utils.route53-manager</h2><h3>Classes / Construct</h3><ul><li><a href="Route53Manager.html">Route53Manager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="Route53Props.html">Route53Props</a></li></ul></div><div class="category"><h2>cdk-utils.s3-manager</h2><h3>Classes / Construct</h3><ul><li><a href="S3Manager.html">S3Manager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="LifecycleRule.html">LifecycleRule</a></li><li><a href="S3BucketProps.html">S3BucketProps</a></li></ul></div><div class="category"><h2>cdk-utils.secrets-manager</h2><h3>Classes / Construct</h3><ul><li><a href="SecretsManager.html">SecretsManager</a></li></ul></div><div class="category"><h2>cdk-utils.site-with-ecs-backend</h2><h3>Classes / construct</h3><ul><li><a href="SiteWithEcsBackend.html">SiteWithEcsBackend</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="HealthCheck.html">HealthCheck</a></li><li><a href="SiteWithEcsBackendProps.html">SiteWithEcsBackendProps</a></li></ul></div><div class="category"><h2>cdk-utils.sns-manager</h2><h3>Classes / Construct</h3><ul><li><a href="SnsManager.html">SnsManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="SubscriptionProps.html">SubscriptionProps</a></li></ul></div><div class="category"><h2>cdk-utils.ssm-manager</h2><h3>Classes / Construct</h3><ul><li><a href="SsmManager.html">SsmManager</a></li><li><a href="SSMParameterReader.html">SSMParameterReader</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="SSMParameterReaderProps.html">SSMParameterReaderProps</a></li></ul></div><div class="category"><h2>cdk-utils.static-site</h2><h3>Classes / construct</h3><ul><li><a href="StaticSite.html">StaticSite</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="StaticSiteProps.html">StaticSiteProps</a></li></ul></div><div class="category"><h2>cdk-utils.utils</h2><h3>Global</h3><ul><li><a href="global.html#createCfnOutput">createCfnOutput</a></li><li><a href="global.html#defaultResponseObject">defaultResponseObject</a></li><li><a href="global.html#isDevStage">isDevStage</a></li><li><a href="global.html#isPrdStage">isPrdStage</a></li><li><a href="global.html#isTestStage">isTestStage</a></li><li><a href="global.html#isUatStage">isUatStage</a></li><li><a href="global.html#LogLevel">LogLevel</a></li><li><a href="global.html#redirectError">redirectError</a></li><li><a href="global.html#redirectSuccess">redirectSuccess</a></li></ul></div><div class="category"><h2>cdk-utils.vpc-manager</h2><h3>Classes / Construct</h3><ul><li><a href="VpcManager.html">VpcManager</a></li></ul><h3>Global</h3><ul><li><a href="global.html#CommonVpcIdentifier">CommonVpcIdentifier</a></li></ul></div><div class="category"><h2>cdk-utils.waf-manager</h2><h3>Classes / Construct</h3><ul><li><a href="WafManager.html">WafManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="WafIPSetProps.html">WafIPSetProps</a></li><li><a href="WafWebACLProps.html">WafWebACLProps</a></li></ul></div>
|
|
121
|
-
|
|
122
|
-
</nav>
|
|
123
|
-
</div>
|
|
124
|
-
<div class="core" id="main-content-wrapper">
|
|
125
|
-
<div class="content">
|
|
126
|
-
<header class="page-title">
|
|
127
|
-
<p>Source</p>
|
|
128
|
-
<h1>manager/aws/ssm-manager.ts</h1>
|
|
129
|
-
</header>
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
<section>
|
|
136
|
-
<article>
|
|
137
|
-
<pre class="prettyprint source linenums"><code>import * as ssm from 'aws-cdk-lib/aws-ssm'
|
|
138
|
-
import * as cr from 'aws-cdk-lib/custom-resources'
|
|
139
|
-
import * as common from '../../common'
|
|
140
|
-
import * as types from '../../types'
|
|
141
|
-
import * as utils from '../../utils'
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* @stability stable
|
|
145
|
-
* @category cdk-utils.ssm-manager
|
|
146
|
-
* @subcategory Construct
|
|
147
|
-
* @classdesc Provides operations on AWS Systems Manager.
|
|
148
|
-
* - A new instance of this class is injected into {@link common.CommonConstruct} constructor.
|
|
149
|
-
* - If a custom construct extends {@link common.CommonConstruct}, an instance is available within the context.
|
|
150
|
-
* @example
|
|
151
|
-
* import { common.CommonConstruct } from '@gradientedge/cdk-utils'
|
|
152
|
-
*
|
|
153
|
-
* class CustomConstruct extends common.CommonConstruct {
|
|
154
|
-
* constructor(parent: cdk.Construct, id: string, props: common.CommonStackProps) {
|
|
155
|
-
* super(parent, id, props)
|
|
156
|
-
* this.props = props
|
|
157
|
-
* this.acmManager.writeStringToParameters('MyParameter', this, ...props)
|
|
158
|
-
* }
|
|
159
|
-
* }
|
|
160
|
-
*
|
|
161
|
-
* @see [CDK Systems Manager Module]{@link https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ssm-readme.html}
|
|
162
|
-
*/
|
|
163
|
-
export class SsmManager {
|
|
164
|
-
/**
|
|
165
|
-
* Method to write a string parameter to the parameters store
|
|
166
|
-
* @param {string} id scoped id of the resource
|
|
167
|
-
* @param {common.CommonConstruct} scope scope in which this resource is defined
|
|
168
|
-
* @param {ssm.StringParameterProps} props parameter props
|
|
169
|
-
*/
|
|
170
|
-
public writeStringToParameters(id: string, scope: common.CommonConstruct, props: ssm.StringParameterProps) {
|
|
171
|
-
if (!props) throw `Parameter props undefined`
|
|
172
|
-
|
|
173
|
-
const parameter = new ssm.StringParameter(scope, `${id}`, {
|
|
174
|
-
parameterName: `${props.parameterName}-${scope.props.stage}`,
|
|
175
|
-
description: `${props.description} - ${scope.props.stage} stage`,
|
|
176
|
-
stringValue: props.stringValue,
|
|
177
|
-
})
|
|
178
|
-
|
|
179
|
-
utils.createCfnOutput(`${id}-parameterArn`, scope, parameter.parameterArn)
|
|
180
|
-
utils.createCfnOutput(`${id}-parameterName`, scope, parameter.parameterName)
|
|
181
|
-
|
|
182
|
-
return parameter
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* Method to read a string parameter from the parameters store
|
|
187
|
-
* @param {string} id scoped id of the resource
|
|
188
|
-
* @param {common.CommonConstruct} scope scope in which this resource is defined
|
|
189
|
-
* @param {string} parameterName parameter name to lookup
|
|
190
|
-
*/
|
|
191
|
-
public readStringParameter(id: string, scope: common.CommonConstruct, parameterName: string) {
|
|
192
|
-
if (!parameterName || parameterName == '') throw 'Invalid parameter name'
|
|
193
|
-
|
|
194
|
-
return ssm.StringParameter.fromStringParameterName(scope, `${id}`, parameterName).stringValue
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
/**
|
|
198
|
-
* Method to read a string parameter from the parameters store in a given region
|
|
199
|
-
* @param {string} id scoped id of the resource
|
|
200
|
-
* @param {common.CommonConstruct} scope scope in which this resource is defined
|
|
201
|
-
* @param {string} parameterName parameter name to lookup
|
|
202
|
-
* @param {string} region region name to lookup parameter
|
|
203
|
-
*/
|
|
204
|
-
public readStringParameterFromRegion(
|
|
205
|
-
id: string,
|
|
206
|
-
scope: common.CommonConstruct,
|
|
207
|
-
parameterName: string,
|
|
208
|
-
region: string
|
|
209
|
-
) {
|
|
210
|
-
if (!parameterName || parameterName == '') throw 'Invalid parameter name'
|
|
211
|
-
if (!region || region == '') throw 'Invalid region'
|
|
212
|
-
|
|
213
|
-
return new SSMParameterReader(scope, `${id}`, {
|
|
214
|
-
parameterName: parameterName,
|
|
215
|
-
region: region,
|
|
216
|
-
}).getParameterValue()
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
* @category cdk-utils.ssm-manager
|
|
222
|
-
* @subcategory Construct
|
|
223
|
-
* @classdesc Provides utilities to read same/cross region SSM parameters
|
|
224
|
-
*/
|
|
225
|
-
export class SSMParameterReader extends cr.AwsCustomResource {
|
|
226
|
-
constructor(scope: common.CommonConstruct, name: string, props: types.SSMParameterReaderProps) {
|
|
227
|
-
const { parameterName, region } = props
|
|
228
|
-
|
|
229
|
-
const ssmAwsSdkCall: cr.AwsSdkCall = {
|
|
230
|
-
service: 'SSM',
|
|
231
|
-
action: 'getParameter',
|
|
232
|
-
parameters: {
|
|
233
|
-
Name: `${parameterName}-${scope.props.stage}`,
|
|
234
|
-
},
|
|
235
|
-
region,
|
|
236
|
-
physicalResourceId: cr.PhysicalResourceId.of(Date.now().toString()),
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
super(scope, name, {
|
|
240
|
-
onUpdate: ssmAwsSdkCall,
|
|
241
|
-
policy: cr.AwsCustomResourcePolicy.fromSdkCalls({ resources: cr.AwsCustomResourcePolicy.ANY_RESOURCE }),
|
|
242
|
-
})
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
/**
|
|
246
|
-
*
|
|
247
|
-
*/
|
|
248
|
-
public getParameterValue(): string {
|
|
249
|
-
return this.getResponseField('Parameter.Value')
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
</code></pre>
|
|
253
|
-
</article>
|
|
254
|
-
</section>
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
</div>
|
|
260
|
-
|
|
261
|
-
</div>
|
|
262
|
-
<div id="side-nav" class="side-nav">
|
|
263
|
-
</div>
|
|
264
|
-
</div>
|
|
265
|
-
<script src="scripts/app.min.js"></script>
|
|
266
|
-
<script>PR.prettyPrint();</script>
|
|
267
|
-
<script src="scripts/linenumber.js"> </script>
|
|
268
|
-
|
|
269
|
-
<script src="scripts/search.js"> </script>
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
</body>
|
|
273
|
-
</html>
|
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
<!DOCTYPE html>
|
|
4
|
-
<html lang="en">
|
|
5
|
-
|
|
6
|
-
<head>
|
|
7
|
-
|
|
8
|
-
<meta charset="utf-8">
|
|
9
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
10
|
-
<title>Gradient Edge CDK Utils manager/aws/vpc-manager.ts</title>
|
|
11
|
-
|
|
12
|
-
<script src="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js"></script>
|
|
13
|
-
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
|
|
14
|
-
<script src="./build/entry.js"></script>
|
|
15
|
-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
|
16
|
-
<!--[if lt IE 9]>
|
|
17
|
-
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
18
|
-
<![endif]-->
|
|
19
|
-
<link href="https://fonts.googleapis.com/css?family=Roboto:100,400,700|Inconsolata,700" rel="stylesheet">
|
|
20
|
-
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
|
|
21
|
-
<link type="text/css" rel="stylesheet" href="https://jmblog.github.io/color-themes-for-google-code-prettify/themes/tomorrow-night.min.css">
|
|
22
|
-
<link type="text/css" rel="stylesheet" href="styles/app.min.css">
|
|
23
|
-
<link type="text/css" rel="stylesheet" href="styles/iframe.css">
|
|
24
|
-
<link type="text/css" rel="stylesheet" href="styles.css">
|
|
25
|
-
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
</head>
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
<body class="layout small-header">
|
|
33
|
-
<div id="stickyNavbarOverlay"></div>
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
<div class="top-nav">
|
|
37
|
-
<div class="inner">
|
|
38
|
-
<a id="hamburger" role="button" class="navbar-burger" aria-label="menu" aria-expanded="false">
|
|
39
|
-
<span aria-hidden="true"></span>
|
|
40
|
-
<span aria-hidden="true"></span>
|
|
41
|
-
<span aria-hidden="true"></span>
|
|
42
|
-
</a>
|
|
43
|
-
<div class="logo">
|
|
44
|
-
|
|
45
|
-
<a class="image" href="index.html">
|
|
46
|
-
<img src="logo.png" alt="logo">
|
|
47
|
-
</a>
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
<a href="index.html">
|
|
51
|
-
<h1 class="navbar-item">Gradient Edge CDK Utils Documentation</h1>
|
|
52
|
-
</a>
|
|
53
|
-
|
|
54
|
-
</div>
|
|
55
|
-
<div class="menu">
|
|
56
|
-
|
|
57
|
-
<div class="navigation">
|
|
58
|
-
<a
|
|
59
|
-
href="index.html"
|
|
60
|
-
class="link"
|
|
61
|
-
>
|
|
62
|
-
API Documentation
|
|
63
|
-
</a>
|
|
64
|
-
|
|
65
|
-
<div class="dropdown is-hoverable is-right">
|
|
66
|
-
<a class="dropdown-trigger link">
|
|
67
|
-
Tutorials
|
|
68
|
-
<i class="fas fa-chevron-down fa-xs"></i>
|
|
69
|
-
</a>
|
|
70
|
-
<div class="dropdown-menu">
|
|
71
|
-
<div class="dropdown-content">
|
|
72
|
-
|
|
73
|
-
<a class="dropdown-item" href="tutorial-Architecture.html">
|
|
74
|
-
Architecture
|
|
75
|
-
</a>
|
|
76
|
-
|
|
77
|
-
<a class="dropdown-item" href="tutorial-Build.html">
|
|
78
|
-
Build
|
|
79
|
-
</a>
|
|
80
|
-
|
|
81
|
-
<a class="dropdown-item" href="tutorial-CI-CD.html">
|
|
82
|
-
CI-CD
|
|
83
|
-
</a>
|
|
84
|
-
|
|
85
|
-
<a class="dropdown-item" href="tutorial-Development.html">
|
|
86
|
-
Development
|
|
87
|
-
</a>
|
|
88
|
-
|
|
89
|
-
</div>
|
|
90
|
-
</div>
|
|
91
|
-
</div>
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
<a
|
|
96
|
-
class="link user-link "
|
|
97
|
-
href="https://github.com/gradientedge/cdk-utils"
|
|
98
|
-
>
|
|
99
|
-
Github
|
|
100
|
-
</a>
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
</div>
|
|
105
|
-
</div>
|
|
106
|
-
</div>
|
|
107
|
-
</div>
|
|
108
|
-
<div id="main">
|
|
109
|
-
<div
|
|
110
|
-
class="sidebar "
|
|
111
|
-
id="sidebarNav"
|
|
112
|
-
>
|
|
113
|
-
|
|
114
|
-
<div class="search-wrapper">
|
|
115
|
-
<input id="search" type="text" placeholder="Search docs..." class="input">
|
|
116
|
-
</div>
|
|
117
|
-
|
|
118
|
-
<nav>
|
|
119
|
-
|
|
120
|
-
<h2><a href="index.html">Documentation</a></h2><div class="category"></div><div class="category"><h2>cdk-utils.acm-manager</h2><h3>Classes / Construct</h3><ul><li><a href="AcmManager.html">AcmManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="AcmProps.html">AcmProps</a></li></ul></div><div class="category"><h2>cdk-utils.api-manager</h2><h3>Classes / Construct</h3><ul><li><a href="ApiManager.html">ApiManager</a></li></ul></div><div class="category"><h2>cdk-utils.api-to-eventbridge-target</h2><h3>Classes / member</h3><ul><li><a href="ApiDestinationEvent.html">ApiDestinationEvent</a></li><li><a href="ApiDestinedLambda.html">ApiDestinedLambda</a></li><li><a href="ApiDestinedRestApi.html">ApiDestinedRestApi</a></li></ul><h3>Classes / construct</h3><ul><li><a href="ApiToEventBridgeTarget.html">ApiToEventBridgeTarget</a></li></ul><h3>Interfaces / Types</h3><ul><li><a href="ApiDestinationEventType.html">ApiDestinationEventType</a></li><li><a href="ApiDestinedLambdaEnvironment.html">ApiDestinedLambdaEnvironment</a></li><li><a href="ApiDestinedLambdaType.html">ApiDestinedLambdaType</a></li><li><a href="ApiDestinedRestApiType.html">ApiDestinedRestApiType</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="ApiToEventBridgeTargetEventProps.html">ApiToEventBridgeTargetEventProps</a></li><li><a href="ApiToEventBridgeTargetLambdaProps.html">ApiToEventBridgeTargetLambdaProps</a></li><li><a href="ApiToEventBridgeTargetProps.html">ApiToEventBridgeTargetProps</a></li><li><a href="ApiToEventBridgeTargetRestApiProps.html">ApiToEventBridgeTargetRestApiProps</a></li></ul></div><div class="category"><h2>cdk-utils.app-config-manager</h2><h3>Classes / Construct</h3><ul><li><a href="AppConfigManager.html">AppConfigManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="AppConfigProps.html">AppConfigProps</a></li></ul><h3>Global</h3><ul><li><a href="global.html#ArnsByRegion">ArnsByRegion</a></li></ul></div><div class="category"><h2>cdk-utils.cloudfront-manager</h2><h3>Classes / Construct</h3><ul><li><a href="CloudFrontManager.html">CloudFrontManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="CloudfrontFunctionProps.html">CloudfrontFunctionProps</a></li><li><a href="CloudFrontProps.html">CloudFrontProps</a></li><li><a href="DistributionProps.html">DistributionProps</a></li></ul></div><div class="category"><h2>cdk-utils.cloudtrail-manager</h2><h3>Classes / Construct</h3><ul><li><a href="CloudTrailManager.html">CloudTrailManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="CloudTrailProps.html">CloudTrailProps</a></li></ul></div><div class="category"><h2>cdk-utils.cloudwatch-manager</h2><h3>Classes / Construct</h3><ul><li><a href="CloudWatchManager.html">CloudWatchManager</a></li><li><a href="LogManager.html">LogManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="AlarmProps.html">AlarmProps</a></li><li><a href="AlarmStatusWidgetProps.html">AlarmStatusWidgetProps</a></li><li><a href="DashboardProps.html">DashboardProps</a></li><li><a href="GraphWidgetProps.html">GraphWidgetProps</a></li><li><a href="LogProps.html">LogProps</a></li><li><a href="LogQueryWidgetProps.html">LogQueryWidgetProps</a></li><li><a href="MetricFilterProps.html">MetricFilterProps</a></li><li><a href="MetricProps.html">MetricProps</a></li><li><a href="NumericWidgetProps.html">NumericWidgetProps</a></li><li><a href="TextWidgetProps.html">TextWidgetProps</a></li></ul><h3>Global</h3><ul><li><a href="global.html#CloudWatchWidgetType">CloudWatchWidgetType</a></li></ul></div><div class="category"><h2>cdk-utils.codebuild-manager</h2><h3>Classes / Construct</h3><ul><li><a href="CodeBuildManager.html">CodeBuildManager</a></li></ul></div><div class="category"><h2>cdk-utils.common-construct</h2><h3>Classes / Construct</h3><ul><li><a href="CommonConstruct.html">CommonConstruct</a></li></ul></div><div class="category"><h2>cdk-utils.common-stack</h2><h3>Classes / Construct</h3><ul><li><a href="CommonStack.html">CommonStack</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="CommonStackProps.html">CommonStackProps</a></li></ul></div><div class="category"><h2>cdk-utils.dynamodb-manager</h2><h3>Classes / Construct</h3><ul><li><a href="DynamodbManager.html">DynamodbManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="TableProps.html">TableProps</a></li></ul></div><div class="category"><h2>cdk-utils.ecr-manager</h2><h3>Classes / Construct</h3><ul><li><a href="EcrManager.html">EcrManager</a></li></ul></div><div class="category"><h2>cdk-utils.ecs-manager</h2><h3>Classes / Construct</h3><ul><li><a href="EcsManager.html">EcsManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="EcsClusterProps.html">EcsClusterProps</a></li><li><a href="EcsTaskProps.html">EcsTaskProps</a></li></ul></div><div class="category"><h2>cdk-utils.eks-manager</h2><h3>Classes / Construct</h3><ul><li><a href="EksManager.html">EksManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="EksClusterProps.html">EksClusterProps</a></li></ul></div><div class="category"><h2>cdk-utils.event-manager</h2><h3>Classes / Construct</h3><ul><li><a href="EventManager.html">EventManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="EventBusProps.html">EventBusProps</a></li><li><a href="EventRuleProps.html">EventRuleProps</a></li><li><a href="RuleProps.html">RuleProps</a></li></ul></div><div class="category"><h2>cdk-utils.graphql-api-lambda</h2><h3>Classes / construct</h3><ul><li><a href="GraphQLApiLambda.html">GraphQLApiLambda</a></li></ul><h3>Interfaces / Types</h3><ul><li><a href="GraphQlApiLambdaEnvironment.html">GraphQlApiLambdaEnvironment</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="GraphQlApiLambdaProps.html">GraphQlApiLambdaProps</a></li></ul></div><div class="category"><h2>cdk-utils.iam-manager</h2><h3>Classes / Construct</h3><ul><li><a href="IamManager.html">IamManager</a></li></ul></div><div class="category"><h2>cdk-utils.lambda-manager</h2><h3>Classes / Construct</h3><ul><li><a href="LambdaManager.html">LambdaManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="LambdaEdgeProps.html">LambdaEdgeProps</a></li><li><a href="LambdaProps.html">LambdaProps</a></li></ul><h3>Interfaces / Types</h3><ul><li><a href="LambdaEnvironment.html">LambdaEnvironment</a></li></ul></div><div class="category"><h2>cdk-utils.route53-manager</h2><h3>Classes / Construct</h3><ul><li><a href="Route53Manager.html">Route53Manager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="Route53Props.html">Route53Props</a></li></ul></div><div class="category"><h2>cdk-utils.s3-manager</h2><h3>Classes / Construct</h3><ul><li><a href="S3Manager.html">S3Manager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="LifecycleRule.html">LifecycleRule</a></li><li><a href="S3BucketProps.html">S3BucketProps</a></li></ul></div><div class="category"><h2>cdk-utils.secrets-manager</h2><h3>Classes / Construct</h3><ul><li><a href="SecretsManager.html">SecretsManager</a></li></ul></div><div class="category"><h2>cdk-utils.site-with-ecs-backend</h2><h3>Classes / construct</h3><ul><li><a href="SiteWithEcsBackend.html">SiteWithEcsBackend</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="HealthCheck.html">HealthCheck</a></li><li><a href="SiteWithEcsBackendProps.html">SiteWithEcsBackendProps</a></li></ul></div><div class="category"><h2>cdk-utils.sns-manager</h2><h3>Classes / Construct</h3><ul><li><a href="SnsManager.html">SnsManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="SubscriptionProps.html">SubscriptionProps</a></li></ul></div><div class="category"><h2>cdk-utils.ssm-manager</h2><h3>Classes / Construct</h3><ul><li><a href="SsmManager.html">SsmManager</a></li><li><a href="SSMParameterReader.html">SSMParameterReader</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="SSMParameterReaderProps.html">SSMParameterReaderProps</a></li></ul></div><div class="category"><h2>cdk-utils.static-site</h2><h3>Classes / construct</h3><ul><li><a href="StaticSite.html">StaticSite</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="StaticSiteProps.html">StaticSiteProps</a></li></ul></div><div class="category"><h2>cdk-utils.utils</h2><h3>Global</h3><ul><li><a href="global.html#createCfnOutput">createCfnOutput</a></li><li><a href="global.html#defaultResponseObject">defaultResponseObject</a></li><li><a href="global.html#isDevStage">isDevStage</a></li><li><a href="global.html#isPrdStage">isPrdStage</a></li><li><a href="global.html#isTestStage">isTestStage</a></li><li><a href="global.html#isUatStage">isUatStage</a></li><li><a href="global.html#LogLevel">LogLevel</a></li><li><a href="global.html#redirectError">redirectError</a></li><li><a href="global.html#redirectSuccess">redirectSuccess</a></li></ul></div><div class="category"><h2>cdk-utils.vpc-manager</h2><h3>Classes / Construct</h3><ul><li><a href="VpcManager.html">VpcManager</a></li></ul><h3>Global</h3><ul><li><a href="global.html#CommonVpcIdentifier">CommonVpcIdentifier</a></li></ul></div><div class="category"><h2>cdk-utils.waf-manager</h2><h3>Classes / Construct</h3><ul><li><a href="WafManager.html">WafManager</a></li></ul><h3>Interfaces / Properties</h3><ul><li><a href="WafIPSetProps.html">WafIPSetProps</a></li><li><a href="WafWebACLProps.html">WafWebACLProps</a></li></ul></div>
|
|
121
|
-
|
|
122
|
-
</nav>
|
|
123
|
-
</div>
|
|
124
|
-
<div class="core" id="main-content-wrapper">
|
|
125
|
-
<div class="content">
|
|
126
|
-
<header class="page-title">
|
|
127
|
-
<p>Source</p>
|
|
128
|
-
<h1>manager/aws/vpc-manager.ts</h1>
|
|
129
|
-
</header>
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
<section>
|
|
136
|
-
<article>
|
|
137
|
-
<pre class="prettyprint source linenums"><code>import * as cdk from 'aws-cdk-lib'
|
|
138
|
-
import * as ec2 from 'aws-cdk-lib/aws-ec2'
|
|
139
|
-
import * as common from '../../common'
|
|
140
|
-
import * as utils from '../../utils'
|
|
141
|
-
|
|
142
|
-
/**
|
|
143
|
-
* @stability stable
|
|
144
|
-
* @category cdk-utils.vpc-manager
|
|
145
|
-
* @subcategory Construct
|
|
146
|
-
*/
|
|
147
|
-
const CommonVpcIdentifier = 'CommonVpc'
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* @category cdk-utils.vpc-manager
|
|
151
|
-
* @subcategory Construct
|
|
152
|
-
* @classdesc Provides operations on AWS VPC.
|
|
153
|
-
* - A new instance of this class is injected into {@link common.CommonConstruct} constructor.
|
|
154
|
-
* - If a custom construct extends {@link common.CommonConstruct}, an instance is available within the context.
|
|
155
|
-
* @example
|
|
156
|
-
* import * as common from '@gradientedge/cdk-utils'
|
|
157
|
-
*
|
|
158
|
-
* class CustomConstruct extends common.common.CommonConstruct {
|
|
159
|
-
* constructor(parent: cdk.Construct, id: string, props: common.CommonStackProps) {
|
|
160
|
-
* super(parent, id, props)
|
|
161
|
-
* this.props = props
|
|
162
|
-
* this.vpcManager.createVpc('MyVPC', this)
|
|
163
|
-
* }
|
|
164
|
-
* }
|
|
165
|
-
*
|
|
166
|
-
* @see [CDK VPC Module]{@link https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.@aws-cdk_aws-ec2.Vpc.html}
|
|
167
|
-
*/
|
|
168
|
-
export class VpcManager {
|
|
169
|
-
/**
|
|
170
|
-
* @summary Method to create a new vpc
|
|
171
|
-
* @param {string} id scoped id of the resource
|
|
172
|
-
* @param {common.CommonConstruct} scope scope in which this resource is defined
|
|
173
|
-
* @param {ec2.VpcProps} props
|
|
174
|
-
*/
|
|
175
|
-
public createVpc(id: string, scope: common.CommonConstruct, props: ec2.VpcProps) {
|
|
176
|
-
if (!props) throw 'Vpc props undefined'
|
|
177
|
-
const vpc = new ec2.Vpc(scope, `${id}`, {
|
|
178
|
-
maxAzs: props.maxAzs,
|
|
179
|
-
cidr: props.cidr,
|
|
180
|
-
})
|
|
181
|
-
|
|
182
|
-
utils.createCfnOutput(`${id}Id`, scope, vpc.vpcId)
|
|
183
|
-
utils.createCfnOutput(`${id}PublicSubnetIds`, scope, vpc.publicSubnets.map(subnet => subnet.subnetId).toString())
|
|
184
|
-
utils.createCfnOutput(`${id}PrivateSubnetIds`, scope, vpc.privateSubnets.map(subnet => subnet.subnetId).toString())
|
|
185
|
-
utils.createCfnOutput(
|
|
186
|
-
`${id}PublicSubnetRouteTableIds`,
|
|
187
|
-
scope,
|
|
188
|
-
vpc.publicSubnets.map(subnet => subnet.routeTable.routeTableId).toString()
|
|
189
|
-
)
|
|
190
|
-
utils.createCfnOutput(
|
|
191
|
-
`${id}PrivateSubnetRouteTableIds`,
|
|
192
|
-
scope,
|
|
193
|
-
vpc.privateSubnets.map(subnet => subnet.routeTable.routeTableId).toString()
|
|
194
|
-
)
|
|
195
|
-
utils.createCfnOutput(`${id}AvailabilityZones`, scope, vpc.availabilityZones.toString())
|
|
196
|
-
|
|
197
|
-
return vpc
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* @summary Method to create a common vpc
|
|
202
|
-
* @param {common.CommonConstruct} scope scope in which this resource is defined
|
|
203
|
-
* @param {ec2.VpcProps} props
|
|
204
|
-
* @param {string?} vpcIdentifier optional identifier for VPC
|
|
205
|
-
*/
|
|
206
|
-
public createCommonVpc(scope: common.CommonConstruct, props: ec2.VpcProps, vpcIdentifier?: string) {
|
|
207
|
-
const vpc = this.createVpc(CommonVpcIdentifier, scope, props)
|
|
208
|
-
cdk.Tags.of(vpc).add('Name', vpcIdentifier ?? CommonVpcIdentifier)
|
|
209
|
-
|
|
210
|
-
return vpc
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* @summary Method to retrieve a common vpc
|
|
215
|
-
* @param {string} id scoped id of the resource
|
|
216
|
-
* @param {common.CommonConstruct} scope scope in which this resource is defined
|
|
217
|
-
* @param {string?} vpcIdentifier optional identifier for VPC
|
|
218
|
-
*/
|
|
219
|
-
public retrieveCommonVpc(id: string, scope: common.CommonConstruct, vpcIdentifier?: string) {
|
|
220
|
-
return ec2.Vpc.fromLookup(scope, `${id}`, { vpcName: vpcIdentifier ?? CommonVpcIdentifier })
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
</code></pre>
|
|
224
|
-
</article>
|
|
225
|
-
</section>
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
</div>
|
|
231
|
-
|
|
232
|
-
</div>
|
|
233
|
-
<div id="side-nav" class="side-nav">
|
|
234
|
-
</div>
|
|
235
|
-
</div>
|
|
236
|
-
<script src="scripts/app.min.js"></script>
|
|
237
|
-
<script>PR.prettyPrint();</script>
|
|
238
|
-
<script src="scripts/linenumber.js"> </script>
|
|
239
|
-
|
|
240
|
-
<script src="scripts/search.js"> </script>
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
</body>
|
|
244
|
-
</html>
|