News

AWS Lambda Adds PowerShell Core 6.0 Support

Amazon Web Services Inc. added support for PowerShell Core 6.0 to its AWS Lambda service.

Lambda is the Amazon cloud's event-driven, serverless computing platform, automatically triggering code to be executed and managing the needed resources for that execution, typically in response to events.

The AWS cloud is continually adding support for developer options in Microsoft's .NET world, and this latest move targets PowerShell -- a task-based command-line shell and scripting language -- running on Microsoft's .NET Core 2.1 runtime.

PowerShell Core 6.0, a new cross-platform edition of the product, was announced early this year. This open source offering works on Windows, macOS, and Linux and is specifically built to work in heterogeneous environments and hybrid clouds.

.NET Core is Microsoft's modern, modular implementation of .NET, also cross-platform and open source

"As a PowerShell developer, you can manage your AWS resources and craft rich automation scripts from within the PowerShell environment using AWS Lambda," AWS announced earlier this month.

"You can use any of the available PowerShell cmdlets or develop your own when authoring your serverless functions. To get started, simply download the AWS Lambda Tools for PowerShell module from PowerShell Gallery. It includes project templates for PowerShell-based serverless applications as well as tools to publish projects to AWS."

More information on setting up a development environment, creating a PowerShell based Lambda script and more in the context an example use case is provided here.

Also, AWS just yesterday published more guidance, titled "Creating a PowerShell REST API."

"With the recent AWS Lambda support for PowerShell, it's now easy to make web APIs with Amazon API Gateway that execute your PowerShell scripts," the new documentation states.

Yet more documentation is also available, titled "Programming Model for Authoring Lambda Functions in PowerShell."

PowerShell support is available in all AWS regions where Lambda is available.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube