(iam): The naming conventions for IAM role names have not been verified #28502
Labels
@aws-cdk/aws-iam
Related to AWS Identity and Access Management
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
There are characters that cannot be used in IAM role names. (e.g., "/")
I propose a feature for CDK to verify that it adheres to this naming convention.
Use Case
If a name containing forbidden characters is set for the role name, no error occurs at the stage of ‘cdk synth’, but it fails during deployment. Therefore, I believe it would be preferable to trigger an error at the synth stage.
Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.116.1
Environment details (OS name and version, etc.)
irrelevant
The text was updated successfully, but these errors were encountered: