-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(spec2cdk): generate ICfnResource interface (#27681)
Generates something that looks like this for all resources: ```ts interface ICfnResource { readonly attrName: string; // { Ref }, i.e. the primaryIdentifier readonly attrArn: string; // { Fn::GetAtt }, if applicable } ``` In a separate PR, we will update all `CfnResource`s to extend `ICfnResource`, and then later on, update some `Resource`s to extend `ICfnResource` as well. **This PR targets `conroy/generate` as a horribly named branch off of `main` which will house all pieces of this puzzle before unleashing onto `main`.** ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --------- Co-authored-by: Momo Kornher <kornherm@amazon.co.uk>
- Loading branch information
Showing
7 changed files
with
1,419 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.