Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Why validation for region, resource and stage #48

Open
smiletolead opened this issue Sep 16, 2024 · 0 comments
Open

Question: Why validation for region, resource and stage #48

smiletolead opened this issue Sep 16, 2024 · 0 comments

Comments

@smiletolead
Copy link

This is about the need for validation of the methodArn. The methodArn value is split and then the parts like region, resource and stage are validated. We see if resource and stage are empty or not. Just wondering in what cases stage and region can be empty? Also, is there a possibility that resource is having invalid characters? Currently it is checked agains the regex which allows numbers, alphabets, -, . and *.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant