private String createLambdaFriendlyVersionName(String version){
  return version.replace(".","-");
}

private String createLambdaFriendlyVersionName ( String version ) { return version . replace ( "." , "-" ) ; }
aws does not support . in lambda aliases . so we replace them with " - "
