From 6a7a24afcc1ebebf71c267b890732a455e865cc8 Mon Sep 17 00:00:00 2001 From: AWS CDK Automation <43080478+aws-cdk-automation@users.noreply.github.com> Date: Fri, 26 Jan 2024 14:21:55 -0500 Subject: [PATCH] feat: update L1 CloudFormation resource definitions (#28886) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates the L1 CloudFormation resource definitions with the latest changes from `@aws-cdk/aws-service-spec` **L1 CloudFormation resource definition changes:** ``` ├[-] service amzn-sdc │ ├ capitalized: SDC │ │ cloudFormationNamespace: AMZN::SDC │ │ name: amzn-sdc │ │ shortName: sdc │ └ resources │ └resource AMZN::SDC::Deployment │ ├ name: Deployment │ │ cloudFormationType: AMZN::SDC::Deployment │ │ documentation: Resource Type definition for AMZN::SDC::Deployment │ ├ properties │ │ ├ConfigName: string (required) │ │ ├S3Bucket: string (required) │ │ ├TargetRegionOverride: string │ │ ├S3Key: string (required, immutable) │ │ ├Stage: string (required) │ │ ├PipelineId: string │ │ └Dimension: string (required) │ └ attributes │ └Id: string ├[~] service aws-amazonmq │ └ resources │ └[~] resource AWS::AmazonMQ::Broker │ └ types │ └[~] type User │ └ properties │ └[+] ReplicationUser: boolean ├[~] service aws-backup │ └ resources │ └[~] resource AWS::Backup::BackupPlan │ └ types │ └[~] type LifecycleResourceType │ └ properties │ └[+] OptInToArchiveForSupportedResources: boolean ├[~] service aws-codebuild │ └ resources │ └[~] resource AWS::CodeBuild::Project │ └ types │ ├[~] type Environment │ │ └ properties │ │ ├ ComputeType: - string │ │ │ + string (required) │ │ ├[+] Fleet: ProjectFleet │ │ └ Type: - string │ │ + string (required) │ └[+] type ProjectFleet │ ├ name: ProjectFleet │ └ properties │ └FleetArn: string ├[-] service aws-codetest │ ├ capitalized: CodeTest │ │ cloudFormationNamespace: AWS::CodeTest │ │ name: aws-codetest │ │ shortName: codetest │ └ resources │ ├resource AWS::CodeTest::PersistentConfiguration │ │├ name: PersistentConfiguration │ ││ cloudFormationType: AWS::CodeTest::PersistentConfiguration │ ││ documentation: Resource Type definition for AWS::CodeTest::PersistentConfiguration │ │├ properties │ ││ ├Version: string │ ││ ├VpcConfig: VpcConfig │ ││ ├Name: string (immutable) │ ││ └ResultsRoleArn: string (required) │ │├ attributes │ ││ └Id: string │ │└ types │ │ └type VpcConfig │ │ ├ name: VpcConfig │ │ └ properties │ │ ├SecurityGroupIds: Array │ │ └Subnets: Array │ └resource AWS::CodeTest::Series │ ├ name: Series │ │ cloudFormationType: AWS::CodeTest::Series │ │ documentation: Resource Type definition for AWS::CodeTest::Series │ ├ properties │ │ ├PersistentConfigurationId: string (required, immutable) │ │ ├RunDefinition: json (required) │ │ ├State: string (required) │ │ └Name: string (immutable) │ └ attributes │ └Id: string ├[~] service aws-elasticache │ └ resources │ └[~] resource AWS::ElastiCache::ServerlessCache │ ├ attributes │ │ ├ Endpoint.Port: - integer ⇐ string │ │ │ + string │ │ └ ReaderEndpoint.Port: - integer ⇐ string │ │ + string │ └ types │ └[~] type Endpoint │ └ properties │ └ Port: - integer ⇐ string │ + string ├[~] service aws-guardduty │ └ resources │ └[~] resource AWS::GuardDuty::Filter └[~] service aws-iot └ resources └[~] resource AWS::IoT::FleetMetric └ attributes ├ CreationDate: - number │ + string ⇐ number └ LastModifiedDate: - number + string ⇐ number ``` --- .../@aws-cdk/cloudformation-diff/package.json | 4 +-- packages/@aws-cdk/integ-runner/package.json | 2 +- packages/aws-cdk-lib/package.json | 2 +- tools/@aws-cdk/spec2cdk/package.json | 6 ++-- yarn.lock | 28 +++++++++---------- 5 files changed, 21 insertions(+), 21 deletions(-) diff --git a/packages/@aws-cdk/cloudformation-diff/package.json b/packages/@aws-cdk/cloudformation-diff/package.json index eeaa1bd22b5ad..f7bbbb49b43f0 100644 --- a/packages/@aws-cdk/cloudformation-diff/package.json +++ b/packages/@aws-cdk/cloudformation-diff/package.json @@ -23,8 +23,8 @@ }, "license": "Apache-2.0", "dependencies": { - "@aws-cdk/aws-service-spec": "^0.0.44", - "@aws-cdk/service-spec-types": "^0.0.44", + "@aws-cdk/aws-service-spec": "^0.0.45", + "@aws-cdk/service-spec-types": "^0.0.45", "chalk": "^4", "diff": "^5.1.0", "fast-deep-equal": "^3.1.3", diff --git a/packages/@aws-cdk/integ-runner/package.json b/packages/@aws-cdk/integ-runner/package.json index 72ca7ea6f07c9..478a9ed04b33b 100644 --- a/packages/@aws-cdk/integ-runner/package.json +++ b/packages/@aws-cdk/integ-runner/package.json @@ -74,7 +74,7 @@ "@aws-cdk/cloud-assembly-schema": "0.0.0", "@aws-cdk/cloudformation-diff": "0.0.0", "@aws-cdk/cx-api": "0.0.0", - "@aws-cdk/aws-service-spec": "^0.0.44", + "@aws-cdk/aws-service-spec": "^0.0.45", "cdk-assets": "0.0.0", "@aws-cdk/cdk-cli-wrapper": "0.0.0", "aws-cdk": "0.0.0", diff --git a/packages/aws-cdk-lib/package.json b/packages/aws-cdk-lib/package.json index 908a6e84cdcf8..31afb1c0e2bb7 100644 --- a/packages/aws-cdk-lib/package.json +++ b/packages/aws-cdk-lib/package.json @@ -133,7 +133,7 @@ "yaml": "1.10.2" }, "devDependencies": { - "@aws-cdk/aws-service-spec": "^0.0.44", + "@aws-cdk/aws-service-spec": "^0.0.45", "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/custom-resource-handlers": "0.0.0", "@aws-cdk/pkglint": "0.0.0", diff --git a/tools/@aws-cdk/spec2cdk/package.json b/tools/@aws-cdk/spec2cdk/package.json index 1cfe6318943b7..7b3fb2f1da74d 100644 --- a/tools/@aws-cdk/spec2cdk/package.json +++ b/tools/@aws-cdk/spec2cdk/package.json @@ -32,9 +32,9 @@ }, "license": "Apache-2.0", "dependencies": { - "@aws-cdk/aws-service-spec": "^0.0.44", - "@aws-cdk/service-spec-importers": "^0.0.17", - "@aws-cdk/service-spec-types": "^0.0.44", + "@aws-cdk/aws-service-spec": "^0.0.45", + "@aws-cdk/service-spec-importers": "^0.0.18", + "@aws-cdk/service-spec-types": "^0.0.45", "@cdklabs/tskb": "^0.0.3", "@cdklabs/typewriter": "^0.0.3", "camelcase": "^6", diff --git a/yarn.lock b/yarn.lock index d4e32c37e6375..f8fc67f639406 100644 --- a/yarn.lock +++ b/yarn.lock @@ -56,12 +56,12 @@ resolved "https://registry.npmjs.org/@aws-cdk/asset-node-proxy-agent-v6/-/asset-node-proxy-agent-v6-2.0.1.tgz#6dc9b7cdb22ff622a7176141197962360c33e9ac" integrity sha512-DDt4SLdLOwWCjGtltH4VCST7hpOI5DzieuhGZsBpZ+AgJdSI2GCjklCXm0GCTwJG/SolkL5dtQXyUKgg9luBDg== -"@aws-cdk/aws-service-spec@^0.0.44": - version "0.0.44" - resolved "https://registry.npmjs.org/@aws-cdk/aws-service-spec/-/aws-service-spec-0.0.44.tgz#b19edab0af2b76320bc53bafe7757c0c377d7904" - integrity sha512-Br1XXJAdHsgxoImGsCrDJrITo0E0y88roGiCdDw16WsMKWWpWLz7z2+PtqGiMQ+X0GKHKaNQ8MGLJ+J8kjEk8A== +"@aws-cdk/aws-service-spec@^0.0.45": + version "0.0.45" + resolved "https://registry.npmjs.org/@aws-cdk/aws-service-spec/-/aws-service-spec-0.0.45.tgz#ffe1eece531ee8ea091b1f77acd4571b727edaf3" + integrity sha512-0n3ZeMj1YTUVK/PqR4NoW94xn8nRiyMeMxfSD/nCgun6IwKqXHY4Us3rF3aqfHq0Dv8YBf2ZnWRidCP6tjL95g== dependencies: - "@aws-cdk/service-spec-types" "^0.0.44" + "@aws-cdk/service-spec-types" "^0.0.45" "@cdklabs/tskb" "^0.0.3" "@aws-cdk/lambda-layer-kubectl-v24@^2.0.242": @@ -69,12 +69,12 @@ resolved "https://registry.npmjs.org/@aws-cdk/lambda-layer-kubectl-v24/-/lambda-layer-kubectl-v24-2.0.242.tgz#4273a5ad7714f933a7eba155eb9280823086db71" integrity sha512-7/wIOo685tmrEe4hh6zqDELhBZh5OQGf3Hd2FU2Vnwy2ZubW8qTmEw5gqJCsCrGKeYDoa1BcVhDRZ/nzjkaqyA== -"@aws-cdk/service-spec-importers@^0.0.17": - version "0.0.17" - resolved "https://registry.npmjs.org/@aws-cdk/service-spec-importers/-/service-spec-importers-0.0.17.tgz#910b3c13d3491f881f1bc0991a25e33b64a22ec6" - integrity sha512-Hvkh7K0IEsdGsaavh2FXonWqfbp2q7bZR1WQGdyS9bWI4VRAMa33TciVO7KAFzmGqN86LM20kc3WXbDE0egkUQ== +"@aws-cdk/service-spec-importers@^0.0.18": + version "0.0.18" + resolved "https://registry.npmjs.org/@aws-cdk/service-spec-importers/-/service-spec-importers-0.0.18.tgz#66023f00b95dc7017360a68451f501e53f9f6927" + integrity sha512-BZJhSG5M/M1cLZNHUy3/h2nEWE5AAC6Oz2xTNQGwpxluxf+l6Hw2yye+lwFLZhImv351dKRAKHnRFkcnHq7nPA== dependencies: - "@aws-cdk/service-spec-types" "^0.0.44" + "@aws-cdk/service-spec-types" "^0.0.45" "@cdklabs/tskb" "^0.0.3" ajv "^6" canonicalize "^2.0.0" @@ -85,10 +85,10 @@ glob "^8" sort-json "^2.0.1" -"@aws-cdk/service-spec-types@^0.0.44": - version "0.0.44" - resolved "https://registry.npmjs.org/@aws-cdk/service-spec-types/-/service-spec-types-0.0.44.tgz#ef2b13f22c3d37347db29b09540680aeb08d4887" - integrity sha512-T7JKNmcQWLkt+wCreAfMcQkJ2C6eyGvoVAWeZHi8+XKHz1WTxyZfSkqk9BiI60+BSoISP9MSklCmzseQIgpYQQ== +"@aws-cdk/service-spec-types@^0.0.45": + version "0.0.45" + resolved "https://registry.npmjs.org/@aws-cdk/service-spec-types/-/service-spec-types-0.0.45.tgz#e66517a3fb1692694afaa517dbf62663b45ac641" + integrity sha512-srCb7Wwr2ZYi4AZIJ+rufIxqDEt9+APQprzXxcEy2uz7Vf9ACMmt18J8glR647BpZJHf95kyhn+57kOaMYaCiw== dependencies: "@cdklabs/tskb" "^0.0.3"