Skip to content

Commit 2a659f0

Browse files
feat: update L1 CloudFormation resource definitions (#30642)
Updates the L1 CloudFormation resource definitions with the latest changes from `@aws-cdk/aws-service-spec` **L1 CloudFormation resource definition changes:** ``` ├[+] service aws-apptest │ ├ capitalized: AppTest │ │ cloudFormationNamespace: AWS::AppTest │ │ name: aws-apptest │ │ shortName: apptest │ └ resources │ └resource AWS::AppTest::TestCase │ ├ name: TestCase │ │ cloudFormationType: AWS::AppTest::TestCase │ │ documentation: Represents a Test Case that can be captured and executed │ │ tagInformation: {"tagPropertyName":"Tags","variant":"map"} │ ├ properties │ │ ├Description: string │ │ ├Name: string (required, immutable) │ │ ├Steps: Array<Step> (required) │ │ └Tags: Map<string, string> │ ├ attributes │ │ ├CreationTime: string │ │ ├LastUpdateTime: string │ │ ├LatestVersion: TestCaseLatestVersion │ │ ├Status: string │ │ ├TestCaseArn: string │ │ ├TestCaseId: string │ │ └TestCaseVersion: number │ └ types │ ├type TestCaseLatestVersion │ │├ name: TestCaseLatestVersion │ │└ properties │ │ ├Version: number (required) │ │ └Status: string (required) │ ├type Step │ │├ name: Step │ │└ properties │ │ ├Name: string (required) │ │ ├Description: string │ │ └Action: StepAction (required) │ ├type StepAction │ │├ name: StepAction │ │└ properties │ │ ├ResourceAction: ResourceAction │ │ ├MainframeAction: MainframeAction │ │ └CompareAction: CompareAction │ ├type ResourceAction │ │├ name: ResourceAction │ │└ properties │ │ ├M2ManagedApplicationAction: M2ManagedApplicationAction │ │ ├M2NonManagedApplicationAction: M2NonManagedApplicationAction │ │ └CloudFormationAction: CloudFormationAction │ ├type M2ManagedApplicationAction │ │├ name: M2ManagedApplicationAction │ │└ properties │ │ ├Resource: string (required) │ │ ├ActionType: string (required) │ │ └Properties: M2ManagedActionProperties │ ├type M2ManagedActionProperties │ │├ name: M2ManagedActionProperties │ │└ properties │ │ ├ForceStop: boolean │ │ └ImportDataSetLocation: string │ ├type M2NonManagedApplicationAction │ │├ name: M2NonManagedApplicationAction │ │└ properties │ │ ├Resource: string (required) │ │ └ActionType: string (required) │ ├type CloudFormationAction │ │├ name: CloudFormationAction │ │└ properties │ │ ├Resource: string (required) │ │ └ActionType: string │ ├type MainframeAction │ │├ name: MainframeAction │ │└ properties │ │ ├Resource: string (required) │ │ ├ActionType: MainframeActionType (required) │ │ └Properties: MainframeActionProperties │ ├type MainframeActionType │ │├ name: MainframeActionType │ │└ properties │ │ ├Batch: Batch │ │ └Tn3270: TN3270 │ ├type Batch │ │├ name: Batch │ │└ properties │ │ ├BatchJobName: string (required) │ │ ├BatchJobParameters: Map<string, string> │ │ └ExportDataSetNames: Array<string> │ ├type TN3270 │ │├ name: TN3270 │ │└ properties │ │ ├Script: Script (required) │ │ └ExportDataSetNames: Array<string> │ ├type Script │ │├ name: Script │ │└ properties │ │ ├ScriptLocation: string (required) │ │ └Type: string (required) │ ├type MainframeActionProperties │ │├ name: MainframeActionProperties │ │└ properties │ │ └DmsTaskArn: string │ ├type CompareAction │ │├ name: CompareAction │ │└ properties │ │ ├Input: Input (required) │ │ └Output: Output │ ├type Input │ │├ name: Input │ │└ properties │ │ └File: InputFile (required) │ ├type InputFile │ │├ name: InputFile │ │└ properties │ │ ├SourceLocation: string (required) │ │ ├TargetLocation: string (required) │ │ └FileMetadata: FileMetadata (required) │ ├type FileMetadata │ │├ name: FileMetadata │ │└ properties │ │ ├DataSets: Array<DataSet> │ │ └DatabaseCDC: DatabaseCDC │ ├type DataSet │ │├ name: DataSet │ │└ properties │ │ ├Type: string (required) │ │ ├Name: string (required) │ │ ├Ccsid: string (required) │ │ ├Format: string (required) │ │ └Length: number (required) │ ├type DatabaseCDC │ │├ name: DatabaseCDC │ │└ properties │ │ ├SourceMetadata: SourceDatabaseMetadata (required) │ │ └TargetMetadata: TargetDatabaseMetadata (required) │ ├type SourceDatabaseMetadata │ │├ name: SourceDatabaseMetadata │ │└ properties │ │ ├Type: string (required) │ │ └CaptureTool: string (required) │ ├type TargetDatabaseMetadata │ │├ name: TargetDatabaseMetadata │ │└ properties │ │ ├Type: string (required) │ │ └CaptureTool: string (required) │ ├type Output │ │├ name: Output │ │└ properties │ │ └File: OutputFile (required) │ └type OutputFile │ ├ name: OutputFile │ └ properties │ └FileLocation: string ├[~] service aws-batch │ └ resources │ └[~] resource AWS::Batch::JobDefinition │ └ types │ └[~] type NodeRangeProperty │ └ properties │ └[-] EksProperties: EksProperties ├[~] service aws-kinesisfirehose │ └ resources │ └[~] resource AWS::KinesisFirehose::DeliveryStream │ └ types │ ├[~] type HttpEndpointDestinationConfiguration │ │ └ properties │ │ └[+] SecretsManagerConfiguration: SecretsManagerConfiguration │ ├[~] type RedshiftDestinationConfiguration │ │ └ properties │ │ ├ Password: - string (required) │ │ │ + string │ │ ├[+] SecretsManagerConfiguration: SecretsManagerConfiguration │ │ └ Username: - string (required) │ │ + string │ ├[+] type SecretsManagerConfiguration │ │ ├ name: SecretsManagerConfiguration │ │ └ properties │ │ ├Enabled: boolean (required) │ │ ├RoleARN: string │ │ └SecretARN: string │ ├[~] type SnowflakeDestinationConfiguration │ │ └ properties │ │ ├ PrivateKey: - string (required) │ │ │ + string │ │ ├[+] SecretsManagerConfiguration: SecretsManagerConfiguration │ │ └ User: - string (required) │ │ + string │ └[~] type SplunkDestinationConfiguration │ └ properties │ ├ HECToken: - string (required) │ │ + string │ └[+] SecretsManagerConfiguration: SecretsManagerConfiguration └[~] service aws-mediapackagev2 └ resources ├[~] resource AWS::MediaPackageV2::Channel │ └ attributes │ └[+] IngestEndpointUrls: Array<string> └[~] resource AWS::MediaPackageV2::OriginEndpoint └ attributes ├[+] DashManifestUrls: Array<string> ├[+] HlsManifestUrls: Array<string> └[+] LowLatencyHlsManifestUrls: Array<string> ```
1 parent 3b95777 commit 2a659f0

File tree

11 files changed

+75
-15
lines changed

11 files changed

+75
-15
lines changed

Diff for: packages/@aws-cdk/cloudformation-diff/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
},
2424
"license": "Apache-2.0",
2525
"dependencies": {
26-
"@aws-cdk/aws-service-spec": "^0.1.7",
27-
"@aws-cdk/service-spec-types": "^0.0.75",
26+
"@aws-cdk/aws-service-spec": "^0.1.8",
27+
"@aws-cdk/service-spec-types": "^0.0.76",
2828
"chalk": "^4",
2929
"diff": "^5.2.0",
3030
"fast-deep-equal": "^3.1.3",

Diff for: packages/@aws-cdk/integ-runner/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"@aws-cdk/cloud-assembly-schema": "0.0.0",
7575
"@aws-cdk/cloudformation-diff": "0.0.0",
7676
"@aws-cdk/cx-api": "0.0.0",
77-
"@aws-cdk/aws-service-spec": "^0.1.7",
77+
"@aws-cdk/aws-service-spec": "^0.1.8",
7878
"cdk-assets": "0.0.0",
7979
"@aws-cdk/cdk-cli-wrapper": "0.0.0",
8080
"aws-cdk": "0.0.0",

Diff for: packages/aws-cdk-lib/aws-apptest/.jsiirc.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"targets": {
3+
"java": {
4+
"package": "software.amazon.awscdk.services.apptest"
5+
},
6+
"dotnet": {
7+
"package": "Amazon.CDK.AWS.AppTest"
8+
},
9+
"python": {
10+
"module": "aws_cdk.aws_apptest"
11+
}
12+
}
13+
}

Diff for: packages/aws-cdk-lib/aws-apptest/README.md

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# AWS::AppTest Construct Library
2+
<!--BEGIN STABILITY BANNER-->
3+
4+
---
5+
6+
![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)
7+
8+
> All classes with the `Cfn` prefix in this module ([CFN Resources]) are always stable and safe to use.
9+
>
10+
> [CFN Resources]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib
11+
12+
---
13+
14+
<!--END STABILITY BANNER-->
15+
16+
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
17+
18+
```ts nofixture
19+
import * as apptest from 'aws-cdk-lib/aws-apptest';
20+
```
21+
22+
<!--BEGIN CFNONLY DISCLAIMER-->
23+
24+
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:
25+
26+
- Search [Construct Hub for AppTest construct libraries](https://constructs.dev/search?q=apptest)
27+
- 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::AppTest resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_AppTest.html) directly.
28+
29+
30+
<!--BEGIN CFNONLY DISCLAIMER-->
31+
32+
There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
33+
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.
34+
35+
For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::AppTest](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_AppTest.html).
36+
37+
(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.)
38+
39+
<!--END CFNONLY DISCLAIMER-->

Diff for: packages/aws-cdk-lib/aws-apptest/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './lib';

Diff for: packages/aws-cdk-lib/aws-apptest/lib/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// AWS::AppTest Cloudformation Resources
2+
export * from './apptest.generated';

Diff for: packages/aws-cdk-lib/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export * as aws_appmesh from './aws-appmesh';
2020
export * as aws_apprunner from './aws-apprunner';
2121
export * as aws_appstream from './aws-appstream';
2222
export * as aws_appsync from './aws-appsync';
23+
export * as aws_apptest from './aws-apptest';
2324
export * as aws_aps from './aws-aps';
2425
export * as aws_arczonalshift from './aws-arczonalshift';
2526
export * as aws_athena from './aws-athena';

Diff for: packages/aws-cdk-lib/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
"mime-types": "^2.1.35"
136136
},
137137
"devDependencies": {
138-
"@aws-cdk/aws-service-spec": "^0.1.7",
138+
"@aws-cdk/aws-service-spec": "^0.1.8",
139139
"@aws-cdk/cdk-build-tools": "0.0.0",
140140
"@aws-cdk/custom-resource-handlers": "0.0.0",
141141
"@aws-cdk/pkglint": "0.0.0",
@@ -234,6 +234,7 @@
234234
"./aws-apprunner": "./aws-apprunner/index.js",
235235
"./aws-appstream": "./aws-appstream/index.js",
236236
"./aws-appsync": "./aws-appsync/index.js",
237+
"./aws-apptest": "./aws-apptest/index.js",
237238
"./aws-aps": "./aws-aps/index.js",
238239
"./aws-arczonalshift": "./aws-arczonalshift/index.js",
239240
"./aws-athena": "./aws-athena/index.js",

Diff for: packages/aws-cdk-lib/scripts/scope-map.json

+3
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@
5353
"aws-appsync": [
5454
"AWS::AppSync"
5555
],
56+
"aws-apptest": [
57+
"AWS::AppTest"
58+
],
5659
"aws-aps": [
5760
"AWS::APS"
5861
],

Diff for: tools/@aws-cdk/spec2cdk/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
},
3333
"license": "Apache-2.0",
3434
"dependencies": {
35-
"@aws-cdk/aws-service-spec": "^0.1.7",
35+
"@aws-cdk/aws-service-spec": "^0.1.8",
3636
"@aws-cdk/service-spec-importers": "^0.0.37",
37-
"@aws-cdk/service-spec-types": "^0.0.75",
37+
"@aws-cdk/service-spec-types": "^0.0.76",
3838
"@cdklabs/tskb": "^0.0.3",
3939
"@cdklabs/typewriter": "^0.0.3",
4040
"camelcase": "^6",

Diff for: yarn.lock

+9-9
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@
5151
resolved "https://registry.npmjs.org/@aws-cdk/asset-node-proxy-agent-v6/-/asset-node-proxy-agent-v6-2.0.3.tgz#9b5d213b5ce5ad4461f6a4720195ff8de72e6523"
5252
integrity sha512-twhuEG+JPOYCYPx/xy5uH2+VUsIEhPTzDY0F1KuB+ocjWWB/KEDiOVL19nHvbPCB6fhWnkykXEMJ4HHcKvjtvg==
5353

54-
"@aws-cdk/aws-service-spec@^0.1.7":
55-
version "0.1.7"
56-
resolved "https://registry.npmjs.org/@aws-cdk/aws-service-spec/-/aws-service-spec-0.1.7.tgz#8f5e5333f9f68268c1f70a262a2a4ca3bcf8dadf"
57-
integrity sha512-6fvUzbNYXvbZGQaBOko2a/xfJe7s5lBXHvsCRLpXS43iDn/A643b100kJvOP3tWmT+JwcjIEi3FTYVr8Td6Iaw==
54+
"@aws-cdk/aws-service-spec@^0.1.8":
55+
version "0.1.8"
56+
resolved "https://registry.npmjs.org/@aws-cdk/aws-service-spec/-/aws-service-spec-0.1.8.tgz#5d9447e118c9d85106fed05e0d83ede943d86ce6"
57+
integrity sha512-wYOq5HhEhAjKcO8vLPzcplqWIiC5LdP+apzu/zAwNe5MhRxyJYVgZRIYKqvkw8Suxj+hs8C9SeMPbHjG9PkGDg==
5858
dependencies:
59-
"@aws-cdk/service-spec-types" "^0.0.75"
59+
"@aws-cdk/service-spec-types" "^0.0.76"
6060
"@cdklabs/tskb" "^0.0.3"
6161

6262
"@aws-cdk/lambda-layer-kubectl-v24@^2.0.242":
@@ -97,10 +97,10 @@
9797
dependencies:
9898
"@cdklabs/tskb" "^0.0.3"
9999

100-
"@aws-cdk/service-spec-types@^0.0.75":
101-
version "0.0.75"
102-
resolved "https://registry.npmjs.org/@aws-cdk/service-spec-types/-/service-spec-types-0.0.75.tgz#d162ad5cfd8d17783a2fd50c5bb66f9a887f4ede"
103-
integrity sha512-WWOUMJlRrj5GEm0FzW9ZCaQg2dyFaSmqkeB9yrW0NbJAXbWia5YjPe19HX1KHtkOPzhQOXPd3xUAt5tzengeKA==
100+
"@aws-cdk/service-spec-types@^0.0.76":
101+
version "0.0.76"
102+
resolved "https://registry.npmjs.org/@aws-cdk/service-spec-types/-/service-spec-types-0.0.76.tgz#7902f21eb6cd8477b174644bf3406255b6fd0e3a"
103+
integrity sha512-mRQrhfiEeG3z1UhhSx3NTpw3sP5mIyJ94t6fAJtk9zXIxjeEUS5tvupRO4uJnyjR3CnlJn8rvmTIS8o6oNaMzw==
104104
dependencies:
105105
"@cdklabs/tskb" "^0.0.3"
106106

0 commit comments

Comments
 (0)