Movatterモバイル変換


[0]ホーム

URL:


Building Lambda functions with C# - AWS Lambda
DocumentationAWS LambdaDeveloper Guide
Development environment

Building Lambda functions with C#

You can run your .NET application in Lambda using the managed .NET 8 runtime, a custom runtime, or a container image. After your application code is compiled, you can deploy it to Lambda either as a .zip file or a container image. Lambda provides the following runtimes for .NET languages:

NameIdentifierOperating systemDeprecation dateBlock function createBlock function update

.NET 9 (container only)

dotnet9

Amazon Linux 2023

Not scheduled

Not scheduled

Not scheduled

.NET 8

dotnet8

Amazon Linux 2023

Nov 10, 2026

Dec 10, 2026

Jan 11, 2027

Setting up your .NET development environment

To develop and build your Lambda functions, you can use any of the commonly available .NET integrated development environments (IDEs), including Microsoft Visual Studio, Visual Studio Code, and JetBrains Rider. To simplify your development experience, AWS provides a set of .NET project templates, as well as theAmazon.Lambda.Tools command line interface (CLI).

Run the following .NET CLI commands to install these project templates and command line tools.

Installing the .NET project templates

To install the project templates, run the following command:

dotnet new install Amazon.Lambda.Templates

Installing and updating the CLI tools

Run the following commands to install, update, and uninstall theAmazon.Lambda.Tools CLI.

To install the command line tools:

dotnet tool install -g Amazon.Lambda.Tools

To update the command line tools:

dotnet tool update -g Amazon.Lambda.Tools

To uninstall the command line tools:

dotnet tool uninstall -g Amazon.Lambda.Tools
Tracing
Handler

[8]
ページ先頭

©2009-2025 Movatter.jp