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 #30037

Merged
merged 15 commits into from
May 2, 2024
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.65",
"@aws-cdk/service-spec-types": "^0.0.65",
"@aws-cdk/aws-service-spec": "^0.1.0",
"@aws-cdk/service-spec-types": "^0.0.68",
"chalk": "^4",
"diff": "^5.2.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.65",
"@aws-cdk/aws-service-spec": "^0.1.0",
"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/aws-qbusiness/.jsiirc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"targets": {
"java": {
"package": "software.amazon.awscdk.services.qbusiness"
},
"dotnet": {
"package": "Amazon.CDK.AWS.QBusiness"
},
"python": {
"module": "aws_cdk.aws_qbusiness"
}
}
}
39 changes: 39 additions & 0 deletions packages/aws-cdk-lib/aws-qbusiness/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# AWS::QBusiness 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 qbusiness from 'aws-cdk-lib/aws-qbusiness';
```

<!--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 QBusiness construct libraries](https://constructs.dev/search?q=qbusiness)
- 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::QBusiness resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_QBusiness.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::QBusiness](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_QBusiness.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-qbusiness/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-qbusiness/lib/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// AWS::QBusiness Cloudformation Resources
export * from './qbusiness.generated';
1 change: 1 addition & 0 deletions packages/aws-cdk-lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ export * as aws_pinpoint from './aws-pinpoint';
export * as aws_pinpointemail from './aws-pinpointemail';
export * as aws_pipes from './aws-pipes';
export * as aws_proton from './aws-proton';
export * as aws_qbusiness from './aws-qbusiness';
export * as aws_qldb from './aws-qldb';
export * as aws_quicksight from './aws-quicksight';
export * as aws_ram from './aws-ram';
Expand Down
3 changes: 2 additions & 1 deletion packages/aws-cdk-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
"mime-types": "^2.1.35"
},
"devDependencies": {
"@aws-cdk/aws-service-spec": "^0.0.65",
"@aws-cdk/aws-service-spec": "^0.1.0",
"@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 @@ -414,6 +414,7 @@
"./aws-pinpointemail": "./aws-pinpointemail/index.js",
"./aws-pipes": "./aws-pipes/index.js",
"./aws-proton": "./aws-proton/index.js",
"./aws-qbusiness": "./aws-qbusiness/index.js",
"./aws-qldb": "./aws-qldb/index.js",
"./aws-quicksight": "./aws-quicksight/index.js",
"./aws-ram": "./aws-ram/index.js",
Expand Down
3 changes: 3 additions & 0 deletions packages/aws-cdk-lib/scripts/scope-map.json
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,9 @@
"aws-proton": [
"AWS::Proton"
],
"aws-qbusiness": [
"AWS::QBusiness"
],
"aws-qldb": [
"AWS::QLDB"
],
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.65",
"@aws-cdk/aws-service-spec": "^0.1.0",
"@aws-cdk/service-spec-importers": "^0.0.31",
"@aws-cdk/service-spec-types": "^0.0.65",
"@aws-cdk/service-spec-types": "^0.0.68",
"@cdklabs/tskb": "^0.0.3",
"@cdklabs/typewriter": "^0.0.3",
"camelcase": "^6",
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@
resolved "https://registry.npmjs.org/@aws-cdk/asset-node-proxy-agent-v6/-/asset-node-proxy-agent-v6-2.0.3.tgz#9b5d213b5ce5ad4461f6a4720195ff8de72e6523"
integrity sha512-twhuEG+JPOYCYPx/xy5uH2+VUsIEhPTzDY0F1KuB+ocjWWB/KEDiOVL19nHvbPCB6fhWnkykXEMJ4HHcKvjtvg==

"@aws-cdk/aws-service-spec@^0.0.65":
version "0.0.65"
resolved "https://registry.npmjs.org/@aws-cdk/aws-service-spec/-/aws-service-spec-0.0.65.tgz#26b23804afa4ca9e0dea951af135b50b33fae227"
integrity sha512-pgYguYQk7e9PJy5+csb/mSCozBqKYXE4yiksnNMXopcTEYA9LB+jrD0wk/jMNfrsGLIeBrYEDFjVmxyvSK1j4Q==
"@aws-cdk/aws-service-spec@^0.1.0":
version "0.1.0"
resolved "https://registry.npmjs.org/@aws-cdk/aws-service-spec/-/aws-service-spec-0.1.0.tgz#b50d339f2230747ce7b1c031dc539e21d421966b"
integrity sha512-8jnEwr2FExWC9DLYRDtgOq5tO3qc22UlqcIQPIECMrtEa5UYU8SrtaSMCfFG73iFlhgTr5Rwsl3rgF//Jkn8SA==
dependencies:
"@aws-cdk/service-spec-types" "^0.0.65"
"@aws-cdk/service-spec-types" "^0.0.68"
"@cdklabs/tskb" "^0.0.3"

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

"@aws-cdk/service-spec-types@^0.0.65":
version "0.0.65"
resolved "https://registry.npmjs.org/@aws-cdk/service-spec-types/-/service-spec-types-0.0.65.tgz#da9096b5b9646bd23e040f88d2c7f55c4dd1d529"
integrity sha512-Zqym20NXZPWROBeIUzS400COrutTGvvaJ3e6yEYZ6KB8qUFbf1BGWqHGGqB4+OP0ZY4sHXYerU9RkZa6OQolgQ==
"@aws-cdk/service-spec-types@^0.0.68":
version "0.0.68"
resolved "https://registry.npmjs.org/@aws-cdk/service-spec-types/-/service-spec-types-0.0.68.tgz#47928f4863f37a8b1ac8af5fef83ffb370e863b3"
integrity sha512-3dmOwwoWenNF6rcLWMnWVqx0mG+f26Tkyurc8lzFIaBecNzQCoNlw8O/TXg4OsdOfiRiNt1U6UJ7C1ZaSEd/rA==
dependencies:
"@cdklabs/tskb" "^0.0.3"

Expand Down
Loading