LambdaSharp.Schedule
0.8.4
See the version list below for details.
dotnet add package LambdaSharp.Schedule --version 0.8.4
NuGet\Install-Package LambdaSharp.Schedule -Version 0.8.4
<PackageReference Include="LambdaSharp.Schedule" Version="0.8.4" />
paket add LambdaSharp.Schedule --version 0.8.4
#r "nuget: LambdaSharp.Schedule, 0.8.4"
// Install LambdaSharp.Schedule as a Cake Addin #addin nuget:?package=LambdaSharp.Schedule&version=0.8.4 // Install LambdaSharp.Schedule as a Cake Tool #tool nuget:?package=LambdaSharp.Schedule&version=0.8.4
LambdaSharp.Schedule
This package contains interfaces and classes used for building Lambda functions on AWS which integrate with scheduled CloudWatch Events.
Visit LambdaSharp.NET to learn more about building serverless .NET solutions on AWS.
ALambdaScheduleFunction
The ALambdaScheduleFunction
base class handles the deserialization of the scheduled event.
public sealed class Function : ALambdaScheduleFunction {
//--- Methods ---
public override async Task InitializeAsync(LambdaConfig config) {
// TO-DO: add function initialization and reading configuration settings
}
public override async Task ProcessEventAsync(LambdaScheduleEvent schedule) {
// TO-DO: add business logic
}
}
In the corresponding Module.yml
file might look something like this:
- Function: MyFunction
Memory: 128
Timeout: 30
Sources:
- Schedule: rate(1 minute)
Name: MyEvent
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 | Versions 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. |
-
net6.0
- Amazon.Lambda.SNSEvents (>= 2.0.0)
- LambdaSharp (>= 0.8.4)
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.Schedule:
Repository | Stars |
---|---|
LambdaSharp/LambdaSharpTool
Serverless .NET on AWS - λ# is a CLI and Framework for Rapid Application Development using .NET on AWS
|