AWS Lambda Node - point to specific alias or version (using ARN?)

Question about the AWS Lambda Node.

(1) What version of the lambda function gets used? Latest?
(2) Can you enter a function ARN for the “Lambda Function Name” to point to a specific version or alias?

We already have a lambda function we use with losant. Want to reuse it but have very minor changes so like to uprev the lambda function and point losant to the specific version or alias.

It appears as though an ARN is supported (as well as a function:version syntax), but I’ve not personally tested it. If you’re able to test the following syntax options, please give it a try. I will also be testing these, but it’ll take me a while to get the appropriate environment configured:

  1. Function name - my-function (name-only), my-function:v1 (with alias)
  2. Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function
  3. Partial ARN - 123456789012:function:my-function

One of my co-workers actually tested appending a version to the end of the name and that works. Without a version appended it defaults to “latest” as expected.

I expect an alias will work the same way but wanted to test before replying back here.

Forgot to update but alias works the same way as versions.