ILambdaManager.

CreateAlias(string, AliasSettings, CancellationToken) Method

Summary

Creates an alias that points to the specified Lambda function version.
Assembly
Cake.AWS.Lambda.dll
Namespace
Cake.AWS.Lambda
Containing Type
ILambdaManager

Syntax

Task<bool> CreateAlias(string functionName, AliasSettings settings, CancellationToken cancellationToken = null)

Parameters

Name Type Description
functionName string The name of an AWS Lambda function.
settings AliasSettings The AliasSettings used during the request to AWS.
cancellationToken CancellationToken A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Return Value

Type Description
Task<bool>