Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update L1 CloudFormation resource definitions #28613

Merged
merged 1 commit into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/@aws-cdk/cloudformation-diff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
},
"license": "Apache-2.0",
"dependencies": {
"@aws-cdk/aws-service-spec": "^0.0.38",
"@aws-cdk/service-spec-types": "^0.0.38",
"@aws-cdk/aws-service-spec": "^0.0.40",
"@aws-cdk/service-spec-types": "^0.0.40",
"chalk": "^4",
"diff": "^5.1.0",
"fast-deep-equal": "^3.1.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/integ-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.38",
"@aws-cdk/aws-service-spec": "^0.0.40",
"cdk-assets": "0.0.0",
"@aws-cdk/cdk-cli-wrapper": "0.0.0",
"aws-cdk": "0.0.0",
Expand Down
13 changes: 13 additions & 0 deletions packages/aws-cdk-lib/amzn-sdc/.jsiirc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"targets": {
"java": {
"package": "amzn.sdc"
},
"dotnet": {
"package": "Amazon.CDK.AMZN.SDC"
},
"python": {
"module": "aws_cdk.amzn_sdc"
}
}
}
39 changes: 39 additions & 0 deletions packages/aws-cdk-lib/amzn-sdc/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# AMZN::SDC Construct Library
<!--BEGIN STABILITY BANNER-->

---

![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)

> All classes with the `Cfn` prefix in this module ([CFN Resources]) are always stable and safe to use.
>
> [CFN Resources]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib

---

<!--END STABILITY BANNER-->

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

```ts nofixture
import * as amzn_sdc from 'aws-cdk-lib/amzn-sdc';
```

<!--BEGIN CFNONLY DISCLAIMER-->

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for SDC construct libraries](https://constructs.dev/search?q=sdc)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AMZN::SDC resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AMZN_SDC.html) directly.


<!--BEGIN CFNONLY DISCLAIMER-->

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AMZN::SDC](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AMZN_SDC.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

<!--END CFNONLY DISCLAIMER-->
1 change: 1 addition & 0 deletions packages/aws-cdk-lib/amzn-sdc/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './lib';
2 changes: 2 additions & 0 deletions packages/aws-cdk-lib/amzn-sdc/lib/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// AMZN::SDC Cloudformation Resources
export * from './sdc.generated';
13 changes: 13 additions & 0 deletions packages/aws-cdk-lib/aws-codetest/.jsiirc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"targets": {
"java": {
"package": "software.amazon.awscdk.services.codetest"
},
"dotnet": {
"package": "Amazon.CDK.AWS.CodeTest"
},
"python": {
"module": "aws_cdk.aws_codetest"
}
}
}
39 changes: 39 additions & 0 deletions packages/aws-cdk-lib/aws-codetest/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# AWS::CodeTest Construct Library
<!--BEGIN STABILITY BANNER-->

---

![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)

> All classes with the `Cfn` prefix in this module ([CFN Resources]) are always stable and safe to use.
>
> [CFN Resources]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib

---

<!--END STABILITY BANNER-->

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

```ts nofixture
import * as codetest from 'aws-cdk-lib/aws-codetest';
```

<!--BEGIN CFNONLY DISCLAIMER-->

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for CodeTest construct libraries](https://constructs.dev/search?q=codetest)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::CodeTest resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_CodeTest.html) directly.


<!--BEGIN CFNONLY DISCLAIMER-->

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::CodeTest](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_CodeTest.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

<!--END CFNONLY DISCLAIMER-->
1 change: 1 addition & 0 deletions packages/aws-cdk-lib/aws-codetest/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './lib';
2 changes: 2 additions & 0 deletions packages/aws-cdk-lib/aws-codetest/lib/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// AWS::CodeTest Cloudformation Resources
export * from './codetest.generated';
2 changes: 2 additions & 0 deletions packages/aws-cdk-lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export * as alexa_ask from './alexa-ask';
export * as amzn_sdc from './amzn-sdc';
export * as assertions from './assertions';
export * as assets from './assets';
export * as aws_accessanalyzer from './aws-accessanalyzer';
Expand Down Expand Up @@ -57,6 +58,7 @@ export * as aws_codepipeline_actions from './aws-codepipeline-actions';
export * as aws_codestar from './aws-codestar';
export * as aws_codestarconnections from './aws-codestarconnections';
export * as aws_codestarnotifications from './aws-codestarnotifications';
export * as aws_codetest from './aws-codetest';
export * as aws_cognito from './aws-cognito';
export * as aws_comprehend from './aws-comprehend';
export * as aws_config from './aws-config';
Expand Down
4 changes: 3 additions & 1 deletion packages/aws-cdk-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"yaml": "1.10.2"
},
"devDependencies": {
"@aws-cdk/aws-service-spec": "^0.0.38",
"@aws-cdk/aws-service-spec": "^0.0.40",
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/custom-resource-handlers": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
Expand Down Expand Up @@ -209,6 +209,7 @@
"./.jsii": "./.jsii",
"./.warnings.jsii.js": "./.warnings.jsii.js",
"./alexa-ask": "./alexa-ask/index.js",
"./amzn-sdc": "./amzn-sdc/index.js",
"./assertions": "./assertions/index.js",
"./assertions/lib/helpers-internal": "./assertions/lib/helpers-internal/index.js",
"./assets": "./assets/index.js",
Expand Down Expand Up @@ -268,6 +269,7 @@
"./aws-codestar": "./aws-codestar/index.js",
"./aws-codestarconnections": "./aws-codestarconnections/index.js",
"./aws-codestarnotifications": "./aws-codestarnotifications/index.js",
"./aws-codetest": "./aws-codetest/index.js",
"./aws-cognito": "./aws-cognito/index.js",
"./aws-comprehend": "./aws-comprehend/index.js",
"./aws-config": "./aws-config/index.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/aws-cdk-lib/scripts/scope-map.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"alexa-ask": [
"Alexa::ASK"
],
"amzn-sdc": [
"AMZN::SDC"
],
"aws-accessanalyzer": [
"AWS::AccessAnalyzer"
],
Expand Down Expand Up @@ -146,6 +149,9 @@
"aws-codestarnotifications": [
"AWS::CodeStarNotifications"
],
"aws-codetest": [
"AWS::CodeTest"
],
"aws-cognito": [
"AWS::Cognito"
],
Expand Down
4 changes: 2 additions & 2 deletions tools/@aws-cdk/spec2cdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
},
"license": "Apache-2.0",
"dependencies": {
"@aws-cdk/aws-service-spec": "^0.0.38",
"@aws-cdk/aws-service-spec": "^0.0.40",
"@aws-cdk/service-spec-importers": "^0.0.14",
"@aws-cdk/service-spec-types": "^0.0.38",
"@aws-cdk/service-spec-types": "^0.0.40",
"@cdklabs/tskb": "^0.0.3",
"@cdklabs/typewriter": "^0.0.3",
"camelcase": "^6",
Expand Down
17 changes: 12 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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.38":
version "0.0.38"
resolved "https://registry.npmjs.org/@aws-cdk/aws-service-spec/-/aws-service-spec-0.0.38.tgz#bcc5fedaaec1358f3b299be7f6b60691b9d887eb"
integrity sha512-rnsZbD+S9RZxqQ6hhSmJEhW3iKgIkq1ztex74uYE7jFZszTIM0F1tdbnyb78RtC/+FuUwZ7FDnrXdQmWMMSsNg==
"@aws-cdk/aws-service-spec@^0.0.40":
version "0.0.40"
resolved "https://registry.npmjs.org/@aws-cdk/aws-service-spec/-/aws-service-spec-0.0.40.tgz#f1b7cb34323b060d6ab72df456f5a92ec8346bdf"
integrity sha512-ujRd7lEnmwsoaHAAY04QjjzKoOHnyEcv6APSEH7airjv+rodJG6713wZOWo5su8ESaC/1SE/+cFix2mKtpcz1Q==
dependencies:
"@aws-cdk/service-spec-types" "^0.0.38"
"@aws-cdk/service-spec-types" "^0.0.40"
"@cdklabs/tskb" "^0.0.3"

"@aws-cdk/lambda-layer-kubectl-v24@^2.0.242":
Expand Down Expand Up @@ -92,6 +92,13 @@
dependencies:
"@cdklabs/tskb" "^0.0.3"

"@aws-cdk/service-spec-types@^0.0.40":
version "0.0.40"
resolved "https://registry.npmjs.org/@aws-cdk/service-spec-types/-/service-spec-types-0.0.40.tgz#348f67da375fbed4538f3dcbefae6f5458662b37"
integrity sha512-+UWCCRQ5CtkLVaiJMCdG+r/0ifHo/YIE2u0hhD731Ud1iO99cMEzulzMztfBXxNdX4ySNq9WthyJTFSFWWAxYw==
dependencies:
"@cdklabs/tskb" "^0.0.3"

"@aws-crypto/crc32@3.0.0":
version "3.0.0"
resolved "https://registry.npmjs.org/@aws-crypto/crc32/-/crc32-3.0.0.tgz#07300eca214409c33e3ff769cd5697b57fdd38fa"
Expand Down
Loading