You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(lambda): version.fromVersionArn creates invalid Version object (#29820)
### Issue # (if applicable)
Closes#29813
### Reason for this change
improve the fromFunctionArn() to better handle the input ARN
### Description of changes
fromFunctionArn() does not handle the ARN correctly if the input ARN has trailing version or alias.
### Description of how you validated changes
See unit tests
### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
0 commit comments