title: Get alias name of AWS Lambda function in code
body: <p>I implement AWS Lambda function on Java using <a href="https://aws.amazon.com/sdk-for-java" rel="noreferrer">AWS Java SDK</a> and <a href="https://github.com/aws/aws-lambda-java-libs" rel="noreferrer">AWS Lambda Java Support Libraries</a> and in some cases I need to get name, version and alias of current function right in code of the function.</p>
  
  <p>Name and version I can get from <a href="https://github.com/aws/aws-lambda-java-libs/blob/master/aws-lambda-java-core/src/main/java/com/amazonaws/services/lambda/runtime/Context.java" rel="noreferrer">Context</a> using getFunctionName() and getFunctionVersion() methods. But how can I get current alias value?</p>