code: func awsLambdaInternalName(internalFunctionName string) string {
  
  	var internalNameParts []string
  
  	// If this is something that implements something else, trim the
  	// leading *
  	internalFunctionName = strings.TrimPrefix(internalFunctionName, "*")
  	customTypeParts := reSplitCustomType.Split(internalFunctionName, -1)
  	if len(customTypeParts) > 1 {
  		internalNameParts = []string{customTypeParts[len(customTypeParts)-1]}
  	} else {
  		internalNameParts = reSplitFunctionName.Split(internalFunctionName, -1)
  	}
  	return strings.Join(internalNameParts, functionNameDelimiter)
  }
docs: // awsLambdaFunctionName returns the name of the function, which
  // is set in the CloudFormation template that is published
  // into the container as `AWS_LAMBDA_FUNCTION_NAME`. Rather
  // than publish custom vars which are editable in the Console,
  // tunneling this value through allows Sparta to leverage the
  // built in env vars.