LambdaManager Class

Summary

Implementation for accessing AWS Lambda
Assembly
Cake.AWS.Lambda.dll
Namespace
Cake.AWS.Lambda
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["ILambdaManager"] click Interface0 "/api/Cake.AWS.Lambda/ILambdaManager" Type["LambdaManager"] class Type type-node

Syntax

public class LambdaManager : ILambdaManager

Constructors

Name Summary
LambdaManager(IFileSystem, ICakeEnvironment, ICakeLog) Initializes a new instance of the LambdaManager class.

Methods

Name Value Summary
CreateAlias(string, AliasSettings, CancellationToken) Task<bool>
Creates an alias that points to the specified Lambda function version.
CreateFunction(string, CreateFunctionSettings, CancellationToken) Task<string>
Updates the AWS Lambda functions code.
PublishVersion(string, PublishVersionSettings, CancellationToken) Task<string>
Publishes a version of your function from the current snapshot of $LATEST.
UpdateAlias(string, AliasSettings, CancellationToken) Task<bool>
Update the function version to which the alias points and the alias description.
UpdateFunctionCode(string, UpdateFunctionCodeSettings, CancellationToken) Task<string>
Updates the AWS Lambda functions code.

Extension Methods

Name Value Summary
Dump<LambdaManager>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<LambdaManager>(LambdaManager[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<LambdaManager>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<LambdaManager>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<LambdaManager>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<LambdaManager>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin