ILambdaManager.

CreateFunction(string, CreateFunctionSettings, CancellationToken) Method

Summary

Updates the AWS Lambda functions code.
Assembly
Cake.AWS.Lambda.dll
Namespace
Cake.AWS.Lambda
Containing Type
ILambdaManager

Syntax

Task<string> CreateFunction(string functionName, CreateFunctionSettings settings, CancellationToken cancellationToken = null)

Parameters

Name Type Description
functionName string The name of an AWS Lambda function.
settings CreateFunctionSettings The UpdateFunctionCodeSettings 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<string>