Fugue.AWS.Lambda.Alias

This is the preferred interface for making Lambda Aliases with Fugue. If you want to manage a Lambda Alias with Fugue, the new function is the right place to start.

Table of Contents

Module Members

new

(Function)

new Lambda Alias (Constructor)

Call this constructor to create a new Fugue.Core.AWS.Lambda.Alias value.

Type Signature

 fun { name: String,
       function: Function,
       functionVersion: String,
       description: Optional<String> } -> Alias
Argument: name

The name you want to assign to the alias for the function. The alias names appear in the console and are returned in the ListAliases API. Alias names are used in qualifiers for other Lambda APIs, such as AddPermission.

Type: String

Argument: function

The function for which the alias is being created.

Type: Function

Argument: functionVersion

The version of the function to which the alias points. Mutable.

Type: String

Argument: description

A short, user-defined alias description. Lambda does not use this value. Assign a meaningful description as you see fit. Mutable.

Type: Optional<String>

Returns:

A Fugue.Core.AWS.Lambda.Alias value.

Type: Alias