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
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