LambdaAliases.

PublishLambdaVersion(ICakeContext, string, PublishVersionSettings) Method

Summary

Publishes a version of your function from the current snapshot of $LATEST.
Assembly
Cake.AWS.Lambda.dll
Namespace
Cake.AWS.Lambda
Containing Type
LambdaAliases

Syntax

public static Task<string> PublishLambdaVersion(this ICakeContext context, string functionName, PublishVersionSettings settings)

Attributes

Type Description
AsyncStateMachineAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The cake context.
functionName string The name of an AWS Lambda function.
settings PublishVersionSettings The PublishVersionSettings used during the request to AWS.

Return Value

Type Description
Task<string>