LambdaSharp.Finalizer 0.8.4.1

dotnet add package LambdaSharp.Finalizer --version 0.8.4.1
NuGet\Install-Package LambdaSharp.Finalizer -Version 0.8.4.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LambdaSharp.Finalizer" Version="0.8.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LambdaSharp.Finalizer --version 0.8.4.1
#r "nuget: LambdaSharp.Finalizer, 0.8.4.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install LambdaSharp.Finalizer as a Cake Addin
#addin nuget:?package=LambdaSharp.Finalizer&version=0.8.4.1

// Install LambdaSharp.Finalizer as a Cake Tool
#tool nuget:?package=LambdaSharp.Finalizer&version=0.8.4.1

LambdaSharp.Finalizer

This package contains interfaces and classes used for building Lambda functions on AWS. The finalizer is a special kind of Lambda function that is invoked at the end of a CloudFormation stack creation or update operation, or at the beginning of a stack delete operation. This package extends the functionality provided the LambdaSharp package.

Visit LambdaSharp.NET to learn more about building serverless .NET solutions on AWS.

ALambdaFinalizerFunction

The ALambdaFinalizerFunction base class implements the LambdaSharp protocol for CloudFormation stack create, update, and delete operations. This function is can be used to initialize data stores on creation or migrate data between versions.

public sealed class Function : ALambdaFinalizerFunction {

    //--- Methods ---
    public override async Task InitializeAsync(LambdaConfig config) {

        // TO-DO: add function initialization and reading configuration settings
    }

    public override async Task CreateDeploymentAsync(FinalizerProperties current, CancellationToken cancellationToken) {

        // TO-DO: add business logic when creating a CloudFormation stack
    }

    public override async Task UpdateDeploymentAsync(FinalizerProperties current, FinalizerProperties previous, CancellationToken cancellationToken) {

        // TO-DO: add business logic when updating a CloudFormation stack
    }

    public override async Task DeleteDeploymentAsync(FinalizerProperties current, CancellationToken cancellationToken) {

        // TO-DO: add business logic when deleting a CloudFormation stack
    }
}

License

Copyright (c) 2018-2022 LambdaSharp (λ#)

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on LambdaSharp.Finalizer:

Repository Stars
LambdaSharp/LambdaSharpTool
Serverless .NET on AWS - λ# is a CLI and Framework for Rapid Application Development using .NET on AWS
Version Downloads Last updated
0.8.4.1 187 4/18/2023
0.8.4 8,516 3/10/2022
0.8.3.5 422 3/4/2022
0.8.3.4 326 7/15/2021
0.8.3.3 305 7/15/2021
0.8.3.2 313 6/17/2021
0.8.3 293 5/19/2021
0.8.2.4 342 4/30/2021
0.8.2.3 292 4/2/2021
0.8.2.2 303 3/18/2021
0.8.2 5,925 2/16/2021