Skip to content

Commit

Permalink
feat: update L1 CloudFormation resource definitions (#30642)
Browse files Browse the repository at this point in the history
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>
```
  • Loading branch information
aws-cdk-automation authored Jun 24, 2024
1 parent 3b95777 commit 2a659f0
Show file tree
Hide file tree
Showing 11 changed files with 75 additions and 15 deletions.
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.1.7",
"@aws-cdk/service-spec-types": "^0.0.75",
"@aws-cdk/aws-service-spec": "^0.1.8",
"@aws-cdk/service-spec-types": "^0.0.76",
"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.1.7",
"@aws-cdk/aws-service-spec": "^0.1.8",
"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-apptest/.jsiirc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"targets": {
"java": {
"package": "software.amazon.awscdk.services.apptest"
},
"dotnet": {
"package": "Amazon.CDK.AWS.AppTest"
},
"python": {
"module": "aws_cdk.aws_apptest"
}
}
}
39 changes: 39 additions & 0 deletions packages/aws-cdk-lib/aws-apptest/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# AWS::AppTest 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 apptest from 'aws-cdk-lib/aws-apptest';
```

<!--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 AppTest construct libraries](https://constructs.dev/search?q=apptest)
- 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.


<!--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::AppTest](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_AppTest.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-apptest/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-apptest/lib/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// AWS::AppTest Cloudformation Resources
export * from './apptest.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 @@ -20,6 +20,7 @@ export * as aws_appmesh from './aws-appmesh';
export * as aws_apprunner from './aws-apprunner';
export * as aws_appstream from './aws-appstream';
export * as aws_appsync from './aws-appsync';
export * as aws_apptest from './aws-apptest';
export * as aws_aps from './aws-aps';
export * as aws_arczonalshift from './aws-arczonalshift';
export * as aws_athena from './aws-athena';
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.1.7",
"@aws-cdk/aws-service-spec": "^0.1.8",
"@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 @@ -234,6 +234,7 @@
"./aws-apprunner": "./aws-apprunner/index.js",
"./aws-appstream": "./aws-appstream/index.js",
"./aws-appsync": "./aws-appsync/index.js",
"./aws-apptest": "./aws-apptest/index.js",
"./aws-aps": "./aws-aps/index.js",
"./aws-arczonalshift": "./aws-arczonalshift/index.js",
"./aws-athena": "./aws-athena/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 @@ -53,6 +53,9 @@
"aws-appsync": [
"AWS::AppSync"
],
"aws-apptest": [
"AWS::AppTest"
],
"aws-aps": [
"AWS::APS"
],
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.1.7",
"@aws-cdk/aws-service-spec": "^0.1.8",
"@aws-cdk/service-spec-importers": "^0.0.37",
"@aws-cdk/service-spec-types": "^0.0.75",
"@aws-cdk/service-spec-types": "^0.0.76",
"@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.1.7":
version "0.1.7"
resolved "https://registry.npmjs.org/@aws-cdk/aws-service-spec/-/aws-service-spec-0.1.7.tgz#8f5e5333f9f68268c1f70a262a2a4ca3bcf8dadf"
integrity sha512-6fvUzbNYXvbZGQaBOko2a/xfJe7s5lBXHvsCRLpXS43iDn/A643b100kJvOP3tWmT+JwcjIEi3FTYVr8Td6Iaw==
"@aws-cdk/aws-service-spec@^0.1.8":
version "0.1.8"
resolved "https://registry.npmjs.org/@aws-cdk/aws-service-spec/-/aws-service-spec-0.1.8.tgz#5d9447e118c9d85106fed05e0d83ede943d86ce6"
integrity sha512-wYOq5HhEhAjKcO8vLPzcplqWIiC5LdP+apzu/zAwNe5MhRxyJYVgZRIYKqvkw8Suxj+hs8C9SeMPbHjG9PkGDg==
dependencies:
"@aws-cdk/service-spec-types" "^0.0.75"
"@aws-cdk/service-spec-types" "^0.0.76"
"@cdklabs/tskb" "^0.0.3"

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

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

Expand Down

0 comments on commit 2a659f0

Please sign in to comment.