(aws-events): Validate events rule name #25352
Labels
@aws-cdk/aws-events
Related to CloudWatch Events
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
The events rule name should be validated. Currently, event rule names are limited in the number of characters and characters that can be used.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html#cfn-events-rule-name
Use Case
Notice bugs without deploying. It's useful for validation in CI or other.
Proposed Solution
Add rule name validation in Rule class.
Other Information
No response
Acknowledgements
CDK version used
2.77.0
Environment details (OS name and version, etc.)
MacOS
The text was updated successfully, but these errors were encountered: