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
### Issue #32210Closes#32210
### Reason for this change
Incorrect grammar in a SnapStart warning that appears during cdk deployment.
### Description of changes
Corrected the line:
`SnapStart only support published Lambda versions. Ignore if function already have published versions`
to:
`SnapStart only supports published Lambda versions. Ignore if function already has published versions.`
### Describe any new or updated permissions being added
No permissions changes.
### Description of how you validated changes
No testing needed, only changed text in a warning.
### 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*
Copy file name to clipboardExpand all lines: packages/aws-cdk-lib/aws-lambda/lib/function.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1620,7 +1620,7 @@ Environment variables can be marked for removal when used in Lambda@Edge by sett
1620
1620
// so it can't be checked at function set up time
1621
1621
// SnapStart supports the Java 11 and Java 17 (java11 and java17) managed runtimes.
1622
1622
// See https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
1623
-
Annotations.of(this).addWarningV2('@aws-cdk/aws-lambda:snapStartRequirePublish','SnapStart only support published Lambda versions. Ignore if function already have published versions');
1623
+
Annotations.of(this).addWarningV2('@aws-cdk/aws-lambda:snapStartRequirePublish','SnapStart only supports published Lambda versions. Ignore if function already has published versions.');
1624
1624
1625
1625
if(!props.runtime.supportsSnapStart){
1626
1626
thrownewValidationError(`SnapStart currently not supported by runtime ${props.runtime.name}`,this);
0 commit comments