From 2469305a852f93e1679a99ff32d3486383132510 Mon Sep 17 00:00:00 2001 From: Elad Ben-Israel Date: Mon, 3 May 2021 14:16:24 +0300 Subject: [PATCH] chore: migrate back to v1 (#29) In order to allow Construct Hub to leverage 3rd-party libraries, we decided to use v1 instead of v2. --- .projen/deps.json | 67 +++- .projenrc.js | 15 +- API.md | 18 +- package.json | 19 +- src/construct-hub.ts | 12 +- test/__snapshots__/construct-hub.test.ts.snap | 18 - test/construct-hub.test.ts | 12 +- yarn.lock | 379 ++++++++++++++++-- 8 files changed, 448 insertions(+), 92 deletions(-) diff --git a/.projen/deps.json b/.projen/deps.json index 56f7fe6f3..d13ec0249 100644 --- a/.projen/deps.json +++ b/.projen/deps.json @@ -2,7 +2,7 @@ "dependencies": [ { "name": "@aws-cdk/assert", - "version": "^2.0.0-alpha.13", + "version": "^1.101.0", "type": "build" }, { @@ -22,11 +22,6 @@ "name": "@typescript-eslint/parser", "type": "build" }, - { - "name": "constructs", - "version": "^10.0.5", - "type": "build" - }, { "name": "eslint", "type": "build" @@ -95,18 +90,68 @@ "type": "build" }, { - "name": "aws-cdk-lib", - "version": "^2.0.0-alpha.13", + "name": "@aws-cdk/aws-certificatemanager", + "version": "^1.101.0", + "type": "peer" + }, + { + "name": "@aws-cdk/aws-cloudwatch", + "version": "^1.101.0", + "type": "peer" + }, + { + "name": "@aws-cdk/aws-route53", + "version": "^1.101.0", + "type": "peer" + }, + { + "name": "@aws-cdk/aws-sns", + "version": "^1.101.0", + "type": "peer" + }, + { + "name": "@aws-cdk/core", + "version": "^1.101.0", + "type": "peer" + }, + { + "name": "@aws-cdk/cx-api", + "version": "^1.101.0", "type": "peer" }, { "name": "constructs", - "version": "^10.0.5", + "version": "^3.2.27", "type": "peer" }, { - "name": "aws-cdk-lib", - "version": "^2.0.0-alpha.13", + "name": "@aws-cdk/aws-certificatemanager", + "version": "^1.101.0", + "type": "runtime" + }, + { + "name": "@aws-cdk/aws-cloudwatch", + "version": "^1.101.0", + "type": "runtime" + }, + { + "name": "@aws-cdk/aws-route53", + "version": "^1.101.0", + "type": "runtime" + }, + { + "name": "@aws-cdk/aws-sns", + "version": "^1.101.0", + "type": "runtime" + }, + { + "name": "@aws-cdk/core", + "version": "^1.101.0", + "type": "runtime" + }, + { + "name": "@aws-cdk/cx-api", + "version": "^1.101.0", "type": "runtime" } ], diff --git a/.projenrc.js b/.projenrc.js index 154bf9cfa..796498e2d 100644 --- a/.projenrc.js +++ b/.projenrc.js @@ -19,10 +19,19 @@ const project = new AwsCdkConstructLibrary({ authorAddress: 'aws-cdk-team@amazon.com', authorOrganization: true, - cdkVersion: '2.0.0-alpha.13', - cdkDependencies: ['aws-cdk-lib'], + cdkVersion: '1.101.0', + cdkDependencies: [ + '@aws-cdk/core', + '@aws-cdk/cx-api', + '@aws-cdk/aws-cloudwatch', + '@aws-cdk/aws-certificatemanager', + '@aws-cdk/aws-route53', + '@aws-cdk/aws-sns', + ], - devDeps: ['constructs@^10.0.5', 'yaml'], + devDeps: [ + 'yaml', + ], pullRequestTemplateContents: [ '', diff --git a/API.md b/API.md index 4c2fde1c5..a133a842e 100644 --- a/API.md +++ b/API.md @@ -20,8 +20,8 @@ Name|Description -__Implements__: [IConstruct](#constructs-iconstruct), [IDependable](#constructs-idependable) -__Extends__: [Construct](#constructs-construct) +__Implements__: [IConstruct](#constructs-iconstruct), [IConstruct](#aws-cdk-core-iconstruct), [IConstruct](#constructs-iconstruct), [IDependable](#aws-cdk-core-idependable) +__Extends__: [Construct](#aws-cdk-core-construct) ### Initializer @@ -32,16 +32,16 @@ __Extends__: [Construct](#constructs-construct) new ConstructHub(scope: Construct, id: string, _props: ConstructHubProps) ``` -* **scope** ([Construct](#constructs-construct)) *No description* +* **scope** ([Construct](#aws-cdk-core-construct)) *No description* * **id** (string) *No description* * **_props** ([ConstructHubProps](#construct-hub-constructhubprops)) *No description* - * **hostedZone** ([aws_route53.IHostedZone](#aws-cdk-lib-aws-route53-ihostedzone)) The root domain name where this instance of Construct Hub will be served. + * **hostedZone** ([IHostedZone](#aws-cdk-aws-route53-ihostedzone)) The root domain name where this instance of Construct Hub will be served. * **contactUrls** ([ContactURLs](#construct-hub-contacturls)) Contact URLs to be used for contacting this Construct Hub operators. __*Default*__: none * **dashboardName** (string) The name of the CloudWatch Dashboard created to observe this application. __*Default*__: the path to this construct is used as the dashboard name. * **enableNpmFeed** (boolean) Whether the package feed from the npmjs.com registry should be enabled. __*Default*__: true * **pathPrefix** (string) An optional path prefix to use for serving the Construct Hub. __*Default*__: none. - * **tlsCertificate** ([aws_certificatemanager.ICertificate](#aws-cdk-lib-aws-certificatemanager-icertificate)) The certificate to use for serving the Construct Hub over a custom domain. __*Default*__: a DNS-Validated certificate will be provisioned using the provided `hostedZone`. - * **updatesTopic** ([aws_sns.ITopic](#aws-cdk-lib-aws-sns-itopic)) An optional topic to be notified whenever a new package is indexed into this Construct Hub instance. __*Default*__: none + * **tlsCertificate** ([ICertificate](#aws-cdk-aws-certificatemanager-icertificate)) The certificate to use for serving the Construct Hub over a custom domain. __*Default*__: a DNS-Validated certificate will be provisioned using the provided `hostedZone`. + * **updatesTopic** ([ITopic](#aws-cdk-aws-sns-itopic)) An optional topic to be notified whenever a new package is indexed into this Construct Hub instance. __*Default*__: none @@ -55,13 +55,13 @@ new ConstructHub(scope: Construct, id: string, _props: ConstructHubProps) Name | Type | Description -----|------|------------- -**hostedZone**🔹 | [aws_route53.IHostedZone](#aws-cdk-lib-aws-route53-ihostedzone) | The root domain name where this instance of Construct Hub will be served. +**hostedZone**🔹 | [IHostedZone](#aws-cdk-aws-route53-ihostedzone) | The root domain name where this instance of Construct Hub will be served. **contactUrls**?🔹 | [ContactURLs](#construct-hub-contacturls) | Contact URLs to be used for contacting this Construct Hub operators.
__*Default*__: none **dashboardName**?🔹 | string | The name of the CloudWatch Dashboard created to observe this application.
__*Default*__: the path to this construct is used as the dashboard name. **enableNpmFeed**?🔹 | boolean | Whether the package feed from the npmjs.com registry should be enabled.
__*Default*__: true **pathPrefix**?🔹 | string | An optional path prefix to use for serving the Construct Hub.
__*Default*__: none. -**tlsCertificate**?🔹 | [aws_certificatemanager.ICertificate](#aws-cdk-lib-aws-certificatemanager-icertificate) | The certificate to use for serving the Construct Hub over a custom domain.
__*Default*__: a DNS-Validated certificate will be provisioned using the provided `hostedZone`. -**updatesTopic**?🔹 | [aws_sns.ITopic](#aws-cdk-lib-aws-sns-itopic) | An optional topic to be notified whenever a new package is indexed into this Construct Hub instance.
__*Default*__: none +**tlsCertificate**?🔹 | [ICertificate](#aws-cdk-aws-certificatemanager-icertificate) | The certificate to use for serving the Construct Hub over a custom domain.
__*Default*__: a DNS-Validated certificate will be provisioned using the provided `hostedZone`. +**updatesTopic**?🔹 | [ITopic](#aws-cdk-aws-sns-itopic) | An optional topic to be notified whenever a new package is indexed into this Construct Hub instance.
__*Default*__: none diff --git a/package.json b/package.json index ada5804dc..33dce18cf 100644 --- a/package.json +++ b/package.json @@ -31,12 +31,11 @@ "organization": true }, "devDependencies": { - "@aws-cdk/assert": "^2.0.0-alpha.13", + "@aws-cdk/assert": "^1.101.0", "@types/jest": "^26.0.23", "@types/node": "^10.17.0", "@typescript-eslint/eslint-plugin": "^4.22.0", "@typescript-eslint/parser": "^4.22.0", - "constructs": "^10.0.5", "eslint": "^7.25.0", "eslint-import-resolver-node": "^0.3.4", "eslint-import-resolver-typescript": "^2.4.0", @@ -55,11 +54,21 @@ "yaml": "^1.10.2" }, "peerDependencies": { - "aws-cdk-lib": "^2.0.0-alpha.13", - "constructs": "^10.0.5" + "@aws-cdk/aws-certificatemanager": "^1.101.0", + "@aws-cdk/aws-cloudwatch": "^1.101.0", + "@aws-cdk/aws-route53": "^1.101.0", + "@aws-cdk/aws-sns": "^1.101.0", + "@aws-cdk/core": "^1.101.0", + "@aws-cdk/cx-api": "^1.101.0", + "constructs": "^3.2.27" }, "dependencies": { - "aws-cdk-lib": "^2.0.0-alpha.13" + "@aws-cdk/aws-certificatemanager": "^1.101.0", + "@aws-cdk/aws-cloudwatch": "^1.101.0", + "@aws-cdk/aws-route53": "^1.101.0", + "@aws-cdk/aws-sns": "^1.101.0", + "@aws-cdk/core": "^1.101.0", + "@aws-cdk/cx-api": "^1.101.0" }, "bundledDependencies": [], "keywords": [ diff --git a/src/construct-hub.ts b/src/construct-hub.ts index 0a1ed3389..2f6f6c544 100644 --- a/src/construct-hub.ts +++ b/src/construct-hub.ts @@ -1,11 +1,13 @@ -import { aws_certificatemanager, aws_route53, aws_sns } from 'aws-cdk-lib'; -import { Construct } from 'constructs'; +import * as certificatemanager from '@aws-cdk/aws-certificatemanager'; +import * as route53 from '@aws-cdk/aws-route53'; +import * as sns from '@aws-cdk/aws-sns'; +import { Construct } from '@aws-cdk/core'; export interface ConstructHubProps { /** * The root domain name where this instance of Construct Hub will be served. */ - readonly hostedZone: aws_route53.IHostedZone; + readonly hostedZone: route53.IHostedZone; /** * The certificate to use for serving the Construct Hub over a custom domain. @@ -13,7 +15,7 @@ export interface ConstructHubProps { * @default - a DNS-Validated certificate will be provisioned using the * provided `hostedZone`. */ - readonly tlsCertificate?: aws_certificatemanager.ICertificate; + readonly tlsCertificate?: certificatemanager.ICertificate; /** * An optional path prefix to use for serving the Construct Hub. @@ -42,7 +44,7 @@ export interface ConstructHubProps { * * @default - none */ - readonly updatesTopic?: aws_sns.ITopic; + readonly updatesTopic?: sns.ITopic; /** * The name of the CloudWatch Dashboard created to observe this application. diff --git a/test/__snapshots__/construct-hub.test.ts.snap b/test/__snapshots__/construct-hub.test.ts.snap index b3f45de79..af7d00483 100644 --- a/test/__snapshots__/construct-hub.test.ts.snap +++ b/test/__snapshots__/construct-hub.test.ts.snap @@ -6,23 +6,5 @@ Resources: Type: AWS::Route53::HostedZone Properties: Name: hub.constructs.test. -Parameters: - BootstrapVersion: - Type: AWS::SSM::Parameter::Value - Default: /cdk-bootstrap/hnb659fds/version - Description: Version of the CDK Bootstrap resources in this environment, - automatically retrieved from SSM Parameter Store. -Rules: - CheckBootstrapVersion: - Assertions: - - Assert: - Fn::Not: - - Fn::Contains: - - - "1" - - "2" - - "3" - - Ref: BootstrapVersion - AssertDescription: CDK bootstrap stack version 4 required. Please run 'cdk - bootstrap' with a recent version of the CDK CLI. `; diff --git a/test/construct-hub.test.ts b/test/construct-hub.test.ts index d629e2d91..78dd503ab 100644 --- a/test/construct-hub.test.ts +++ b/test/construct-hub.test.ts @@ -1,20 +1,22 @@ import '@aws-cdk/assert/jest'; -import { App, Stack, aws_route53, cx_api } from 'aws-cdk-lib'; +import * as route53 from '@aws-cdk/aws-route53'; +import { App, Stack } from '@aws-cdk/core'; +import * as cxapi from '@aws-cdk/cx-api'; import { stringify as yaml } from 'yaml'; -import { ConstructHub } from '../src/construct-hub'; +import { ConstructHub } from '../src'; expect.addSnapshotSerializer({ - test: (val) => val instanceof cx_api.CloudFormationStackArtifact, - serialize: (val: cx_api.CloudFormationStackArtifact) => yaml(val.template), + test: (val) => val instanceof cxapi.CloudFormationStackArtifact, + serialize: (val: cxapi.CloudFormationStackArtifact) => yaml(val.template), }); test('minimal configuration', () => { // Given const app = new App(); const stack = new Stack(app, 'Stack'); - const hostedZone = new aws_route53.PublicHostedZone(stack, 'HostedZone', { zoneName: 'hub.constructs.test' }); + const hostedZone = new route53.PublicHostedZone(stack, 'HostedZone', { zoneName: 'hub.constructs.test' }); // When new ConstructHub(stack, 'ConstructHub', { hostedZone }); diff --git a/yarn.lock b/yarn.lock index ee75fec51..e5ea9a194 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,32 +2,354 @@ # yarn lockfile v1 -"@aws-cdk/assert@^2.0.0-alpha.13": - version "2.0.0-alpha.14" - resolved "https://registry.yarnpkg.com/@aws-cdk/assert/-/assert-2.0.0-alpha.14.tgz#50ce2d7377844e06cc2325a54a1f22e0ac63a6cf" - integrity sha512-WQvnEtz0S6EDS2JLAQcD4ZDd73kBdWLgjD77N1CSmLld0KQM502heQU/BmBiaHlx9Q02FM7o4gKg+JncC8Gd0g== - dependencies: - "@aws-cdk/cloudformation-diff" "2.0.0-alpha.14" +"@aws-cdk/assert@^1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/assert/-/assert-1.101.0.tgz#36042564db0a2803430d9e3ef628bbf41545e868" + integrity sha512-nwWlQBVOhFPuNHlqZaWmyc9DC7goKULl7vfcGvIAiOxRiLfxkJ2/uBY2DR2crLDcLwk3YMO4dNENvw9CjjzMAg== + dependencies: + "@aws-cdk/cloudformation-diff" "1.101.0" + "@aws-cdk/core" "1.101.0" + "@aws-cdk/cx-api" "1.101.0" + constructs "^3.3.69" + +"@aws-cdk/assets@1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/assets/-/assets-1.101.0.tgz#a382c77158e85a14eefd776d26001de921e85549" + integrity sha512-QDeflWlw1I8ZaUz+gcIfrUceyokiQj+epi+pP8rha7ZoUiM996Vm09nsvIk16GMIQlW+R02aR0E7SFBQIYOa9Q== + dependencies: + "@aws-cdk/core" "1.101.0" + "@aws-cdk/cx-api" "1.101.0" + constructs "^3.3.69" + +"@aws-cdk/aws-applicationautoscaling@1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/aws-applicationautoscaling/-/aws-applicationautoscaling-1.101.0.tgz#d0376900242af82b535dec0a5b3509b635098760" + integrity sha512-1bZt/3V/DierxID5WZZ5EVwSquozZAZesNdz0XxAw9NI5uaf3J2xohCHd8zo9rbA/JpeRj+gjQGlk4/3kC/lwg== + dependencies: + "@aws-cdk/aws-autoscaling-common" "1.101.0" + "@aws-cdk/aws-cloudwatch" "1.101.0" + "@aws-cdk/aws-iam" "1.101.0" + "@aws-cdk/core" "1.101.0" + constructs "^3.3.69" + +"@aws-cdk/aws-autoscaling-common@1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/aws-autoscaling-common/-/aws-autoscaling-common-1.101.0.tgz#1b45dec7dab517ccb413eee4f7cc0a4ee5739d7b" + integrity sha512-ynG/Ff3nZpzJJ1eTV99Wu85TxqSragXCGMAZ4cLl+YXxzvDsqMXNCG6grukTaIoOIMh4ziQ6ia1uVUMqTtCh9Q== + dependencies: + "@aws-cdk/aws-iam" "1.101.0" + "@aws-cdk/core" "1.101.0" + constructs "^3.3.69" + +"@aws-cdk/aws-certificatemanager@^1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/aws-certificatemanager/-/aws-certificatemanager-1.101.0.tgz#d79b0a8522a858e8df1b3caa4b46552526014238" + integrity sha512-apXjsMSCStaI+KSZ0BZZ53SL5uc2QRmwtOzpD1ruTEuG10nvVi0Ky1qYogcsU9mlaWFtHmCeSyawZEjyg/f1Ng== + dependencies: + "@aws-cdk/aws-iam" "1.101.0" + "@aws-cdk/aws-lambda" "1.101.0" + "@aws-cdk/aws-route53" "1.101.0" + "@aws-cdk/core" "1.101.0" + constructs "^3.3.69" + +"@aws-cdk/aws-cloudformation@1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/aws-cloudformation/-/aws-cloudformation-1.101.0.tgz#d52a50ce67f1edede3fb44602937ada2620e93e0" + integrity sha512-MGDAXfFuwZWaeCa3KXOmBN0wojQC8tOG/oz17oJGbTeYnDeJZaApexcs5Ss2oud5MQm0Tnq/VQ6Pa6p1ODX4hw== + dependencies: + "@aws-cdk/aws-iam" "1.101.0" + "@aws-cdk/aws-lambda" "1.101.0" + "@aws-cdk/aws-s3" "1.101.0" + "@aws-cdk/aws-sns" "1.101.0" + "@aws-cdk/core" "1.101.0" + "@aws-cdk/cx-api" "1.101.0" + constructs "^3.3.69" + +"@aws-cdk/aws-cloudwatch@1.101.0", "@aws-cdk/aws-cloudwatch@^1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/aws-cloudwatch/-/aws-cloudwatch-1.101.0.tgz#7894a0fc1f1534cffe73ee446643ffc8be6752f2" + integrity sha512-WPhZfIbA1TrWtpmrePiiIRQ03FlbyEoSZS9l51AFqcVfnWtzWNf61R4pbg/rTpeuu1Zhez4IycUykEM6RhFsAQ== + dependencies: + "@aws-cdk/aws-iam" "1.101.0" + "@aws-cdk/core" "1.101.0" + constructs "^3.3.69" + +"@aws-cdk/aws-codeguruprofiler@1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/aws-codeguruprofiler/-/aws-codeguruprofiler-1.101.0.tgz#4819f90f20a3cdc5b71f03fcac7ae6c4761ad8ba" + integrity sha512-IECX7lUC16efa9PEvlVjiGwk8M99Q6IT3NXHgp7htXXAv07dE8pjsLDcok3j0wY21dDqgamqqjboP0mXQuCqiw== + dependencies: + "@aws-cdk/aws-iam" "1.101.0" + "@aws-cdk/core" "1.101.0" + constructs "^3.3.69" + +"@aws-cdk/aws-ec2@1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/aws-ec2/-/aws-ec2-1.101.0.tgz#5e78d09139d949d3ccba4de75804ddba3057e910" + integrity sha512-Cq+Re8xU9TZQTMNZKGF4pEky6IujgjirfEH0bF1+j/YnvQ06Q/rYhLnRnq1PErj1omrReh4RKKKnQoa2cp4L6w== + dependencies: + "@aws-cdk/aws-cloudwatch" "1.101.0" + "@aws-cdk/aws-iam" "1.101.0" + "@aws-cdk/aws-kms" "1.101.0" + "@aws-cdk/aws-logs" "1.101.0" + "@aws-cdk/aws-s3" "1.101.0" + "@aws-cdk/aws-s3-assets" "1.101.0" + "@aws-cdk/aws-ssm" "1.101.0" + "@aws-cdk/cloud-assembly-schema" "1.101.0" + "@aws-cdk/core" "1.101.0" + "@aws-cdk/cx-api" "1.101.0" + "@aws-cdk/region-info" "1.101.0" + constructs "^3.3.69" + +"@aws-cdk/aws-ecr-assets@1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/aws-ecr-assets/-/aws-ecr-assets-1.101.0.tgz#c439e5dacdab455bf3ed57369276276bca57f45f" + integrity sha512-MwdJK4qjn/pZJX9utjJNg5/8zFss7jwQwmTeBHHv5JEETA3V3C4UkjLEiAEbA7cLB3fX8rFU5kGO7wJOQ02ohw== + dependencies: + "@aws-cdk/assets" "1.101.0" + "@aws-cdk/aws-ecr" "1.101.0" + "@aws-cdk/aws-iam" "1.101.0" + "@aws-cdk/aws-s3" "1.101.0" + "@aws-cdk/core" "1.101.0" + "@aws-cdk/cx-api" "1.101.0" + constructs "^3.3.69" + minimatch "^3.0.4" -"@aws-cdk/cfnspec@2.0.0-alpha.14": - version "2.0.0-alpha.14" - resolved "https://registry.yarnpkg.com/@aws-cdk/cfnspec/-/cfnspec-2.0.0-alpha.14.tgz#b77fbb9a3f5ccc6e2ec7ffa6cf8a89d3c2159729" - integrity sha512-dYwppOHsMj4Fnj03NOFdMG20Bx0v1FgxFSiv2vIukduljAM6jq1w+plTlGxcrXcD0zDtwv8wO6+kp3OClR1XHA== +"@aws-cdk/aws-ecr@1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/aws-ecr/-/aws-ecr-1.101.0.tgz#71b83ed5de6a33838997efd748796c9b3c642cbd" + integrity sha512-K0UhY7c9eEMnMpbjZ7QnAGk5urrL1/DLSJ0R8FbkX+RONfUe9Dxt8n3dDlQiwow4MXi84m82b6FcJz83Hcuu9w== + dependencies: + "@aws-cdk/aws-events" "1.101.0" + "@aws-cdk/aws-iam" "1.101.0" + "@aws-cdk/core" "1.101.0" + constructs "^3.3.69" + +"@aws-cdk/aws-efs@1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/aws-efs/-/aws-efs-1.101.0.tgz#fd6751770faaa5dde9ed4017890aebd02bcfd9b9" + integrity sha512-S3+EJT9l6CF+UwHoXz+XnMC/EeQqbeXeSbSNoU4Qu2tueXmHXmMsGv3YAhNU1IhvrnIFTE0YbhG7y3AlR+MncA== + dependencies: + "@aws-cdk/aws-ec2" "1.101.0" + "@aws-cdk/aws-kms" "1.101.0" + "@aws-cdk/cloud-assembly-schema" "1.101.0" + "@aws-cdk/core" "1.101.0" + "@aws-cdk/cx-api" "1.101.0" + constructs "^3.3.69" + +"@aws-cdk/aws-events@1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/aws-events/-/aws-events-1.101.0.tgz#4ecbb108b019f82b8368809a37d195ec7f374e1f" + integrity sha512-igFXiL4TdOUYEo79WSmyT4Z0ALBMtZF1SQ692UvFwm0ocYzIwUt2FkCt4QLOsdwW28VhokR5VG8soV4c1j+OmQ== + dependencies: + "@aws-cdk/aws-iam" "1.101.0" + "@aws-cdk/core" "1.101.0" + constructs "^3.3.69" + +"@aws-cdk/aws-iam@1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/aws-iam/-/aws-iam-1.101.0.tgz#238d0a1d64ddf6a59565ba430e0be7960a3587d8" + integrity sha512-jQ2cDLGe44zOkZNW2q3SNd/rMsAurceLokQgiQCks1aC/dlZIhOep8LOqe6kLXb2IZ04d7682fYFTfeUKlGeUQ== + dependencies: + "@aws-cdk/core" "1.101.0" + "@aws-cdk/region-info" "1.101.0" + constructs "^3.3.69" + +"@aws-cdk/aws-kms@1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/aws-kms/-/aws-kms-1.101.0.tgz#1037fd0acefbc4df1c0c640f552a3430ad6d6fac" + integrity sha512-gU3/6nIRDKpZ9AmCl7J1qaGUtueuj/J7aAsXL04t2p39A5GnkLhkdQT4iaa2q8s06ZfTIJJerBsMks7t9lZDlQ== + dependencies: + "@aws-cdk/aws-iam" "1.101.0" + "@aws-cdk/core" "1.101.0" + "@aws-cdk/cx-api" "1.101.0" + constructs "^3.3.69" + +"@aws-cdk/aws-lambda@1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/aws-lambda/-/aws-lambda-1.101.0.tgz#6f0cd64fc5af33290b5743643b7e45b8597c4bd6" + integrity sha512-Yxy0RP0kmcSv6ZqUVzATnmyDPyylL074BYmL+UD1JzATvofL+s1KepB6+lO5CKQ7NHXwlmsbj4cEot+XnHoxbw== + dependencies: + "@aws-cdk/aws-applicationautoscaling" "1.101.0" + "@aws-cdk/aws-cloudwatch" "1.101.0" + "@aws-cdk/aws-codeguruprofiler" "1.101.0" + "@aws-cdk/aws-ec2" "1.101.0" + "@aws-cdk/aws-ecr" "1.101.0" + "@aws-cdk/aws-ecr-assets" "1.101.0" + "@aws-cdk/aws-efs" "1.101.0" + "@aws-cdk/aws-events" "1.101.0" + "@aws-cdk/aws-iam" "1.101.0" + "@aws-cdk/aws-kms" "1.101.0" + "@aws-cdk/aws-logs" "1.101.0" + "@aws-cdk/aws-s3" "1.101.0" + "@aws-cdk/aws-s3-assets" "1.101.0" + "@aws-cdk/aws-signer" "1.101.0" + "@aws-cdk/aws-sqs" "1.101.0" + "@aws-cdk/core" "1.101.0" + "@aws-cdk/cx-api" "1.101.0" + constructs "^3.3.69" + +"@aws-cdk/aws-logs@1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/aws-logs/-/aws-logs-1.101.0.tgz#1312b626f54ab8f4d45052607d0a7e3530915123" + integrity sha512-3sfIjyQgC8WTcRX7vvmnnzOBCa0XBGHGzITUxD/P1JL5Mv9Iiv1IxoF2sqM770azYPthBKperorm0c0Sgs7BUQ== + dependencies: + "@aws-cdk/aws-cloudwatch" "1.101.0" + "@aws-cdk/aws-iam" "1.101.0" + "@aws-cdk/aws-kms" "1.101.0" + "@aws-cdk/aws-s3-assets" "1.101.0" + "@aws-cdk/core" "1.101.0" + constructs "^3.3.69" + +"@aws-cdk/aws-route53@1.101.0", "@aws-cdk/aws-route53@^1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/aws-route53/-/aws-route53-1.101.0.tgz#b6cf695228d43eef65e840789f05c59d577c0726" + integrity sha512-0pfYjXzE9pkkeTj4V76qruqGVZpY8cZ6jVfw5aYf+nEQSY2Bn8Ufyy0yZbAgvQqylwAEPrMK8BWCULU3mWsdsA== + dependencies: + "@aws-cdk/aws-ec2" "1.101.0" + "@aws-cdk/aws-iam" "1.101.0" + "@aws-cdk/aws-logs" "1.101.0" + "@aws-cdk/cloud-assembly-schema" "1.101.0" + "@aws-cdk/core" "1.101.0" + "@aws-cdk/custom-resources" "1.101.0" + constructs "^3.3.69" + +"@aws-cdk/aws-s3-assets@1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/aws-s3-assets/-/aws-s3-assets-1.101.0.tgz#3c6ca782613a016c12d6f1991ea84fd21e35474c" + integrity sha512-Xj0OT8omk0SprCqRQfGJTxl10IuO0E28l73taG4K3kP35FzYtkLa+01RLVloQZL7DLwoHVxfwCf5m2ealqCA8Q== + dependencies: + "@aws-cdk/assets" "1.101.0" + "@aws-cdk/aws-iam" "1.101.0" + "@aws-cdk/aws-kms" "1.101.0" + "@aws-cdk/aws-s3" "1.101.0" + "@aws-cdk/core" "1.101.0" + "@aws-cdk/cx-api" "1.101.0" + constructs "^3.3.69" + +"@aws-cdk/aws-s3@1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/aws-s3/-/aws-s3-1.101.0.tgz#8fc2db1a64723dffe11fb7bccfcb83ec6d7c37a2" + integrity sha512-SFAVEDPiuZGijliePljlaLrVgQWfZrMdmEj421AlkOTgheepgcN76qAxVwM0BX1l1y5q2A8tHjTRHdG71xCYvQ== + dependencies: + "@aws-cdk/aws-events" "1.101.0" + "@aws-cdk/aws-iam" "1.101.0" + "@aws-cdk/aws-kms" "1.101.0" + "@aws-cdk/core" "1.101.0" + "@aws-cdk/cx-api" "1.101.0" + constructs "^3.3.69" + +"@aws-cdk/aws-signer@1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/aws-signer/-/aws-signer-1.101.0.tgz#475279a437d61ab10995596e8d2346ca22616596" + integrity sha512-P7Oqbugk97pWpGUHAHiWRvdkI1IY8C/IY0wnruiHOF1z05bJB29Z9Pb9ptdqwIgp71/FuEvVzscSjGuuI6fgZQ== + dependencies: + "@aws-cdk/core" "1.101.0" + constructs "^3.3.69" + +"@aws-cdk/aws-sns@1.101.0", "@aws-cdk/aws-sns@^1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/aws-sns/-/aws-sns-1.101.0.tgz#d2b717865975c41357e3714e305c1033e6d17773" + integrity sha512-mXU6EY7nDEovnyMR3PPm3lXIWGltJAt/CDw7mS9UGzXNgB5dXtPyJASi2mBVy2zfNMf5Nz7R92beOEZSqwthow== + dependencies: + "@aws-cdk/aws-cloudwatch" "1.101.0" + "@aws-cdk/aws-events" "1.101.0" + "@aws-cdk/aws-iam" "1.101.0" + "@aws-cdk/aws-kms" "1.101.0" + "@aws-cdk/aws-sqs" "1.101.0" + "@aws-cdk/core" "1.101.0" + constructs "^3.3.69" + +"@aws-cdk/aws-sqs@1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/aws-sqs/-/aws-sqs-1.101.0.tgz#7b1335081b85a7d9b19e9bc4551edc0d28d99cd8" + integrity sha512-jO1u1pqJEewauOzqraSgeaTc3MFcz+AdHds3eXKDDkulCyVcugjPx1uQ4Chb7rB602D+nw6SqMTPrWXC/9+M9A== + dependencies: + "@aws-cdk/aws-cloudwatch" "1.101.0" + "@aws-cdk/aws-iam" "1.101.0" + "@aws-cdk/aws-kms" "1.101.0" + "@aws-cdk/core" "1.101.0" + constructs "^3.3.69" + +"@aws-cdk/aws-ssm@1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/aws-ssm/-/aws-ssm-1.101.0.tgz#0fd79f658be005a7d1d029211bebe3a28e50cce6" + integrity sha512-383502N9/UHa/jJpbtIIIbI29thDkK835wSZjP2WTMEGhVCuewxUTMZ0NMsQbvzYxc8eJ/mGfYObdhqsStxsVQ== + dependencies: + "@aws-cdk/aws-iam" "1.101.0" + "@aws-cdk/aws-kms" "1.101.0" + "@aws-cdk/cloud-assembly-schema" "1.101.0" + "@aws-cdk/core" "1.101.0" + constructs "^3.3.69" + +"@aws-cdk/cfnspec@1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/cfnspec/-/cfnspec-1.101.0.tgz#32115e8f0a6a694643bbe8ac3f7313a139f015a6" + integrity sha512-0pmkJIIJsbTnB6fKpnqxvvAHb5zhhT9QDLmqZ2PiPUfLAUPPZb7QPBgU+Y9M3Dt/twK3ndvFIYrfzVogbKx+xw== dependencies: md5 "^2.3.0" -"@aws-cdk/cloudformation-diff@2.0.0-alpha.14": - version "2.0.0-alpha.14" - resolved "https://registry.yarnpkg.com/@aws-cdk/cloudformation-diff/-/cloudformation-diff-2.0.0-alpha.14.tgz#d5d7803cf868c729dbcb8a69578c273777b8a49b" - integrity sha512-90PN4f4ra+4pP/PdBMmrMyLzWV3tpUybqdTay+k6UzQuUzDbvSyDTeOLcERNAlIq0s9mJECx36VAK458RiopYg== +"@aws-cdk/cloud-assembly-schema@1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/cloud-assembly-schema/-/cloud-assembly-schema-1.101.0.tgz#9c6cace1d0c5f50a6fd9e758e6b563d3831b741d" + integrity sha512-oJWLiHM5uDEkgfjvbeMLT8Y6ZDNB0K2TCxqd/amnzzWtUuPccCAQlSw+gQTUmkha8DYxENGIiJus0gtp+Y4mrg== + dependencies: + jsonschema "^1.4.0" + semver "^7.3.5" + +"@aws-cdk/cloudformation-diff@1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/cloudformation-diff/-/cloudformation-diff-1.101.0.tgz#ac109b746be5f49f987a2391bb7f5b10d7182717" + integrity sha512-anZFilvJnlmYi0gqwzKq0SQKcJChphoyxpn3RjHvUr7ywG/2J6Ff6ZsAL4QBK9CyLYzm9RjtQxG7VjrdpFTKHg== dependencies: - "@aws-cdk/cfnspec" "2.0.0-alpha.14" + "@aws-cdk/cfnspec" "1.101.0" colors "^1.4.0" diff "^5.0.0" fast-deep-equal "^3.1.3" string-width "^4.2.2" table "^6.3.0" +"@aws-cdk/core@1.101.0", "@aws-cdk/core@^1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/core/-/core-1.101.0.tgz#b2fcbbe0fe304739fcbffaaab6ee8ace0d0dd8ba" + integrity sha512-Zx/Nr8c2t238uXqX7LZvA+0Rk0cH+cn7+hLKZmJe7fGcDzW5+iPgWI9HEWmILlzLim3VEkNsHhklxiNXIU948w== + dependencies: + "@aws-cdk/cloud-assembly-schema" "1.101.0" + "@aws-cdk/cx-api" "1.101.0" + "@aws-cdk/region-info" "1.101.0" + "@balena/dockerignore" "^1.0.2" + constructs "^3.3.69" + fs-extra "^9.1.0" + ignore "^5.1.8" + minimatch "^3.0.4" + +"@aws-cdk/custom-resources@1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/custom-resources/-/custom-resources-1.101.0.tgz#b9ac430e2bfea3bd20d6552ef2372cedab8af765" + integrity sha512-Et14JTfpZ43w09lYFZfQ9YwrzTkkSK23p3Kzcmu33HTGVhTMyWsShxBHp3hYUiNAuh+y97OicUf4zM6WE8Zd7w== + dependencies: + "@aws-cdk/aws-cloudformation" "1.101.0" + "@aws-cdk/aws-ec2" "1.101.0" + "@aws-cdk/aws-iam" "1.101.0" + "@aws-cdk/aws-lambda" "1.101.0" + "@aws-cdk/aws-logs" "1.101.0" + "@aws-cdk/aws-sns" "1.101.0" + "@aws-cdk/core" "1.101.0" + constructs "^3.3.69" + +"@aws-cdk/cx-api@1.101.0", "@aws-cdk/cx-api@^1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/cx-api/-/cx-api-1.101.0.tgz#51b460654aca43c4e0af97fb86e39db95bc82d0e" + integrity sha512-NyEfN1N/oTwel6Y0A9fmZFY47PPtr1hJteksXc3W42pfkSFloNa+tXNX23/Cu5XAhO6+MgmPUpqHgiJF2M8Nlg== + dependencies: + "@aws-cdk/cloud-assembly-schema" "1.101.0" + semver "^7.3.5" + +"@aws-cdk/region-info@1.101.0": + version "1.101.0" + resolved "https://registry.yarnpkg.com/@aws-cdk/region-info/-/region-info-1.101.0.tgz#86a52d7d16d04168fe4b5d3bd88c28e16ac4adcb" + integrity sha512-7FpuwCSkEGSr9KbfAgBa0BQc6E3HXuOI4Kc68gQwF5x2z6j0Z7zr4e+SIbYazX7TfKXNCmp8jWHsc6Q63fo6Cg== + "@babel/code-frame@7.12.11": version "7.12.11" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f" @@ -1034,21 +1356,6 @@ available-typed-arrays@^1.0.2: dependencies: array-filter "^1.0.0" -aws-cdk-lib@^2.0.0-alpha.13: - version "2.0.0-alpha.14" - resolved "https://registry.yarnpkg.com/aws-cdk-lib/-/aws-cdk-lib-2.0.0-alpha.14.tgz#a855ea92e9290c88b1a2ec3cf053221dbae88a58" - integrity sha512-mYl+Ibp7Gdhp/DMO84TTdZER/hhn91aNx0jT4tc1WOGhNoagAqCeToVt97oFv2D2qW23WZTzTui0ScKAvGnrsw== - dependencies: - "@balena/dockerignore" "^1.0.2" - case "1.6.3" - fs-extra "^9.1.0" - ignore "^5.1.8" - jsonschema "^1.4.0" - minimatch "^3.0.4" - punycode "^2.1.1" - semver "^7.3.5" - yaml "1.10.2" - aws-sign2@~0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" @@ -1283,7 +1590,7 @@ capture-exit@^2.0.0: dependencies: rsvp "^4.8.4" -case@1.6.3, case@^1.6.3: +case@^1.6.3: version "1.6.3" resolved "https://registry.yarnpkg.com/case/-/case-1.6.3.tgz#0a4386e3e9825351ca2e6216c60467ff5f1ea1c9" integrity sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ== @@ -1486,10 +1793,10 @@ concat-stream@^2.0.0: readable-stream "^3.0.2" typedarray "^0.0.6" -constructs@^10.0.5: - version "10.0.5" - resolved "https://registry.yarnpkg.com/constructs/-/constructs-10.0.5.tgz#48c0402f1b98bbf5664efff74a8015e6e8a9f41e" - integrity sha512-IwOwekzrASFC3qt4ozCtV09rteAIAesuCGsW0p+uBfqHd2XcvA5CXqJjgf4eUqm6g8e/noXlVCMDWwC8GaLtrg== +constructs@^3.3.69: + version "3.3.75" + resolved "https://registry.yarnpkg.com/constructs/-/constructs-3.3.75.tgz#222516951fd6b8380cb6fea3c171eeca0bf980a4" + integrity sha512-q10foASSSfDWmS99OQLfnWDXCzqLvoORISAVWPFg0AmIGlBv2ZdDOtXxLqrJARPxVlOldmW2JzWzdRI+4+0/ZA== contains-path@^0.1.0: version "0.1.0" @@ -6239,7 +6546,7 @@ yallist@^4.0.0: resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== -yaml@1.10.2, yaml@^1.10.0, yaml@^1.10.2: +yaml@^1.10.0, yaml@^1.10.2: version "1.10.2" resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==