Building Lambda functions with PowerShell (original) (raw)

The following sections explain how common programming patterns and core concepts apply when you author Lambda function code in PowerShell.

Lambda provides the following sample applications for PowerShell:

Before you get started, you must first set up a PowerShell development environment. For instructions on how to do this, see Setting Up a PowerShell Development Environment.

To learn about how to use the AWSLambdaPSCore module to download sample PowerShell projects from templates, create PowerShell deployment packages, and deploy PowerShell functions to the AWS Cloud, see Deploy PowerShell Lambda functions with .zip file archives.

Lambda provides the following runtimes for .NET languages:

Name Identifier Operating system Deprecation date Block function create Block 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
Topics

Testing

Development Environment

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.