I'm having an issue with AWS CDK. I'm defining an SSM StringListParameter (https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-ssm.StringListParameter.html) with a defined allowedPattern value of '^\w+$' the thing is that while this was possible to use if defined in a CF template, it seems that it is not usable from the "CDK side of things".
Any thoughts?
PS: For now I've solved this by modifying the pattern to something like '^[a-zA-Z0-9_]+$' but for longer patterns this gets difficult to read, really fast. This report was made for CDK version 1.84.0