LambdaManager.

CreateFunction(string, CreateFunctionSettings, CancellationToken) Method

Summary

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

Syntax

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

Attributes

Type Description
AsyncStateMachineAttribute

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>