Add string validation for CloudFormation DashboardName #2976
Labels
@aws-cdk/aws-cloudwatch
Related to Amazon CloudWatch
feature-request
A feature should be added or improved.
The "dashboardName" paramater for cloudwatch.Dashboard accepts a String, but on server side, CloudFormation will throw an error if the cloudwatch name has spaces
To reproduce:
What is the expected behavior (or behaviour of feature suggested)?
Add parameter validation in CDK
What is the motivation / use case for changing the behaviour or adding this feature?
Identifies string errors at build time, rather than at CDK deploy
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: