Skip to content

Need more info on using New-AWSPowerShellLambdaPackage #1766

Answered by ashishdhingra
halciber asked this question in Q&A
Discussion options

You must be logged in to vote

@halciber Good morning. Thanks for the question. Please refer to blog post Deploying PowerShell-based Lambda with AWS CloudFormation on how to use CmdLet New-AWSPowerShellLambdaPackage. The $PowerShellSdkVersion per documentation here is an Optional parameter to override the version of PowerShell that will execute the script. The version number must match a version of the Microsoft.PowerShell.SDK NuGet package. https://www.nuget.org/packages/Microsoft.PowerShell.SDK. This is used in helper function _addPowerShellLambdaProjectContent and would default to value defined here, if missing.

Thanks,
Ashish

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@halciber
Comment options

@ashishdhingra
Comment options

@halciber
Comment options

Answer selected by ashishdhingra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
response-requested Waiting on additional info and feedback. Will move to close soon in 7 days. module/lambda-client-lib
2 participants
Converted from issue

This discussion was converted from issue #1765 on June 18, 2024 16:41.