aws-cdk-lib/aws-sagemaker: CfnApp #/AppType: CodeEditor is not a valid enum value #34223
Labels
bug
This issue is a bug.
needs-cfn
This issue is waiting on changes to CloudFormation before it can be addressed.
p3
package/tools
Related to AWS CDK Tools or CLI
Describe the bug
I noted that in the CloudFormation documentation, 'CodeEditor' is not a valid type for AppType: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-app.html#cfn-sagemaker-app-apptype. However, when I look up existing apps for my domain with AWS CLI (configured with click-ops), it does return my app with AppType 'CodeEditor'.
When I declare this app via CDK, it throws an error.
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
I expect CodeEditor to be a valid enum type, and CDK to create the app.
Current Behavior
Reproduction Steps
Deploy the following with CDK:
Possible Solution
Add CodeEditor to possible types of the AppType enum.
Additional Information/Context
No response
CDK CLI Version
2.1007.0
Framework Version
No response
Node.js Version
v22.10.0
OS
macOS Sequioa Version 15.3.2 (24D81)
Language
TypeScript
Language Version
5.6.3
Other information
No response
The text was updated successfully, but these errors were encountered: