Open the Functions page of the Lambda console.
Choose a function and then choose Versions.
On the versions configuration page, choose Publish new version.
(Optional) Enter a version description.
Choose Publish
https://docs.aws.amazon.com/lambda/latest/dg/java-package.html