[Core] Fn.ConditionIf doesn't capitalise properties name. #10895
Labels
@aws-cdk/core
Related to core CDK functionality
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
When we put the nested resource properties in the Fn.ConditionIf, the output template doesn't capitalise those fields name. For NodeJs, we can change the name to Capital one, but for Typescript, we can't do it. The type check force us to use lower case.
Reproduction Steps
Here is the demo code
The output:
What did you expect to happen?
Capitalise the parameter name in the ConditionIf
What actually happened?
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: