Closed shawnxue closed 1 year ago
Options takes in any
, not OptionsProperty
. Fill it out directly without that (and be sure to PascalCase the keys) and this will work fine.
Ping me if you need to see an example of this
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
When attaching a vpc to transit gateway in AWS CDK (python), we found that keys in OptionsProperty are not supported. CDK version: aws-cdk-lib==2.93.0 Here is our code
Errors we got:
Expected Behavior
parameters in OptionsProperty are supported.
Current Behavior
We got errors when applying the code: Errors we got:
Reproduction Steps
cdk deploy
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.86.0 (build 1130fab)
Framework Version
No response
Node.js Version
18.0.0
OS
22.04 LTS
Language
Python
Language Version
3.9
Other information
No response