Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

2,052

Downloads of v 4.0.2:

22

Last Update:

30 Sep 2024

Package Maintainer(s):

Software Author(s):

  • Amazon.com Inc

Tags:

admin powershell aws lambda core module template

AWS Lambda for PowerShell Core (PowerShell Module)

This is not the latest version of AWS Lambda for PowerShell Core (PowerShell Module) available.

  • 1
  • 2
  • 3

4.0.2 | Updated: 30 Sep 2024

Downloads:

2,052

Downloads of v 4.0.2:

22

Maintainer(s):

Software Author(s):

  • Amazon.com Inc

AWS Lambda for PowerShell Core (PowerShell Module) 4.0.2

This is not the latest version of AWS Lambda for PowerShell Core (PowerShell Module) available.

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Amazon.com Inc. The inclusion of Amazon.com Inc trademark(s), if any, upon this webpage is solely to identify Amazon.com Inc goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install AWS Lambda for PowerShell Core (PowerShell Module), run the following command from the command line or from PowerShell:

>

To upgrade AWS Lambda for PowerShell Core (PowerShell Module), run the following command from the command line or from PowerShell:

>

To uninstall AWS Lambda for PowerShell Core (PowerShell Module), run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade awslambdapscore -y --source="'INTERNAL REPO URL'" --version="'4.0.2'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade awslambdapscore -y --source="'INTERNAL REPO URL'" --version="'4.0.2'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install awslambdapscore
  win_chocolatey:
    name: awslambdapscore
    version: '4.0.2'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'awslambdapscore' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '4.0.2'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller awslambdapscore
{
    Name     = "awslambdapscore"
    Version  = "4.0.2"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'awslambdapscore':
  ensure   => '4.0.2',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved as a trusted package on 30 Sep 2024.

Description

The AWS Lambda Tools for Powershell allows PowerShell developers to publish PowerShell scripts with their dependent modules and have the scripts be invoked by Lambda.

NOTE: This module requires PowerShell Core.

NOTE: This is an automatically updated package. If you find it is out of date by more than a week, please contact the maintainer(s) and let them know the package is no longer updating correctly.


tools\.skipAutoUninstaller
 
tools\AWSLambdaPSCore\AWSLambdaPSCore.psd1
#
# Module manifest for module 'PSGet_AWSLambdaPSCore'
#
# Generated by: Amazon.com, Inc
#
# Generated on: 9/11/2018
#

@{

# Script module or binary module file associated with this manifest.
RootModule = 'AWSLambdaPSCore.psm1'

# Version number of this module.
ModuleVersion = '4.0.2.0'

# Supported PSEditions
CompatiblePSEditions = 'Core'

# ID used to uniquely identify this module
GUID = '79b7bff6-b031-4d8d-b17c-e7e11f1a741f'

# Author of this module
Author = 'Amazon.com, Inc'

# Company or vendor of this module
CompanyName = 'Amazon.com, Inc'

# Copyright statement for this module
Copyright = 'Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.'

# Description of the functionality provided by this module
Description = 'The AWS Lambda Tools for Powershell can be used to create and deploy AWS Lambda functions written in PowerShell.'

# Minimum version of the PowerShell engine required by this module
PowerShellVersion = '6.0'

# Name of the PowerShell host required by this module
# PowerShellHostName = ''

# Minimum version of the PowerShell host required by this module
# PowerShellHostVersion = ''

# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
# DotNetFrameworkVersion = ''

# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
# CLRVersion = ''

# Processor architecture (None, X86, Amd64) required by this module
# ProcessorArchitecture = ''

# Modules that must be imported into the global environment prior to importing this module
# RequiredModules = @()

# Assemblies that must be loaded prior to importing this module
# RequiredAssemblies = @()

# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @()

# Type files (.ps1xml) to be loaded when importing this module
# TypesToProcess = @()

# Format files (.ps1xml) to be loaded when importing this module
# FormatsToProcess = @()

# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
# NestedModules = @()

# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
FunctionsToExport = 'Get-AWSPowerShellLambdaTemplate', 'New-AWSPowerShellLambda', 
               'New-AWSPowerShellLambdaPackage', 'Publish-AWSPowerShellLambda'

# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
CmdletsToExport = @()

# Variables to export from this module
# VariablesToExport = @()

# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
AliasesToExport = @()

# DSC resources to export from this module
# DscResourcesToExport = @()

# List of all modules packaged with this module
# ModuleList = @()

# List of all files packaged with this module
# FileList = @()

# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
PrivateData = @{

    PSData = @{

        # Tags applied to this module. These help with module discovery in online galleries.
        Tags = 'AWS','Lambda'

        # A URL to the license for this module.
        LicenseUri = 'https://github.com/aws/aws-lambda-dotnet/blob/master/LICENSE'

        # A URL to the main website for this project.
        ProjectUri = 'https://github.com/aws/aws-lambda-dotnet/tree/master/PowerShell'

        # A URL to an icon representing this module.
        IconUri = 'https://sdk-for-net.amazonwebservices.com/images/AWSLogo128x128.png'

        # ReleaseNotes of this module
        # ReleaseNotes = ''

        # Prerelease string of this module
        # Prerelease = ''

        # Flag to indicate whether the module requires explicit user acceptance for install/update
        # RequireLicenseAcceptance = $false

        # External dependent modules of this module
        # ExternalModuleDependencies = @()

    } # End of PSData hashtable
    
 } # End of PrivateData hashtable

# HelpInfo URI of this module
# HelpInfoURI = ''

# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''

}


# SIG # Begin signature block
# MIIufgYJKoZIhvcNAQcCoIIubzCCLmsCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCaZuoAcLSkdE8J
# abckG7pcHI8ngxWpCRyWsS1768qj46CCE+owggXAMIIEqKADAgECAhAP0bvKeWvX
# +N1MguEKmpYxMA0GCSqGSIb3DQEBCwUAMGwxCzAJBgNVBAYTAlVTMRUwEwYDVQQK
# EwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20xKzApBgNV
# BAMTIkRpZ2lDZXJ0IEhpZ2ggQXNzdXJhbmNlIEVWIFJvb3QgQ0EwHh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
# SIG # End signature block
tools\AWSLambdaPSCore\AWSLambdaPSCore.psm1
$script:privatePath = Join-Path -Path $PSScriptRoot -ChildPath 'Private'
$script:publicPath = Join-Path -Path $PSScriptRoot -ChildPath 'Public'
$script:templatesPath = Join-Path -Path $PSScriptRoot -ChildPath 'Templates'


# Add private functions
# Hardcoded file names to ensure they load in an order to support pre-requisites
$files = @(
    '_Constants.ps1',
    '_BlueprintFunctions.ps1',
    '_ArgumentCompleters.ps1',
    '_DeploymentFunctions.ps1',
    '_ProjectCreationFunctions.ps1'
)
foreach ($file in $files)
{
    $filePath = Join-Path -Path $privatePath -ChildPath $file
    . $filePath
}

# Add public functions
foreach ($file in (Get-ChildItem -Path $publicPath -Filter '*.ps1')) {
    . $file.FullName
}

# SIG # Begin signature block
# MIIufgYJKoZIhvcNAQcCoIIubzCCLmsCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDDy8OWqVcKe/0A
# Pn953U1TcEG2Wa+fUE230yzZ/j2VNKCCE+owggXAMIIEqKADAgECAhAP0bvKeWvX
# +N1MguEKmpYxMA0GCSqGSIb3DQEBCwUAMGwxCzAJBgNVBAYTAlVTMRUwEwYDVQQK
# EwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20xKzApBgNV
# BAMTIkRpZ2lDZXJ0IEhpZ2ggQXNzdXJhbmNlIEVWIFJvb3QgQ0EwHhcNMjIwMTEz
# MDAwMDAwWhcNMzExMTA5MjM1OTU5WjBiMQswCQYDVQQGEwJVUzEVMBMGA1UEChMM
# RGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSEwHwYDVQQD
# ExhEaWdpQ2VydCBUcnVzdGVkIFJvb3QgRzQwggIiMA0GCSqGSIb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iG9w0B
# CQQxIgQgbZN9fNJ02v+2eAW1YF1cxwuljPK+RnUmf8ojN66fPQYwNwYLKoZIhvcN
# AQkQAi8xKDAmMCQwIgQg0vbkbe10IszR1EBXaEE2b4KK2lWarjMWr00amtQMeCgw
# DQYJKoZIhvcNAQEBBQAEggIADfcx/hE3vxAVbmTBWhx8TbZQ1adaupavniXf9AZZ
# 4e0eTGSCYUEgv+LdH9V/Rlzhtv9SlPWDV96Ptm1/0a2LX641Vb28Bpa4ebtEQUkh
# +MKIbEmhYnB26TDtDSDQtFubLDN5+gyrKDiZ9up9NnygfObzUc4Fb1LP9X1fgUiW
# ++6rMlWoRl7Zx/GW2eVs+lN2cH4riXCnRdfzym9j/JmbIRqKgeMK5qdlbNdEw5Pi
# mZBXkAxPuQcZxHFxuiK+TOFt+etCixCcT7M5u3sDjB9ZNKKDIb7xNZLQL8b2x9UZ
# 3VRUfbIArS8Rb4HagPsBeScqq2dYZVdwIjBxYarFK8lW04WEAeDN7sd2HihQuBR4
# xbMKzq49c6D/e4DKwwwEqTrh+ovcYABsndNZurKtw50yQrzMniFEg1+4fm77UgQT
# byVurTjdLulfMWe8HXIz9KBdT1IxvQuJyYuzLW3gUVRFq76KZQDODncxki04oqUA
# gwtYZ/0cyqpBACJVxxIUduNYqCqE+Z4vy1ru+XByiXshGVqIo3uYVl9bRE16EDtk
# RUWB19ggzn8HJAEr7yDfGrfdeckRlA6ISfrNYXFXnb7IBT3H/msC+jkmVrPDq3zl
# ami8qxGCY1oIcSJAAyDpj23FpJYokmnZuOutZXVe9vcgju5dlrJwgnUku3/xMGjQ
# qZE=
# SIG # End signature block
tools\AWSLambdaPSCore\Private\_ArgumentCompleters.ps1
<#
    .DESCRIPTION
    Argument registration, allowing dynamic completion of the supported
    templates and other data
#>
function _argumentCompleterRegistration
{
    param
    (
        # The script block that provider parameter completion
        [scriptblock]$scriptBlock,

        # Optional map restraining use of the scriptblock to designated
        # cmdlets
        [hashtable]$param2CmdletsMap
    )

    foreach ($paramName in $param2CmdletsMap.Keys)
    {
        $hash = @{
            ScriptBlock = $scriptBlock
            Parameter   = $paramName
        }

        $cmdletNames = $param2CmdletsMap[$paramName]
        if ($cmdletNames -And $cmdletNames.Length -gt 0)
        {
            $hash['Command'] = $cmdletNames
        }

        Register-ArgumentCompleter @hash -Verbose
    }
}

$PsTemplateCompleter = {
    param ($commandName, $parameterName, $wordToComplete, $commandAst, $fakeBoundParameter)

    $templateNameHash = @{ }

    $manifest = _loadBlueprintManifest
    foreach ($b in $manifest.blueprints)
    {
        $templateNameHash.Add($b.name, $b.description)
    }

    $templateNameHash.Keys.Where({$_ -like "$wordToComplete*"}) | Sort-Object | Foreach-Object {
        [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterValue', $templateNameHash[$_])
    }
}

$hashtable = @{ 'Template' = @('New-AWSPowerShellLambda') }
_argumentCompleterRegistration -scriptBlock $PsTemplateCompleter -param2CmdletsMap $hashtable


# SIG # Begin signature block
# MIIufQYJKoZIhvcNAQcCoIIubjCCLmoCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCYNRoCB8xWp7Ux
# jiwXHxHyMD4/7vEuDWFfSGDJGu2i36CCE+owggXAMIIEqKADAgECAhAP0bvKeWvX
# +N1MguEKmpYxMA0GCSqGSIb3DQEBCwUAMGwxCzAJBgNVBAYTAlVTMRUwEwYDVQQK
# EwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20xKzApBgNV
# BAMTIkRpZ2lDZXJ0IEhpZ2ggQXNzdXJhbmNlIEVWIFJvb3QgQ0EwHhcNMjIwMTEz
# MDAwMDAwWhcNMzExMTA5MjM1OTU5WjBiMQswCQYDVQQGEwJVUzEVMBMGA1UEChMM
# RGlnaUNlcnQgSW5jMR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CsGCyqGSIb3
# DQEJEAIMMRwwGjAYMBYEFGbwKzLCwskPgl3OqorJxk8ZnM9AMC8GCSqGSIb3DQEJ
# BDEiBCCkrTutfOBCoET8xDhc8ny6siblYZX2CHwxPY3ScxUP9DA3BgsqhkiG9w0B
# CRACLzEoMCYwJDAiBCDS9uRt7XQizNHUQFdoQTZvgoraVZquMxavTRqa1Ax4KDAN
# BgkqhkiG9w0BAQEFAASCAgAziYfYlNz36c7h/D2Har7cnMITxf3G2lKtXbLDsBu5
# HFHiPqa9tfuhK6At7umDhwN+zdGOLUpIa8sncRviCHk848wxvGf/lfVqs6+uAiS4
# hyGWJjsX8u00dhZk5hBKdQRS5qgmGgmashs3M0ENryOFk8N/vEcnWop1XdAFvXdz
# R8sEBXAoCq/oUP7UCQ0/WtPsvDPum47TIWYVHEmdilLe6N6KanLLiW17zindfTXx
# 0S6GaQclmUEDqu0WHKJ/O63jtCr45cGxhhx/4Yt7pD5RXMZerq90UM+bxydDrEO1
# REk3DVmkt0CGqxKOsmrdD1E4iJtOW6P9iawnTZ6NuZcbFrGtGpReT9H0UjjfbHoX
# yE99kjrDFsmOCzjt+RizzCqon4tdWUK4n+iT/3FVU493QmPtco18yYecWQ4k4Yvu
# tWrFnOZMHRgcTOk3KTzHpKPuE7ql4UjuFzt5WPM0a+ktltUSamcSgpHBH7miUGd7
# U8GO15L+aVy7LSPD3J4Q79pRgPunAai8zrTojprM9XZEPIGHRP7vE1kEwO0btyeC
# RBgY44eHMp32JIVMHs1DqZkkvmv9MvC0nLGpSCbrWbpT7vidwg8kWnUUN7e/Y+qw
# KJ1BChHCkgiA3Cd3032KaFCiJAlttbL7XsFIugbmAQPALGmZZSg+aGLzvZ/1KL9L
# 8Q==
# SIG # End signature block
tools\AWSLambdaPSCore\Private\_BlueprintFunctions.ps1
$_blueprintsOnlinePath = '/LambdaSampleFunctions/powershell/v3/'
$_modulePath = Split-Path -Path $PSScriptRoot -Parent
$_blueprintsModulePath = Join-Path -Path $_modulePath -ChildPath 'Templates' -AdditionalChildPath 'Blueprints'
$_manifestFilename = 'ps-lambda-blueprint-manifest.json'

<#
    .DESCRIPTION
    Probes the default or custom location to find the requested blueprint content
#>
function _getHostedBlueprintsContent
{
    param
    (
        # the relative path and filename to the content to load
        [Parameter(Mandatory = $true)]
        [string]$Contentpath
    )

    $_defaultOrigins = @(
        'https://d3rrggjwfhwld2.cloudfront.net'
        'https://aws-vs-toolkit.s3.amazonaws.com'
    )

    $_altOrigin = $env:PSLAMBDA_BLUEPRINTS_ORIGIN

    if ($_altOrigin)
    {
        $_contentOrigins = @($_altOrigin)
    }
    else
    {
        $_contentOrigins = $_defaultOrigins
    }

    foreach ($_origin in $_contentOrigins)
    {
        try
        {
            $_contentLocation = $_origin + $_blueprintsOnlinePath + $ContentPath
            Write-Debug "Attempting to load blueprints content at $_contentLocation"
            if ($_contentLocation.StartsWith('http'))
            {
                # Preventing "-Verbose" from displaying Invoke-WebRequest verbose output
                $response = Invoke-WebRequest -Uri $_contentLocation -Verbose:$false
                $_content = [System.Text.Encoding]::UTF8.GetString($response.Content)
                return $_content
            }
            else
            {
                $_content = [System.IO.File]::ReadAllText($_contentLocation)
                return $_content
            }
        }
        catch
        {
        }
    }
}

<#
    .DESCRIPTION
    Reads blueprint content from that installed with the module
#>
function _getLocalBlueprintsContent
{
    param
    (
        # The relative path and filename to the content to load
        [Parameter(Mandatory = $true)]
        [string]$ContentPath
    )

    $_localContentPath = Join-Path -Path $_blueprintsModulePath -ChildPath $ContentPath
    Write-Debug "Attempting load of blueprint content from $_localContentPath"
    if (Test-Path -Path $_localContentPath -PathType Leaf)
    {
        return [System.IO.File]::ReadAllText($_localContentPath)
    }
    else
    {
        throw "$_localContentPath does not exist!"
    }
}

<#
    .DESCRIPTION
    Composite helper to obtain content from blueprints; if not available online
    it attempts to try from the local module install
#>
function _getBlueprintsContent
{
    param
    (
        # the relative path and filename to the content to load
        [Parameter(Mandatory = $true)]
        [string]$ContentPath,

        # Defines whether to load Blueprints from online data sources
        [switch]$Online
    )

    if ($Online)
    {
        $private:_content = _getHostedBlueprintsContent -Contentpath $ContentPath
    }

    if (!($private:_content))
    {
        $private:_content = _getLocalBlueprintsContent -ContentPath $ContentPath
    }

    return $private:_content
}

<#
    .DESCRIPTION
    Loads the manifest and returns a PSObject of the content. Default
    behavior is to download from one of the online sources detailed in
    $_defaultOrigins. An alternative origin can be used by setting
    the PSLAMBDA_BLUEPRINTS_ORIGIN environment variable to a web or
    file-based location.
#>
function _loadBlueprintManifest
{
    param
    (
        # Defines whether to load Blueprints from online data sources
        [switch]$Online
    )

    $_getBlueprintsContent = @{
        ContentPath = $_manifestFilename
    }

    if ($Online)
    {
        $_getBlueprintsContent.Add('Online', $true)
    }

    return ConvertFrom-Json -InputObject (_getBlueprintsContent @_getBlueprintsContent)
}

<#
    .DESCRIPTION
    Unpacks one or more content files for a blueprint into the user-specified
    location. Returns the name of the script file containing the actual
    Lambda function to be run.
#>
function _unpackBlueprintContents
{
    param
    (
        # The name of the template containing the content to be unpacked.
        [Parameter(Mandatory = $true)]
        [string]$Template,

        # The output folder to hold the content. It is created if necessary.
        [Parameter(Mandatory = $true)]
        [string]$Directory,

        # Basename to use for files in the blueprint that can be customized.
        # If not specified, the template name is used.
        [Parameter()]
        [string]$BaseName,

        # Optional script block that the unpacked script content will be passed to
        # prior to output to disk, allowing for template substitution etc.
        [Parameter()]
        [scriptblock]$ContentProcessor
    )

    $_manifest = _loadBlueprintManifest

    $_template = $_manifest.blueprints | Where-Object -Property name -EQ -Value $Template
    if (!($_template))
    {
        throw "Failed to find blueprint details for blueprint named $Template"
    }

    if (!(Test-Path $Directory))
    {
        New-Item -ItemType Directory -Path $Directory -Force | Out-Null
    }

    $_lambdaFunctionFile = ''

    # unpack the contents; for each file 'source' is the name of the content in the online or installed
    # payload, 'output' is the name we want the content to have on disk
    foreach ($_contentFile in $_template.content)
    {
        $_sourcePath = Join-Path -Path $Template -ChildPath $_contentFile.source
        $_outputFilename = $_contentFile.output.Replace('{basename}', $BaseName)
        $_outputPath = Join-Path -Path $Directory -ChildPath $_outputFilename

        Write-Debug "Loading blueprint content at $_sourcePath"
        $_content = _getBlueprintsContent -ContentPath $_sourcePath

        if ($ContentProcessor)
        {
            $fileExt = [System.IO.Path]::GetExtension($_outputFilename)
            $_content = Invoke-Command -ScriptBlock $ContentProcessor -ArgumentList $fileExt, $_content
        }

        Write-Debug "Writing output file $_outputPath"
        New-Item -ItemType File -Path $_outputPath -Force | Out-Null
        Out-File -FilePath $_outputPath -InputObject $_content -Encoding utf8NoBOM -Force | Out-Null

        if ($_contentFile.fileType -eq "lambdaFunction")
        {
            $_lambdaFunctionFile = $_outputFilename
        }
    }

    return $_lambdaFunctionFile
}
# SIG # Begin signature block
# MIIufQYJKoZIhvcNAQcCoIIubjCCLmoCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBk2Smuf+lchl0p
# PLGNJL/OUyKOqXjUPfAE35mT+leEO6CCE+owggXAMIIEqKADAgECAhAP0bvKeWvX
# +N1MguEKmpYxMA0GCSqGSIb3DQEBCwUAMGwxCzAJBgNVBAYTAlVTMRUwEwYDVQQK
# EwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20xKzApBgNV
# BAMTIkRpZ2lDZXJ0IEhpZ2ggQXNzdXJhbmNlIEVWIFJvb3QgQ0EwHhcNMjIwMTEz
# MDAwMDAwWhcNMzExMTA5MjM1OTU5WjBiMQswCQYDVQQGEwJVUzEVMBMGA1UEChMM
# RGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSEwHwYDVQQD
# ExhEaWdpQ2VydCBUcnVzdGVkIFJvb3QgRzQwggIiMA0GCSqGSIb3DQEBAQUAA4IC
# DwAwggI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JnNIuEz+QklmEsUAu3TA3BgsqhkiG9w0B
# CRACLzEoMCYwJDAiBCDS9uRt7XQizNHUQFdoQTZvgoraVZquMxavTRqa1Ax4KDAN
# BgkqhkiG9w0BAQEFAASCAgCZ/4WWVqvUs17q99oLQylcl+zFOK2ZjPQ+fs6/NU66
# 0RD1knhjmYuOhlqF82MwqIAtVD9RtocKK+qJSv55EmkXK2Qho7tFmPLucK317Cai
# A4jcIPWJjh8wC/W0yEpWGTRwJ9KiDMmvplgCtddH+Q7g7V6Y4quBu8u/mY07YLEY
# zcVBembkUq0D1U97eBhwFVyr3aKnVkWKaqN9/LBaeRvShiQcvOsRKHGeu/0zWfkm
# 07JWAqdOhluGbeBD4KPoizHua4OOgRd2ha7jJSQMR//Bgz3mISxPAnIZ8qsot5mF
# Cws8uItIFHY5m0o633T5uWbrpPOcNwCUbCE51XeEvq5x4lsS3QY2loJ9/7x8HL/F
# kWZ55+apOQYxosc7eJm6mknwyuuvTVIq4zRiXRphVsR14cjWxjT8AGTaeHkJHr8K
# oIDC4wZOybvrPkZIuuttAglyu8jOS+s8nA52xnIZbLk1eYfqjycNnT7tXb/S6rs+
# 53xGgbkALC+6JLQWcs86KqgnEHN9WcXA+tgdtqxwt+4hfYPYmakHwQqS9smT8R0y
# 2Bkg14VIJps7WXEnO31pZiOxKG1ae2oonN6i5TWHlgmS8HTSSVyt3j+J449xv6DD
# E+fnd0TFrPt+1NqcGPQakHJpQ2XZcv6vfPNK1GCWJEZHdYRqEa/1j+uh+IGBHKZ2
# Wg==
# SIG # End signature block
tools\AWSLambdaPSCore\Private\_Constants.ps1
if (!($DefaultFunctionMemory))
{
    New-Variable -Name DefaultFunctionMemory -Value 512 -Option Constant
}

if (!($DefaultFunctionTimeout))
{
    New-Variable -Name DefaultFunctionTimeout -Value 90 -Option Constant
}

if (!($ProjectModuleDirectory))
{
    New-Variable -Name ProjectModuleDirectory -Value 'Modules' -Option Constant
}

if (!($AwsPowerShellFunctionEnvName))
{
    New-Variable -Name AwsPowerShellFunctionEnvName -Value 'AWS_POWERSHELL_FUNCTION_HANDLER' -Option Constant
}

if (!($AwsPowerShellDefaultSdkVersion))
{
    New-Variable -Name AwsPowerShellDefaultSdkVersion -Value '7.4.1' -Option Constant
}

if (!($AwsPowerShellTargetFramework))
{
    New-Variable -Name AwsPowerShellTargetFramework -Value 'net8.0' -Option Constant
}

if (!($AwsPowerShellLambdaRuntime))
{
    New-Variable -Name AwsPowerShellLambdaRuntime -Value 'dotnet8' -Option Constant
}
# SIG # Begin signature block
# MIIufgYJKoZIhvcNAQcCoIIubzCCLmsCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDUREFk7QRiip/U
# Ypquv+1+OZ9ZPchBT5d2b1Tq2whj6aCCE+owggXAMIIEqKADAgECAhAP0bvKeWvX
# +N1MguEKmpYxMA0GCSqGSIb3DQEBCwUAMGwxCzAJBgNVBAYTAlVTMRUwEwYDVQQK
# EwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20xKzApBgNV
# BAMTIkRpZ2lDZXJ0IEhpZ2ggQXNzdXJhbmNlIEVWIFJvb3QgQ0EwHhcNMjIwMTEz
# MDAwMDAwWhcNMzExMTA5MjM1OTU5WjBiMQswCQYDVQQGEwJVUzEVMBMGA1UEChMM
# RGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSEwHwYDVQQD
# ExhEaWdpQ2VydCBUcnVzdGVkIFJvb3QgRzQwggIiMA0GCSqGSIb3DQEBAQUAA4IC
# DwAwggIKAoICAQC/5pBzaN675F1KPDAiMGkz7MKnJS7JIT3yithZwuEppz1Yq3aa
# za57G4QNxDAf8xukOBbrVsaXbR2rsnnyyhHS5F/WBTxSD1Ifxp4VpX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cNAQEBBQAEggIAVWi5cbeh51tpVIpr/JCvibZvzdczNiawEoJwET+Z
# Bmt1xpX//bV0hwz21nfakAFtIEQY05rNy32FDWN2W1U2LJzS2nyVFm0ZaEWhTg2P
# JnnVJe9oLfmmjX95YFT/XUJmHaeAn3Ltb3sEe5e7QrRe44uHOtOFxf3GmSR1dxvz
# Bsn5s30qlnbo/85v8E20LCCaBwCGWiU6xN2R67Xit8RfOqYhnpl1henhETEztnXg
# orKUJ289iuoPvECvzyIm05jgftDj7xZE7sQGVGrmzhrMzLXhdqhdSZlxSAj/da/n
# +wh7zpS/bVOEYecqZKGMV03XU+cDXLDLyHgKq9cBsf/kjIHg9xVfB5nTFgqldUTd
# klkCfR+KOm+Het5lFIU881OJaqUWdJ8DdSQYOgUh/ukUyANUqvJxbr1U4EZrXi0o
# T+uav8UFqupuYnF6id+A4eV8eK9LXm0p6Oe96gpoh95VNc6oT2MzXHMYI6CCh2JN
# ijplzbrF1UATb/Rt5wU7BcHC3jGecEcjJxGQI6wqc1dtBhKD2hMj/593fLZ9VLmv
# Sg+eeG89DM5BFP1EFrZ1TZcmI9RudmfNd/qc2+8rpTX76Z4QgUBJ6DbWh/j8BaTv
# yjN2W3KciAtvKjBNS002zn1Z/NvS1GUyD3VEApfRKb97H3HCHtWrfo5LEiKBVigp
# Jw8=
# SIG # End signature block
tools\AWSLambdaPSCore\Private\_DeploymentFunctions.ps1
function _deployProject
{
    param
    (
        [Parameter(Mandatory = $true)]
        [string]$FunctionName,

        [Parameter(Mandatory = $false)]
        [string]$FunctionHandler,

        [Parameter(Mandatory = $false)]
        [string]$PowerShellFunctionHandler,

        [Parameter(Mandatory = $false)]
        [string]$ProfileName,

        [Parameter(Mandatory = $false)]
        [string]$AWSAccessKeyId,        

        [Parameter(Mandatory = $false)]
        [string]$AWSSecretKey,

        [Parameter(Mandatory = $false)]
        [string]$AWSSessionToken,

        [Parameter(Mandatory = $false)]
        [string]$Region,

        [Parameter(Mandatory = $false)]
        [string]$FunctionRole,

        [Parameter(Mandatory = $false)]
        [int]$FunctionMemory,

        [Parameter(Mandatory = $false)]
        [string]$FunctionArchitecture,

        [Parameter(Mandatory = $false)]
        [int]$FunctionTimeout,

        [Parameter(Mandatory = $false)]
        [string[]]$FunctionLayer,        

        [Parameter(Mandatory = $false)]
        [Boolean]$PublishNewVersion,

        [Parameter(Mandatory = $false)]
        [Hashtable]$EnvironmentVariables,

        [Parameter(Mandatory = $false)]
        [string]$KmsKeyArn,

        [Parameter(Mandatory = $false)]
        [string[]]$FunctionSubnets,

        [Parameter(Mandatory = $false)]
        [string[]]$FunctionSecurityGroups,

        [Parameter(Mandatory = $false)]
        [string]$DeadLetterQueueArn,

        [Parameter(Mandatory = $false)]
        [string]$TracingMode,

        [Parameter(Mandatory = $false)]
        [string]$S3Bucket,

        [Parameter(Mandatory = $false)]
        [string]$S3KeyPrefix,

        [Parameter(Mandatory = $false)]
        [Hashtable]$Tags,

        [Parameter(Mandatory = $false)]
        [Boolean]$DisableInteractive,

        [Parameter(Mandatory = $false)]
        [string]$BuildDirectory
    )

    _validateDotnetInstall

    if ($BuildDirectory)
    {
        Push-Location $BuildDirectory
    }

    try
    {
        $arguments = '"{0}"' -f $FunctionName
        $arguments += " --configuration Release --framework $AwsPowerShellTargetFramework --function-runtime $AwsPowerShellLambdaRuntime"

        $arguments += ' '
        $arguments += _setupAWSCredentialsCliArguments -ProfileName $ProfileName -AWSAccessKeyId $AWSAccessKeyId -AWSSecretKey $AWSSecretKey -AWSSessionToken $AWSSessionToken
        $arguments += ' '
        $arguments += _setupAWSRegionCliArguments -Region $Region

        if (($FunctionHandler))
        {
            $arguments += " --function-handler $FunctionHandler"
        }

        if (($FunctionRole))
        {
            $arguments += " --function-role $FunctionRole"
        }

        if (($FunctionMemory))
        {
            $arguments += " --function-memory-size $FunctionMemory"
        }


        if (($FunctionArchitecture))
        {
            $arguments += " --function-architecture $FunctionArchitecture"
        }        

        if (($FunctionTimeout))
        {
            $arguments += " --function-timeout $FunctionTimeout"
        }

        $formattedLayers = _formatArray($FunctionLayer)
        if(($formattedLayers))
        {
            $arguments += " --function-layers $formattedLayers"
        }

        if (($PublishNewVersion))
        {
            $arguments += ' --function-publish true'
        }

        if ($PowerShellFunctionHandler)
        {
            $arguments += ' --append-environment-variables "{0}={1}"' -f $AwsPowerShellFunctionEnvName, $PowerShellFunctionHandler
            Write-Host "Setting the $AwsPowerShellFunctionEnvName environment variable to $PowerShellFunctionHandler to identify the PowerShell function to call"
        }

        $formattedEnvironmentVariables = _formatHashTable($EnvironmentVariables)
        if (($formattedEnvironmentVariables))
        {
            $arguments += ' --environment-variables "{0}"' -f $formattedEnvironmentVariables
        }

        if (($KmsKeyArn))
        {
            $arguments += " --kms-key $KmsKeyArn"
        }

        $formattedSubnets = _formatArray($FunctionSubnets)
        if (($formattedSubnets))
        {
            $arguments += " --function-subnets $formattedSubnets"
        }

        $formattedSecurityGroups = _formatArray($FunctionSecurityGroups)
        if (($formattedSecurityGroups))
        {
            $arguments += " --function-security-groups $formattedSecurityGroups"
        }

        if (($DeadLetterQueueArn))
        {
            $arguments += " --dead-letter-target-arn $DeadLetterQueueArn"
        }

        if (($TracingMode))
        {
            $arguments += " --tracing-mode $TracingMode"
        }

        if (($S3Bucket))
        {
            $arguments += " --s3-bucket $S3Bucket"
        }

        if (($S3KeyPrefix))
        {
            $arguments += " --s3-prefix $S3KeyPrefix"
        }

        $formattedTags = _formatHashTable($Tags)
        if (($formattedTags))
        {
            $arguments += ' --tags "{0}"' -f $formattedTags
        }

        if (($DisableInteractive))
        {
            $arguments += ' --disable-interactive true'
        }

        $amazonLambdaToolsPath = _configureAmazonLambdaTools

        $moduleVersion = "Unknown"
        $module = $MyInvocation.MyCommand.Module
        if ($module) {
            $moduleVersion = $module.Version.ToString()
        }
        
        $userAgent = "lib/AWSLambdaPSCore#$moduleVersion"
        if ($env:AWS_EXECUTION_ENV) {
            $env:AWS_EXECUTION_ENV += " $userAgent"
        } else { 
            $env:AWS_EXECUTION_ENV = "AWSLambdaPSCore $userAgent"
        }

        try
        {
            if ($DisableInteractive)
            {
                Invoke-Expression "$amazonLambdaToolsPath deploy-function $arguments" | Foreach-Object {Write-Verbose -Message "$_`r"}
            }
            else
            {
                Write-Host 'Initiate deployment'
                Invoke-Expression "$amazonLambdaToolsPath deploy-function $arguments"
            }
        }
        finally
        {
            Remove-Item Env:\AWS_EXECUTION_ENV
        }

        if ($LASTEXITCODE -ne 0)
        {
            $msg = @"
Error publishing PowerShell Lambda Function: $LastExitCode
CALLSTACK:$(Get-PSCallStack | Out-String)
"@
            throw $msg
        }
    }
    finally
    {
        Pop-Location
    }
}


function _packageProject
{
    param
    (
        [Parameter(Mandatory = $true)]
        [string]$OutputPackage,

        [Parameter(Mandatory = $false)]
        [string]$BuildDirectory,

        [Parameter(Mandatory = $false)]
        [string]$FunctionArchitecture        
    )

    _validateDotnetInstall

    if (($BuildDirectory))
    {
        Push-Location $BuildDirectory
    }
    try
    {
        $arguments = $Name
        $arguments += " --configuration Release --framework $AwsPowerShellTargetFramework --function-runtime $AwsPowerShellLambdaRuntime"

        if (($OutputPackage))
        {
            $arguments += " --output-package `"$OutputPackage`""
        }

        if($FunctionArchitecture)
        {
            $arguments += " --function-architecture $FunctionArchitecture"
        }
        $amazonLambdaToolsPath = _configureAmazonLambdaTools

        Write-Host 'Initiate packaging'

        # All output from the function deployment is sent to the verbose stream to allow user controlled access
        # to this level of detail
        Write-Verbose -Message "$amazonLambdaToolsPath package $arguments"
        Invoke-Expression "$amazonLambdaToolsPath package $arguments" | Foreach-Object {Write-Verbose -Message "$_`r"}
        if ($LASTEXITCODE -ne 0)
        {
            $msg = @"
Error publishing PowerShell Lambda Function: $LastExitCode
CALLSTACK:$(Get-PSCallStack | Out-String)
"@
            throw $msg
        }
    }
    finally
    {
        Pop-Location
    }
}

function _setupAWSCredentialsCliArguments
{
    param
    (
        [string]$ProfileName,
        [string]$AWSAccessKeyId,
        [string]$AWSSecretKey,
        [string]$AWSSessionToken
    )

    if ($ProfileName)
    {
        return "--profile $ProfileName"
    }

    if ($AWSAccessKeyId -or $AWSSecretKey -or $AWSSessionToken)
    {
        if(!($AWSAccessKeyId))
        {
            throw "The AWSAccessKeyId parameter is required when AWSSecretKey or AWSSessionToken are set."
        }

        if(!($AWSSecretKey))
        {
            throw "The AWSSecretKey parameter is required when AWSAccessKeyId is set."
        }
        
        $arguments = "--aws-access-key-id $AWSAccessKeyId --aws-secret-key $AWSSecretKey"

        if($AWSSessionToken)
        {
            $arguments += " --aws-session-token $AWSSessionToken"
        }

        return $arguments
    }

    # Look to see if the AWS module is loaded and that it was used to configure credentials for the shell.
    # If it has then pass those credentials into the Lambda dotnet CLI tool.
    if (Get-Command 'Get-AWSCredentials' -ErrorAction SilentlyContinue)
    {
        $shellCredentials = Get-AWSCredentials
        if ($shellCredentials)
        {
            $realCreds = $shellCredentials.GetCredentials()
            Write-Verbose -Message 'Using aws credentials configured for the hosting shell'
            $arguments = '--aws-access-key-id {0} --aws-secret-key {1}' -f $realCreds.AccessKey, $realCreds.SecretKey

            if ($realCreds.UseToken)
            {
                Write-Verbose -Message 'Using session token'
                $arguments += ' --aws-session-token {0}' -f $realCreds.Token
            }

            return $arguments
        }
    }

    return [String]::Empty
}

function _setupAWSRegionCliArguments
{
    param
    (
        [string]$Region
    )

    if ($Region)
    {
        return "--region $Region"
    }

    if (Get-Command 'Get-DefaultAWSRegion' -ErrorAction SilentlyContinue)
    {
        $shellRegion = Get-DefaultAWSRegion
        if ($shellRegion)
        {
            Write-Verbose -Message ('Using region {0} configured for the hosting shell' -f $shellRegion.Region)
            return '--region {0}' -f $shellRegion.Region
        }
    }

    return [String]::Empty
}

function _configureAmazonLambdaTools
{
    Write-Host 'Restoring .NET Lambda deployment tool'

    # see if tool is already installed
    $amazonLambdaToolsInstalled = & dotnet tool list -g | Select-String -Pattern Amazon.Lambda.Tools -SimpleMatch -Quiet

    # When "-Verbose" switch was used this output was not hidden.
    # Using stream redirection to force hide all output from the dotnet cli call
    if (-not $amazonLambdaToolsInstalled)
    {
        Write-Verbose -Message 'Installing .NET Global Tool Amazon.Lambda.Tools'
        & dotnet tool install -g Amazon.Lambda.Tools *>&1 | Out-Null
    }
    else
    {
        Write-Verbose -Message 'Updating .NET Global Tool Amazon.Lambda.Tools'

        # When "-Verbose" switch was used this output was not hidden.
        # Using stream redirection to force hide all output from the dotnet cli call
        & dotnet tool update -g Amazon.Lambda.Tools *>&1 | Out-Null
    }

    if ($LASTEXITCODE -ne 0) {
        $msg = @"
Error configuring .NET CLI AWS Lambda deployment tools: $LastExitCode
CALLSTACK:$(Get-PSCallStack | Out-String)
"@
        throw $msg
    }

    $toolsFolder = Join-Path -Path '~' -ChildPath '.dotnet' -AdditionalChildPath 'tools'

    $amazonLambdaToolsPath = Join-Path -Path $toolsFolder -ChildPath 'dotnet-lambda.exe'
    Write-Verbose -Message 'Looking for windows excutable for dotnet-lambda.exe'
    if (!(Test-Path -Path $amazonLambdaToolsPath))
    {
        Write-Verbose -Message 'Did not find windows executable, assuming on non windows platform and using dotnet-lambda'
        $amazonLambdaToolsPath = Join-Path -Path $toolsFolder -ChildPath 'dotnet-lambda'
    }

    return $amazonLambdaToolsPath
}

function _formatHashTable
{
    param
    (
        [Parameter(Mandatory = $false)]
        [Hashtable]$Table
    )

    if (!($Table) -or $Table.Count -eq 0)
    {
        return $null
    }

    $sb = [System.Text.StringBuilder]::new()

    $Table.Keys | ForEach-Object {
        if ($sb.Length -ne 0)
        {
            $sb.Append(";") | Out-Null
        }

        $sb.AppendFormat('{0}={1}', $_, $Table[$_]) | Out-Null
    }

    return $sb.ToString()
}

function _formatArray
{
    param
    (
        [Parameter(Mandatory = $false)]
        [string[]]$Items
    )

    if (!($Items) -or $Items.Count -eq 0)
    {
        return $null
    }

    $sb = [System.Text.StringBuilder]::new()

    $items | ForEach-Object {
        if ($sb.Length -ne 0)
        {
            $sb.Append(",") | Out-Null
        }
        $sb.Append($_) | Out-Null
    }

    return $sb.ToString()
}

function _prepareDependentPowerShellModules
{
    param
    (
        [Parameter(Mandatory = $true)]
        [string]$Script,

        [Parameter(Mandatory = $true)]
        [string]$ProjectDirectory,

        [Parameter(Mandatory = $true)]
        [bool]$ClearExisting,

        [Parameter()]
        [string[]]$ModuleRepository
    )

    $SavedModulesDirectory = Join-Path -Path $ProjectDirectory -ChildPath $ProjectModuleDirectory
    if ($ClearExisting -and (Test-Path -Path $SavedModulesDirectory))
    {
        Remove-Item -Path $SavedModulesDirectory -Recurse -Force
    }

    if (!(Test-Path -Path $SavedModulesDirectory))
    {
        New-Item -ItemType directory -Path $SavedModulesDirectory | Out-Null
    }

    ## Use the FullName property of the $Script fileinfo object, as [System.Management.Automation.Language.Parser]::ParseFile() does not succeed with PSPath values like `Microsoft.PowerShell.Core\FileSystem::\\someserver\somepath\Get-Something.ps1`. 
    ## $Script will have a PSPath value like this when the given file is at a UNC path.
    $strScriptFullname = (Get-Item -Path $Script).FullName
    ## variable in which to place any ParseFile() errors, so as to be able to check for them
    $arrErrorFromParseFile = @()
    $ast = [System.Management.Automation.Language.Parser]::ParseFile($strScriptFullname, [ref]$null, [ref]$arrErrorFromParseFile)
    if (($arrErrorFromParseFile | Measure-Object).Count -gt 0) {
        ## Write a warning (not terminating for now)
        Write-Warning "Received error trying to parse given script file '$Script'. Resulting Lambda package might not contain required PowerShell modules needed for success"
    } ## end if
    if ($ast.ScriptRequirements.RequiredModules)
    {
        $ast.ScriptRequirements.RequiredModules | ForEach-Object -Process {

            if ($_.Name -ieq 'AWSPowerShell')
            {
                Write-Warning 'This script requires the AWSPowerShell module which is not supported. Please change the #Requires statement to use the service specifc modules like AWS.Tools.S3 which is compatible with PowerShell 6.0 and above.'

                Write-Warning 'To use the AWS CmdLets install the AWS.Tools.* module for the services needed and then update the #Requires statement to the version installed. If you are not going to use the AWS CmdLets then remove the #Requires statement from the script.'

                throw 'The AWSPowerShell Module is not supported. Change the #Requires statement to reference the service specific modules like AWS.Tools.S3 module instead.'
            }

            $localModule = _findLocalModule -Name $_.Name -Version $_.Version
            if ($localModule)
            {
                Write-Host ('Copying local module {0}({1}) from {2}' -f $localModule.Name, $localModule.Version, $localModule.ModuleBase)
                $copyPath = Join-Path -Path $SavedModulesDirectory -ChildPath $localModule.Name -AdditionalChildPath $localModule.Version.ToString()
                if (!(Test-Path -Path $copyPath))
                {
                    New-Item -ItemType directory -Path $copyPath | Out-Null
                }
                Copy-Item -Path (Join-Path -Path $localModule.ModuleBase -ChildPath '*') -Destination $copyPath -Recurse
            }
            else
            {
                $splat = @{
                    Name = $_.Name
                    Path = $SavedModulesDirectory
                    ErrorAction = 'Stop'
                }

                if ($_.Version)
                {
                    $splat.Add('RequiredVersion',$_.Version)
                }

                if ($ModuleRepository)
                {
                    $splat.Add('Repository',$ModuleRepository)
                }

                # in the Save-Module call, replace -RequiredVersion with @splat
                Write-Host ('Saving module {0}' -f $_.Name)
                Save-Module @splat
            }
        }
    }
    ## Add verbosity that no RequiredModules found
    else {Write-Verbose "No RequiredModules found for script '$Script'"}
}

function _findLocalModule
{
    param
    (
        [Parameter(Mandatory = $true)]
        [string]$Name,

        [Parameter()]
        [Version]$Version
    )

    $loadedModule = Get-Module -Name $Name
    if ($loadedModule -and ($Version -eq $null -or $Version -eq $loadedModule.Version))
    {
        $message = 'Found imported module {0} ({1}) to save with package bundle.' -f $loadedModule.Name, $loadedModule.Version.ToString()
        Write-Verbose -Message $message
        return $loadedModule
    }

    $availableModules = Get-Module -ListAvailable -Name $Name | Sort-Object -Property Version -Descending

    # Select-Object added to ensure multiple installed copies of a specified version won't break staging folder
    # names. Before: ModuleName\System.Obejct[]\. After: Module\Version\
    $availableModules | ForEach-Object -Process {
        if ($null -eq $Version -or $_.Version -eq $Version)
        {
            $message = 'Found installed module {0} ({1}) to save with package bundle.' -f $_.Name, $_.Version.ToString()
            Write-Verbose -Message $message
            return $_
        }
    } | Select-Object -First 1

    return $null
}

function _validateDotnetInstall
{
    $application = Get-Command -Name dotnet
    if (!($application))
    {
        throw '.NET 6 SDK was not found which is required to build the PowerShell Lambda package bundle. Download the .NET 6 SDK from https://www.microsoft.com/net/download'
    }

    $minVersion = [System.Version]::Parse('6.0.100')
    $foundMin = $false

    $installedSDKs = & dotnet --list-sdks
    foreach ($sdk in $installedSDKs) {
        $foundVersion = $sdk.split(' ')[0]
        $version = [System.Version]::new()
        if ([System.Version]::TryParse($foundVersion, [ref]$version))
        {
            if ($minVersion -le $foundVersion)
            {
                $foundMin = $true
            }
        }
    }

    if (!($foundMin))
    {
        throw 'The installed .NET SDK does not meet the minimum requirement to build the PowerShell Lambda package bundle. Download the .NET 6 SDK from https://www.microsoft.com/net/download'
    }
}

function _createStagingDirectory
{
    param
    (
        [Parameter(Mandatory = $true)]
        [String]$Name,

        [Parameter(Mandatory = $false)]
        [String]$StagingDirectory
    )

    if ($StagingDirectory)
    {
        $NewStagingDirectory = Join-Path -Path $StagingDirectory -ChildPath $Name
    }
    else
    {
        $NewStagingDirectory = Join-Path -Path ([System.IO.Path]::GetTempPath()) -ChildPath $Name
    }

    if (Test-Path -Path $NewStagingDirectory)
    {
        Write-Verbose -Message 'Removing previous staging directory'
        Remove-Item -Path $NewStagingDirectory -Recurse -Force
    }

    Write-Host "Staging deployment at $NewStagingDirectory"
    New-Item -ItemType Directory -Path $NewStagingDirectory -Force | Out-Null

    return $NewStagingDirectory
}

# SIG # Begin signature block
# MIIufQYJKoZIhvcNAQcCoIIubjCCLmoCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDkn6XRTtJRxNyI
# Fg+LpN87b2uTEmZuR4/JSMshSz3ncaCCE+owggXAMIIEqKADAgECAhAP0bvKeWvX
# +N1MguEKmpYxMA0GCSqGSIb3DQEBCwUAMGwxCzAJBgNVBAYTAlVTMRUwEwYDVQQK
# EwxEaWdpQ2VydCBJ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# O6/Etry3TJyS2jAlmBufaE7aretKIQtxhspV6IfffGgzAubkO9zz4gcuGFiJIZ1n
# nQ==
# SIG # End signature block
tools\AWSLambdaPSCore\Private\_ProjectCreationFunctions.ps1
<#
    .DESCRIPTION
    Initializes the PowerShell script file containing our Lambda function from the
    blueprint contents. The name of the script file containing the function is
    returned to the caller, to be used in further initialization of the unpacked
    blueprint (eg when adding the wrapper project files).
#>
function _initializeScriptFromTemplate
{
    param
    (
        # The name of the template to source the new script or project based Lambda function from.
        [Parameter(Mandatory = $true)]
        [string]$Template,

        # The output folder to place the generated content into.
        [Parameter(Mandatory = $true)]
        [string]$Directory,

        # Optional basename to use for the Lambda function script file. If not specified the
        # name of the template is used.
        [Parameter()]
        [string]$BaseName
    )

    if ($BaseName)
    {
        $_baseName = $BaseName
    }
    else
    {
        $_baseName = $Template
    }

    $_lambdaFunctionFile = _unpackBlueprintContents -Template $Template -Directory $Directory -BaseName $_baseName -ContentProcessor {

        param([string]$fileExt, [string]$content)

        if (($fileExt -ieq '.ps1') -Or ($fileExt -ieq '.psm1'))
        {
            # Check to see if the script has stated a requirement on AWSPowerShell.NetCore or AWS.Tools.* modules and if so make the
            # version referenced match the version installed locally.
            $ast = [System.Management.Automation.Language.Parser]::ParseInput($content, [ref]$null, [ref]$null)
            if ($ast.ScriptRequirements.RequiredModules)
            {
                $ast.ScriptRequirements.RequiredModules | ForEach-Object  -Process {

                    if (!($_.Name -ieq 'AWSPowerShell.NetCore') -and !($_.Name.StartsWith("AWS.Tools.")))
                    {
                        return
                    }

                    $installedVersion = _getVersionOfLocalInstalledModule -Module $_.Name
                    if (!($installedVersion))
                    {
                        Write-Warning "This script requires the $_.Name module which is not installed locally."
                        Write-Warning "To use the AWS CmdLets execute ""Install-Module $_.Name"" and then update the #Requires statement to the version installed. If you are not going to use the AWS CmdLets then remove the #Requires statement from the script."
                    }
                    elseif ($installedVersion -ne $_.Version.ToString())
                    {
                        $lines = $content.Split('\n')
                        for ($i = 0; $i -lt $lines.Length; $i++ )
                        {
                            if ($lines[$i].Contains('#Requires') -and $lines[$i].Contains($_.Name) -and $lines[$i].Contains($_.Version.ToString()) )
                            {
                                $lines[$i] = $lines.Replace($_.Version.ToString(), $installedVersion)
                                Write-Host ("Configuring script to use installed version $installedVersion of ($_.Name)")
                                break
                            }
                        }

                        $content = [System.String]::Join('\n', $lines)
                    }
                }
            }
        }

        return $content
    }

    return $_lambdaFunctionFile
}

# Checks for an already installed dependency module and returns the version if found.
function _getVersionOfLocalInstalledModule
{
    param
    (
        [Parameter(Mandatory = $true)]
        [string]$Module
    )

    $localModule = Get-Module -ListAvailable -Name $Module | Sort-Object -Property Version -Descending | Select-Object -First 1
    if ($localModule)
    {
        $localModule.Version.ToString()
    }
}

function _addPowerShellLambdaProjectContent
{
    param
    (
        # The name the user selected for the project, or the template name if the user
        # did not supply a value.
        [Parameter()]
        [string]$ProjectName,

        # The name of the generated file containing the actual Lambda function.
        [Parameter()]
        [string]$ScriptFile,

        # The output folder containing the generated project.
        [Parameter()]
        [string]$Directory,

        # User-specified credential profile name to seed into the generated defaults file to be used on deployment.
        [Parameter()]
        [string]$ProfileName,

        # User-specified region to seed into the generated defaults file to be used on deployment.
        [Parameter()]
        [string]$Region,

        # The version of Microsoft.PowerShell.SDK to configure for the project
        [Parameter()]
        [string]$PowerShellSdkVersion,

        [Parameter(Mandatory = $true)]
        [bool]$QuietMode
    )

    if(!($PowerShellSdkVersion)) 
    {
        $PowerShellSdkVersion = $AwsPowerShellDefaultSdkVersion
    }

    # Setup project file
    $csprojContent = _getBlueprintsContent 'projectfile.csproj.txt'
    $csprojContent = $csprojContent.Replace('SCRIPT_FILE', $ScriptFile)
    $csprojContent = $csprojContent.Replace('POWERSHELL_SDK_VERSION', $PowerShellSdkVersion)

    Write-Host "Configuring PowerShell to version $PowerShellSdkVersion"

    $filename = Join-Path -Path $Directory -ChildPath "$ProjectName.csproj"
    if (!$QuietMode)
    {
        Write-Host "Generating C# project $filename used to create Lambda function bundle."
    }
    Out-File -FilePath $filename -InputObject $csprojContent -Encoding UTF8 -Force

    # Setup bootstrap code
    $namespaceName = _makeSafeNamespaceName ([System.IO.Path]::GetFileName($ProjectName))

    $bootstrapContent = _getBlueprintsContent 'bootstrap.cs.txt'
    $bootstrapContent = $bootstrapContent.Replace('NAMESPACE_NAME', $namespaceName)
    $bootstrapContent = $bootstrapContent.Replace('SCRIPT_FILE', $ScriptFile)

    $filename = Join-Path -Path $Directory -ChildPath 'Bootstrap.cs'
    if (!$QuietMode)
    {
        Write-Host "Generating $filename to load PowerShell script and required modules in Lambda environment."
    }
    Out-File -FilePath $filename -InputObject $bootstrapContent -Encoding UTF8 -Force

    if (!$QuietMode)
    {
        Write-Host 'Generating aws-lambda-tools-defaults.json config file with default values used when publishing project.'
    }

    $defaultsContent = _getBlueprintsContent 'aws-lambda-tools-defaults.txt'
    $defaultsContent = $defaultsContent.Replace('CONFIGURED_PROFILE', $ProfileName)
    $defaultsContent = $defaultsContent.Replace('CONFIGURED_REGION', $Region)
    $defaultsContent = $defaultsContent.Replace('PROJECT_NAME', $ProjectName)
    $defaultsContent = $defaultsContent.Replace('DEFAULT_MEMORY', $DefaultFunctionMemory)
    $defaultsContent = $defaultsContent.Replace('DEFAULT_TIMEOUT', $DefaultFunctionTimeout)

    $filename = Join-Path -Path $Directory -ChildPath 'aws-lambda-tools-defaults.json'
    Out-File -FilePath $filename -InputObject $defaultsContent -Encoding UTF8 -Force

    $newDirectory = Join-Path -Path $Directory -ChildPath $ProjectModuleDirectory
    New-Item -ItemType directory -Path $newDirectory -Force | Out-Null
}


function _makeSafeNamespaceName
{
    param
    (
        [Parameter(Mandatory = $true)]
        [string]$OriginalName
    )    

    $namespaceName = $OriginalName
    $namespaceName = $namespaceName -replace '-', '_'
    $namespaceName = $namespaceName -replace ' ', '_'
    $namespaceName = $namespaceName -replace '\.', '_'
    if([Char]::IsDigit($namespaceName[0]))
    {
        $namespaceName = "PS_$namespaceName"
    }    

    return $namespaceName
}
# SIG #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iFbEYdPO3VWTlzGny0hlHRBQg/fAvLodrmdUCOGEyuc
# 23CYSU9fDBM7G438uMTl5mwaI7EatxjTFLvebUpy4H9ZiFvsSiFatCT5/Du63lyr
# erTzZh+U3kzFD78JZjL0LK85VPab+03JoylYzZEqhzpu51lJF95PXtxmQDE+5QSo
# J2bh53X7bzDd7a4x4pakciJSjyQIvJttE+qc0oKGBO1K76oHs+8vQbtzmTvAOg0d
# qvc0tvWOmIqF6Hb9q8OBiWG2xLztF6PUnh5wj7nKsiYudYy4qKmKorm775k/v2Ih
# weekbomrt6gLXJcia5w65mR81hRhvcbbDkYkNEhg8NdlM2bbOoV8AI9x28sGXvOa
# 8PeeWB2S3XB37M+F0VadzOBwY0FvCsfZcMGxCQVB7dL1VwO7pM129ZKkDpe7CLkG
# M0o=
# SIG # End signature block
tools\AWSLambdaPSCore\PSGetModuleInfo.xml
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04">
  <Obj RefId="0">
    <TN RefId="0">
      <T>Microsoft.PowerShell.Commands.PSRepositoryItemInfo</T>
      <T>System.Management.Automation.PSCustomObject</T>
      <T>System.Object</T>
    </TN>
    <MS>
      <S N="Name">AWSLambdaPSCore</S>
      <S N="Version">4.0.2.0</S>
      <S N="Type">Module</S>
      <S N="Description">The AWS Lambda Tools for Powershell can be used to create and deploy AWS Lambda functions written in PowerShell.</S>
      <S N="Author">Amazon.com Inc</S>
      <S N="CompanyName">aws-dotnet-sdk-team</S>
      <S N="Copyright">Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.</S>
      <DT N="PublishedDate">2024-09-30T17:43:44+00:00</DT>
      <Nil N="InstalledDate" />
      <Nil N="UpdatedDate" />
      <URI N="LicenseUri">https://github.com/aws/aws-lambda-dotnet/blob/master/LICENSE</URI>
      <URI N="ProjectUri">https://github.com/aws/aws-lambda-dotnet/tree/master/PowerShell</URI>
      <URI N="IconUri">https://sdk-for-net.amazonwebservices.com/images/AWSLogo128x128.png</URI>
      <Obj N="Tags" RefId="1">
        <TN RefId="1">
          <T>System.Object[]</T>
          <T>System.Array</T>
          <T>System.Object</T>
        </TN>
        <LST>
          <S>AWS</S>
          <S>Lambda</S>
          <S>PSModule</S>
          <S>PSEdition_Core</S>
        </LST>
      </Obj>
      <Obj N="Includes" RefId="2">
        <TN RefId="2">
          <T>System.Collections.Hashtable</T>
          <T>System.Object</T>
        </TN>
        <DCT>
          <En>
            <S N="Key">Function</S>
            <Obj N="Value" RefId="3">
              <TNRef RefId="1" />
              <LST>
                <S>Get-AWSPowerShellLambdaTemplate</S>
                <S>New-AWSPowerShellLambda</S>
                <S>New-AWSPowerShellLambdaPackage</S>
                <S>Publish-AWSPowerShellLambda</S>
              </LST>
            </Obj>
          </En>
          <En>
            <S N="Key">RoleCapability</S>
            <Obj N="Value" RefId="4">
              <TNRef RefId="1" />
              <LST />
            </Obj>
          </En>
          <En>
            <S N="Key">Command</S>
            <Obj N="Value" RefId="5">
              <TNRef RefId="1" />
              <LST>
                <S>Get-AWSPowerShellLambdaTemplate</S>
                <S>New-AWSPowerShellLambda</S>
                <S>New-AWSPowerShellLambdaPackage</S>
                <S>Publish-AWSPowerShellLambda</S>
              </LST>
            </Obj>
          </En>
          <En>
            <S N="Key">DscResource</S>
            <Obj N="Value" RefId="6">
              <TNRef RefId="1" />
              <LST />
            </Obj>
          </En>
          <En>
            <S N="Key">Workflow</S>
            <Obj N="Value" RefId="7">
              <TNRef RefId="1" />
              <LST />
            </Obj>
          </En>
          <En>
            <S N="Key">Cmdlet</S>
            <Obj N="Value" RefId="8">
              <TNRef RefId="1" />
              <LST />
            </Obj>
          </En>
        </DCT>
      </Obj>
      <Nil N="PowerShellGetFormatVersion" />
      <Nil N="ReleaseNotes" />
      <Obj N="Dependencies" RefId="9">
        <TNRef RefId="1" />
        <LST />
      </Obj>
      <S N="RepositorySourceLocation">https://www.powershellgallery.com/api/v2</S>
      <S N="Repository">PSGallery</S>
      <S N="PackageManagementProvider">NuGet</S>
      <Obj N="AdditionalMetadata" RefId="10">
        <TN RefId="3">
          <T>System.Management.Automation.PSCustomObject</T>
          <T>System.Object</T>
        </TN>
        <MS>
          <S N="copyright">Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.</S>
          <S N="description">The AWS Lambda Tools for Powershell can be used to create and deploy AWS Lambda functions written in PowerShell.</S>
          <S N="requireLicenseAcceptance">False</S>
          <S N="isLatestVersion">True</S>
          <S N="isAbsoluteLatestVersion">True</S>
          <S N="versionDownloadCount">2</S>
          <S N="downloadCount">129337</S>
          <S N="packageSize">156359</S>
          <S N="published">9/30/2024 5:43:44 PM +00:00</S>
          <S N="created">9/30/2024 5:43:44 PM +00:00</S>
          <S N="lastUpdated">9/30/2024 5:50:00 PM +00:00</S>
          <S N="tags">AWS Lambda PSModule PSEdition_Core PSFunction_Get-AWSPowerShellLambdaTemplate PSCommand_Get-AWSPowerShellLambdaTemplate PSFunction_New-AWSPowerShellLambda PSCommand_New-AWSPowerShellLambda PSFunction_New-AWSPowerShellLambdaPackage PSCommand_New-AWSPowerShellLambdaPackage PSFunction_Publish-AWSPowerShellLambda PSCommand_Publish-AWSPowerShellLambda PSIncludes_Function</S>
          <S N="developmentDependency">False</S>
          <S N="updated">2024-09-30T17:50:00Z</S>
          <S N="NormalizedVersion">4.0.2</S>
          <S N="Authors">Amazon.com Inc</S>
          <S N="IsPrerelease">false</S>
          <S N="ItemType">Module</S>
          <S N="FileList">AWSLambdaPSCore.nuspec|Public\New-AWSPowerShellLambdaPackage.ps1|Templates\Blueprints\CodeCommitTrigger\codecommittrigger.ps1.txt|Templates\Blueprints\S3EventToSNSToSQS\readme.txt|AWSLambdaPSCore.psd1|Public\Publish-AWSPowerShellLambda.ps1|Templates\Blueprints\CodeCommitTrigger\readme.txt|Templates\Blueprints\S3EventToSNSToSQS\s3tosnstosqs.ps1.txt|AWSLambdaPSCore.psm1|Templates\Blueprints\aws-lambda-tools-defaults.txt|Templates\Blueprints\DetectLabels\detectlabels.ps1.txt|Templates\Blueprints\S3EventToSQS\readme.txt|Private\_ArgumentCompleters.ps1|Templates\Blueprints\bootstrap.cs.txt|Templates\Blueprints\DetectLabels\readme.txt|Templates\Blueprints\S3EventToSQS\s3tosqs.ps1.txt|Private\_BlueprintFunctions.ps1|Templates\Blueprints\projectfile.csproj.txt|Templates\Blueprints\KinesisStreamProcessor\kinesisstreamprocessor.ps1.txt|Templates\Blueprints\SNSSubscription\readme.txt|Private\_Constants.ps1|Templates\Blueprints\ps-lambda-blueprint-manifest.json|Templates\Blueprints\KinesisStreamProcessor\readme.txt|Templates\Blueprints\SNSSubscription\snssubscription.ps1.txt|Private\_DeploymentFunctions.ps1|Templates\Blueprints\Basic\basic.ps1.txt|Templates\Blueprints\S3Event\readme.txt|Templates\Blueprints\SNSToSQS\readme.txt|Private\_ProjectCreationFunctions.ps1|Templates\Blueprints\Basic\readme.txt|Templates\Blueprints\S3Event\s3event.ps1.txt|Templates\Blueprints\SNSToSQS\snstosqs.ps1.txt|Public\Get-AWSPowerShellLambdaTemplate.ps1|Templates\Blueprints\CloudFormationCustomResource\cloudformationcustomresource.ps1.txt|Templates\Blueprints\S3EventToSNS\readme.txt|Templates\Blueprints\SQSQueueProcessor\readme.txt|Public\New-AWSPowerShellLambda.ps1|Templates\Blueprints\CloudFormationCustomResource\readme.txt|Templates\Blueprints\S3EventToSNS\s3tosns.ps1.txt|Templates\Blueprints\SQSQueueProcessor\sqsprocessor.ps1.txt</S>
          <S N="GUID">79b7bff6-b031-4d8d-b17c-e7e11f1a741f</S>
          <S N="PowerShellVersion">6.0</S>
          <S N="CompanyName">Amazon.com, Inc</S>
        </MS>
      </Obj>
      <S N="InstalledLocation">C:\Users\appveyor\AppData\Local\Temp\1\0ca9f178-643c-44a0-9b36-b640449ab6a0\AWSLambdaPSCore\4.0.2.0</S>
    </MS>
  </Obj>
</Objs>
tools\AWSLambdaPSCore\Public\Get-AWSPowerShellLambdaTemplate.ps1
<#
    .SYNOPSIS
    Lists the available PowerShell script templates.

    .DESCRIPTION
    Lists the available PowerShell script templates. The templates are used with the New-AWSPowerShellLambda
    cmdlet's -Template parameter to create an initial PowerShell script or project to get started with using
    PowerShell in AWS Lambda.

    .PARAMETER InstalledOnly
    Overrides default behavior to obtain the list of available templates from online sources which will include
    new and updated templates released periodically. If the switch is specified only those templates that were
    installed as part of the AWSLambdaPowerShell module are returned.

    .EXAMPLE
    Get-AWSPowerShellLambdaTemplate

    Outputs the latest available template content from online and outputs the template details to the pipeline.
    If the online content cannot be reached the cmdlet will fall back to outputting the details of templates
    installed with the module.

    .EXAMPLE
    Get-AWSPowerShellLambdaTemplate -InstalledOnly

    Outputs the details of the available templates from those installed with this module to the pipeline.
#>
function Get-AWSPowerShellLambdaTemplate
{
    [CmdletBinding()]
    param
    (
        [switch]$InstalledOnly
    )

    if ($InstalledOnly)
    {
        $manifest = _loadBlueprintManifest
    }
    else
    {
        $manifest = _loadBlueprintManifest -Online
    }

    foreach ($b in $manifest.blueprints)
    {
        [PSCustomObject]@{
            Template    = $b.name
            Description = $b.description
        }
    }
}
# SIG # Begin signature block
# MIIufgYJKoZIhvcNAQcCoIIubzCCLmsCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAnszZm5k69jVdz
# LD8+RsvLZErYiEgBn8kZ+jGbZddqWKCCE+owggXAMIIEqKADAgECAhAP0bvKeWvX
# +N1MguEKmpYxMA0GCSqGSIb3DQEBCwUAMGwxCzAJBgNVBAYTAlVTMRUwEwYDVQQK
# EwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20xKzApBgNV
# BAMTIkRpZ2lDZXJ0IEhpZ2ggQXNzdXJhbmNlIEVWIFJvb3QgQ0EwHhcNMjIwMTEz
# MDAwMDAwWhcNMzExMTA5MjM1OTU5WjB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da.ps1
<#
    .SYNOPSIS
    Create a new PowerShell script file.

    .DESCRIPTION
    Creates a new AWS Lambda function in a PowerShell script file, or a project containing a script file,
    based on a template or 'blueprint'. The script or project can later be published to AWS Lambda
    using the Publish-AWSPowerShellLambda cmdlet or compiled into a deployment package bundle using the 
    New-AWSPowerShellLambdaPackage function for publishing at a later date using services such as AWS CloudFormation.

    Using the project based workflow is for advanced use cases when you need more control over how the script is loaded
    or need to include additional files. If you just need to deploy a single script consider using the simpler script
    based workflow.

    A project will consist of the following files, some file names are based on the Name parameter.
        * <name>.ps1 - The main file to be edited. This is the PowerShell script that will be invoked for each Lambda function invocation.
        * <name>.csproj> - The .NET project file used to build the Lambda package bundle
        * Bootstrap.cs - C# Code that indicates the PowerShell script to execute during a Lambda function invocation
        * aws-lambda-tools-defaults.json - Contains default values used when publishing the project. If you rename files be sure update the function-handler field in this property to match the changes.

    .PARAMETER Directory
    The name of folder to contain the script file and other content from the template. If not specified
    a subfolder matching the template name will be created in the current working folder and the content
    from the template will be saved into that subfolder.

    .PARAMETER ProfileName
    Optional parameter to preconfigure the AWS credentials profile the project will be published with. This can be overriden when publishing.

    .PARAMETER ProjectName
    The name of the new project containing your PowerShell Lambda script. If not specified the name of the template is used. This
    value will also be used to set the output directory when -WithProject is specified if the -Directory parameter is not specified.

    .PARAMETER Region
    Optional parameter to preconfigure the AWS region the project will be published to. This can be overriden when publishing.
    template will be used.

    .PARAMETER ScriptName
    Optional basename for the generated script file containing your Lambda function. If not specified
    the original name of the script file in the selected template, which usually matches the template name, is used.

    .PARAMETER Template
    The name of the template to use for creating the PowerShell script. To see a list of available templates
    use the Get-AWSPowerShellLambdaTemplate cmdlet.

    .PARAMETER WithProject
    Optional switch that will create an AWS Lambda project for the PowerShell script. This is an advanced use case providing the
    ability to customize the files added to the Lambda deployment bundle and the PowerShell Host executing in the Lambda function.


    .EXAMPLE
    New-AWSPowerShellLambda -Template S3Event

    Creates a new script function from the template named 'S3Event' into the subfolder
    named 'S3Event' in the current working location.

    .EXAMPLE
    New-AWSPowerShellLambda -Template S3Event -Directory .\s3EventProcessor

    Creates a new script function from the template named 'S3Event' into the subfolder
    named 's3EventProcessor' in the current working location.

    .EXAMPLE
    New-AWSPowerShellLambda -Template S3Event -Directory C:\MyLambdaFunctions

    Creates a new script function from the template named 'S3Event' into the
    C:\MyLambdaFunctions folder.

    .EXAMPLE
    New-AWSPowerShellLambda -Template S3Event -ScriptName MyS3EventFunction

    Creates a new script function from the template named 'S3Event' in the current working location.
    The script file containing your new Lambda function will have the filename MyS3EventFunction.ps1.

    .EXAMPLE
    New-AWSPowerShellLambda -Template S3Event -ScriptName S3EventProcessor -WithProject -Region us-east-1

    In this example a new AWS Lambda PowerShell project is created in a directory called S3EventProcessor.
    The project will be preconfigured in the generated aws-lambda-tools-defaults.json file to deploy to the
    us-east-1 region.

    .EXAMPLE
    New-AWSPowerShellLambda -Template S3Event -ScriptName S3EventProcessor -Directory ./MyCode -WithProject

    In this example a new AWS Lambda PowerShell project is created in a directory called MyCode with the script
    and project files called S3EventProcessor.
#>
function New-AWSPowerShellLambda
{
    param
    (
        [Parameter(Mandatory = $true,
            ValueFromPipeline = $true,
            ValueFromPipelineByPropertyName = $true,
            HelpMessage = 'The template to base the initial function script on.'
        )]
        [ValidateNotNullOrEmpty()]
        [string]$Template,

        [Parameter()]
        [string]$Directory,

        [Parameter()]
        [string]$ScriptName,

        [Parameter(ParameterSetName = 'Project')]
        [switch]$WithProject,

        [Parameter(ParameterSetName = 'Project')]
        [string]$ProjectName,

        [Parameter(ParameterSetName = 'Project')]
        [string]$ProfileName,

        [Parameter(ParameterSetName = 'Project')]
        [string]$Region
    )

    if ($WithProject)
    {
        if ($ProjectName)
        {
            $_projectName = $ProjectName
        }
        else
        {
            $_projectName = $Template
        }
    }

    if ($Directory)
    {
        $_directory = $Directory
    }
    else
    {
        if ($_projectName)
        {
            $_directory = $_projectName;
        }
        elseif ($ScriptName) 
        {
            $_directory = $ScriptName
        }
        else
        {
            $_directory = Join-Path -Path (Get-Location).Path -ChildPath $Template
        }
    }

    if (!(Test-Path -Path $_directory))
    {
        New-Item -ItemType Directory -Path $_directory -Force | Out-Null
    }

    $splat = @{
        Template = $Template
        Directory = $_directory
        BaseName = $ScriptName
    }
    $_functionScriptFile = _initializeScriptFromTemplate @splat
    if ($WithProject)
    {
        $splat = @{
            ProjectName = $_projectName
            ScriptFile = $_functionScriptFile
            Directory = $_directory
            QuietMode = $false
            ProfileName = $ProfileName
            Region = $Region
        }
        _addPowerShellLambdaProjectContent @splat
        Write-Host ('New AWS lambda PowerShell project {0} from template {1} at {2}' -f $_projectName, $Template, (Resolve-Path -Path $_directory))
    }
    else
    {
        Write-Host ('Created new AWS Lambda PowerShell script {0} from template {1} at {2}' -f $_functionScriptFile, $Template, (Resolve-Path $_directory))
    }
}
# SIG # Begin signature block
# MIIufQYJKoZIhvcNAQcCoIIubjCCLmoCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDPn65hQOCaxTa1
# hi/mPor4NzSxFv2qlV5/I9v8H8frR6CCE+owggXAMIIEqKADAgECAhAP0bvKeWvX
# +N1MguEKmpYxMA0GCSqGSIb3DQEBCwUAMGwxCzAJBgNVBAYTAlVTMRUwEwYDVQQK
# EwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20xKzApBgNV
# BAMTIkRpZ2lDZXJ0IEhpZ2ggQXNzdXJhbmNlIEVWIFJvb3QgQ0EwHhcNMjIwMTEz
# MDAwMDAwWhcNMzExMTA5MjM1OTU5WjBiMQswCQYDVQQGEwJVUzEVMBMGA1UEChMM
# RGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSEwHwYDVQQD
# ExhEaWdpQ2VydCBUcnV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ZnM9AMC8GCSqGSIb3DQEJ
# BDEiBCA9ER3zEwPGgbFxDUcL5Bp8Gbln2Q5tJf3qsmpPENOd1zA3BgsqhkiG9w0B
# CRACLzEoMCYwJDAiBCDS9uRt7XQizNHUQFdoQTZvgoraVZquMxavTRqa1Ax4KDAN
# BgkqhkiG9w0BAQEFAASCAgAbYDOtJ89xgWRf5DHHZjMv8fU26rHYrvVWD9GbGuaP
# x/MRQo6GFYAGt7SzO0ucwnOpDxayHezndw6pJeR/0nJUd3tSvv4q7+pMo9ycQ9MZ
# qoHC/rhCtMsoFkkVzYT/QVDVqfckoHOT8v1Zg9X1+2qAOkmh0pkCbP8+C5AFuyPx
# QPtONjfo8w8Ma/RTvTaAAat8Ls6/5EA69FCJc36Y5gVjD9egADBvduiPipP2HUqV
# BLxv0V84Beb7P9kzgNv5ytDSpMaLKaUAa9Y0lZFbAO6UWMwt8lGqsOe07iYrbtZF
# baKLGnGZEPA1oNQCBv4RoMuGUQ+Db8Cl7sAOpAXbTRztY7uLZGNkA95qLmZ9Hu27
# TA5N7a3hjjeRmRNIAccoZ4WcQCr2aqxGyGj8W1WJUKU3ggpLp7YM6Hd2SwM5hCBa
# 6UFLn2lRje1E/tE8jxhc6BcsXk7WU8vM7fYa2UoN5mPOXP2R4SHG0vBFJVJp2RYw
# F9z0pDCKIdAUkPDWfpGthwq6v9E2FdzyUjTkv6WKZhFEmEzYH3+J2U/ecjYVbD0a
# fM3rdInsj+CJo8uBUzaTKo1RxFPUe0vLOJS1oD3IGGuxdmBfqGKxXoXbrqWj7IuT
# +FjWA8Fxbi0+TtnaVxjwlqp4Ujp9MbbY6Ia18g6u37teAcQwYYrX8vguH5MkUGjk
# fg==
# SIG # End signature block
tools\AWSLambdaPSCore\Public\New-AWSPowerShellLambdaPackage.ps1
<#
    .SYNOPSIS
    Creates a deployment package bundle for a PowerShell script or script project that can be published separately to an
    AWS Lambda Function.

    .DESCRIPTION
    PowerShell scripts and script projects are deployed to AWS Lambda as a .NET Core package bundle.

    For standalone script files this cmdlet will create a package bundle using a temporary .NET Core C# project that
    will include the specified PowerShell script and any required PowerShell modules. The temporary C# project also
    includes code to bootstrap the PowerShell runtime and execute the Lambda function.

    For script projects the bundle will be created using your existing project content. Using the project based workflow
    is for advanced use cases when you need more control over how the script is loaded or need to include additional
    files. If you just need to deploy a single script consider using the simpler script based workflow.

    For both standalone scripts and script projects the package bundle (a zip file) can then be deployed separately
    to AWS Lambda.

    .PARAMETER DisableModuleRestore
    Skip restoring any required PowerShell modules when deploying a project.

    .PARAMETER ProjectDirectory
    The directory containing the AWS Lambda PowerShell project to publish.

    .PARAMETER ModuleRepository
    Custom repositories to use when downloading modules to satisfy your script's declared dependencies.

    .PARAMETER OutputPackage
    Set this parameter to zip file to generate just the deployment package that will be deployed as part of another system.

    .PARAMETER PowerShellSdkVersion
    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

    .PARAMETER ScriptPath
    The path to the PowerShell script file to be published to AWS Lambda.

    .PARAMETER Architecture
    The architecture of the Lambda function. Valid values: x86_64 or arm64. Default is x86_64
        
    .PARAMETER StagingDirectory
    Optional parameter to set the directory where the AWS Lambda package bundle for a standalone script deployment
    will be created. If not set the system temp directory will be used.

    .EXAMPLE
    New-AWSPowerShellLambdaPackage -ScriptPath cleanup-s3-bucket.ps1 -OutputPackage C:\PendingDeployment\MyS3CleanupFunction.zip

    Creates the zip file C:\PendingDeployment\MyS3CleanupFunction.zip containing the packaged function from the script file
    .\cleanup-s3-bucket.ps1 that can be deployed separately to AWS Lambda.

    .EXAMPLE
    New-AWSPowerShellLambdaPackage -OutputPackage C:\PendingDeployment\MyS3CleanupProjectBundle.zip

    Creates a zip file containing the deployment bundle for a script project in the current directory.

    .EXAMPLE
    New-AWSPowerShellLambdaPackage -ProjectDirectory C:\MyLambdaProject -OutputPackage C:\PendingDeployment\MyS3CleanupProjectBundle.zip

    Creates a zip file containing the deployment bundle for the script project in the folder C:\MyLambdaProject.
#>
function New-AWSPowerShellLambdaPackage
{
    [CmdletBinding(DefaultParameterSetName = 'PackageScript')]
    param
    (
        [Parameter(Mandatory = $true,
            ParameterSetName = 'PackageScript',
            HelpMessage = 'The path to the PowerShell script to be packaged for later deployment to AWS Lambda.')]
        [string]$ScriptPath,

        [Parameter(ParameterSetName = 'PackageScript')]
        [string]$StagingDirectory,

        [Parameter(ParameterSetName = 'PackageScript')]
        [string]$PowerShellSdkVersion,

        [Parameter(ParameterSetName = 'PackageProject')]
        [string]$ProjectDirectory,

        [Parameter(ParameterSetName = 'PackageProject')]
        [switch]$DisableModuleRestore,

        [Parameter(Mandatory = $true,
            HelpMessage = 'The path and name of the output package bundle (zip file) to create.')]
        [String]$OutputPackage,

        [Parameter()]
        [string[]]$ModuleRepository,  

        [Parameter()]
        [ValidateSet('x86_64', 'arm64')]
        [string]$Architecture      
    )

    _validateDotnetInstall

    # If staging directory is a new temp directory then delete the stage directory after publishing completes
    $deleteStagingDirectory = $false

    if ($PSCmdlet.ParameterSetName -eq 'PackageScript')
    {
        if (!(Test-Path -Path $ScriptPath))
        {
            throw "Script $ScriptPath does not exist."
        }

        if(!($StagingDirectory))
        {
            $deleteStagingDirectory = $true
        }
                
        # Creates and returns an updated StagingDirectory with the ScriptName inside it
        $_name = [System.IO.Path]::GetFileNameWithoutExtension($ScriptPath)
        $stagingSplat = @{
            Name             = $_name
            StagingDirectory = $StagingDirectory
        }
        $StagingDirectory = _createStagingDirectory @stagingSplat

        $_scriptPath = (Resolve-Path -Path $ScriptPath).Path
        $_buildDirectory = (Resolve-Path -Path $StagingDirectory).Path

        $splat = @{
            ProjectName = $_name
            ScriptFile  = [System.IO.Path]::GetFileName($_scriptPath)
            Directory   = $_buildDirectory
            QuietMode   = $false
            PowerShellSdkVersion = $PowerShellSdkVersion
        }
        _addPowerShellLambdaProjectContent @splat

        Write-Host 'Copying PowerShell script to staging directory'
        Copy-Item -Path $_scriptPath -Destination $_buildDirectory

        $splat = @{
            Script           = $_scriptPath
            ProjectDirectory = $_buildDirectory
            ClearExisting    = $true
            ModuleRepository = $ModuleRepository
        }
        _prepareDependentPowerShellModules @splat

        $namespaceName = _makeSafeNamespaceName $_name
        $_handler = "$_name::$namespaceName.Bootstrap::ExecuteFunction"
    }
    else
    {
        if (!($ProjectDirectory))
        {
            $ProjectDirectory = $pwd.Path
        }

        if (!(Test-Path -Path $ProjectDirectory))
        {
            throw "Project directory $ProjectDirectory does not exist."
        }

        if (!($DisableModuleRestore))
        {
            $clearExisting = $true

            $targetPath = Join-Path -Path $ProjectDirectory -ChildPath '*.ps1'
            Get-ChildItem -Path $targetPath | ForEach-Object {
                $splat = @{
                    Script           = $_.FullName
                    ProjectDirectory = $ProjectDirectory
                    ClearExisting    = $clearExisting
                    ModuleRepository = $ModuleRepository
                }
                _prepareDependentPowerShellModules @splat

                $clearExisting = $false
            }
        }

        $_buildDirectory = $ProjectDirectory
        $_handler = $Handler
    }

    if (!([System.IO.Path]::IsPathRooted($OutputPackage)))
    {
        $OutputPackage = Join-Path -Path $pwd -ChildPath $OutputPackage
        Write-Host "Resolved full output package path as $OutputPackage"
    }

    Write-Host "Creating deployment package at $OutputPackage"

    _packageProject -OutputPackage $OutputPackage -BuildDirectory $_buildDirectory -FunctionArchitecture $Architecture

    if ($PSCmdlet.ParameterSetName -eq 'PackageScript')
    {
        Write-Host "When deploying this package to AWS Lambda you will need to specify the function handler. The handler for this package is: $_handler. To request Lambda to invoke a specific PowerShell function in your script specify the name of the PowerShell function in the environment variable $AwsPowerShellFunctionEnvName when publishing the package."

        # Resolve-Path added to fix relative paths and improve PathToPackage output
        [PSCustomObject][ordered]@{
            LambdaHandler                   = $_handler
            PathToPackage                   = Resolve-Path -Path $OutputPackage
            PowerShellFunctionHandlerEnvVar = 'AWS_POWERSHELL_FUNCTION_HANDLER'
        }

        if($deleteStagingDirectory)
        {
            Write-Verbose -Message "Removing staging directory $_buildDirectory"
            Remove-Item -Path $_buildDirectory -Recurse -Force       
        }        
    }
}
# SIG # Begin signature block
# MIIufgYJKoZIhvcNAQcCoIIubzCCLmsCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCBk1pGYsXmM8eO
# B4HN3xmoHC97ol3+PLV9M1Y8gI7Yj6CCE+owggXAMIIEqKADAgECAhAP0bvKeWvX
# +N1MguEKmpYxMA0GCSqGSIb3DQEBCwUAMGwxCzAJBgNVBAYTAlVTMRUwEwYDVQQK
# EwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20xKzApBgNV
# BAMTIkRpZ2lDZXJ0IEhpZ2ggQXNzdXJhbmNlIEVWIFJvb3QgQ0EwHhcNMjIwMTEz
# MDAwMDAwWhcNMzExMTA5MjM1OTU5WjBiMQswCQYDVQQGEwJVUzEVMBMGA1UEChMM
# RGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSEwHwYDVQQD
# ExhEaWdpQ2VydCBUcnVzdGVkIFJvb3QgRzQwggIiMA0GCSqGSIb3DQEBAQUAA4IC
# DwAwggIKAoICAQC/5pBzaN675F1KPDAiMGkz7MKnJS7JIT3yithZwuEppz1Yq3aa
# za57G4QNxDAf8xukOBbrVsaXbR2rsnnyyhHS5F/WBTxSD1Ifxp4VpX6+n6lXFllV
# cq9ok3DCsrp1mWpzMpTREEQQLt+C8weE5nQ7bXHiLQwb7iDVySAdYyktzuxeTsiT
# +CFhmzTrBcZe7FsavOvJz82sNEBfsXpm7nfISKhmV1efVFiODCu3T6cw2Vbuyntd
# 463JT17lNecxy9qTXtyOj4DatpGYQJB5w3jHtrHEtWoYOAMQjdjUN6QuBX2I9YI+
# EJFwq1WCQTLX2wRzKm6RAXwhTNS8rhsD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3bI++MqtlXaycswHpwG9d3KtGRb
# VA16lT7xv/xrn/sXhLTX5vrkLedhvs2/hd40Lxuedq22Dwh1dgL4zvzVx7YF37AM
# 4NUUDKnzIBLfbfNGrgfS+0BggChyfxYUXM4Ek3lAsQTSxAc5Lffs28FN40JYSWNF
# ZB8Hmzvs2FF539zF26sh5wokH5KsntkK0QmBr/GaJPTBIei/cR5bAnvzwlQkU7tn
# yOQ/64tJdNBrGiGPcXEch3Kx9BPm18pPQ4cQF04AzJ/1pYfimTSluHyff0lSlfVx
# SbqR4duaFiZzbENKl6LwlUtkdhFjEewXZJ8GwA9tAOUlUI8VRGaPT08M2hp+Y3DZ
# sh39aHmjtycHnwcyAihLocdZp3dRoBEXIT9lxPzF9LzrBgPpaxe7b69z7xa6kyjW
# qIBIG6FrKxU5yYarhlbdjGiabF53jCiHjVnfs4XckFMdVdR21koKmkLzWx/Z1elD
# TaY=
# SIG # End signature block
tools\AWSLambdaPSCore\Public\Publish-AWSPowerShellLambda.ps1
<#
    .SYNOPSIS
    Publishes (deploys) a PowerShell script or script project as an AWS Lambda Function.

    .DESCRIPTION
    PowerShell scripts are deployed to AWS Lambda as a .NET Core package bundle. For standalone script files this cmdlet will
    create a temporary .NET Core C# project that will include the specified PowerShell script and any required PowerShell modules.
    The C# project also includes code to bootstrap the PowerShell runtime and execute the Lambda function.

    The cmdlet can also be used to publish a script project to AWS Lambda. Using the project based workflow is for advanced use
    cases when you need more control over how the script is loaded or need to include additional files. If you just need to deploy
    a single script consider using the simpler script based workflow.

    When publishing a project-based script function many of the configuration parameters can be specified in a configuration file
    in your project named aws-lambda-tools-defaults.json. If your script project was generated using the New-AWSPowerShellLambda
    cmdlet a default version of this file will have been created for you. The following cmdlet parameters can take their values
    from the aws-lambda-tools-defaults.json file:

    * DeadLetterQueueArn
    * EnvironmentVariable
    * Handler
    * Memory
    * Name
    * Layer
    * IAMRoleArn
    * SecurityGroup
    * Subnet
    * Timeout
    * KmsKeyArn
    * Profile
    * Region
    * Tag
    * TracingMode

    .PARAMETER DeadLetterQueue
    Optional, target ARN of an SNS topic or SQS Queue for the Dead Letter Queue.

    .PARAMETER DisableInteractive
    Do not prompt for missing function configuration values required for successful deployment to AWS Lambda.

    .PARAMETER DisableModuleRestore
    Skip restoring any required PowerShell modules when deploying a project.

    .PARAMETER EnvironmentVariable
    Collection of key=value environment variables to be set for the function when it executes inside AWS Lambda.

    .PARAMETER Handler
    The string that identifies the entry point in the Lambda package bundle.

    .PARAMETER KmsKeyArn
    KMS Key ARN of a customer key used to encrypt the function's environment variables.

    .PARAMETER Memory
    The amount of memory, in MB, your Lambda function is given when it executes inside AWS Lambda.

    .PARAMETER Architecture
    The architecture of the Lambda function. Valid values: x86_64 or arm64. Default is x86_64

    .PARAMETER Layer
    The Lambda layers to include with the Lambda function.

    .PARAMETER ModuleRepository
    Custom repositories to use when downloading modules to satisfy your script's declared dependencies.

    .PARAMETER Name
    The name of the AWS Lambda function that will execute the PowerShell script.

    .PARAMETER PowerShellFunctionHandler
    The name of the specific PowerShell function to be invoked when your Lambda function executes. The default
    behavior is to use the script in its entirety as the function handler. The name of the function to run, if
    specified, is communicated to Lambda using an environment variable named AWS_POWERSHELL_FUNCTION_HANDLER.

    .PARAMETER PowerShellSdkVersion
    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

    .PARAMETER ProfileName
    The AWS credentials profile to use when publishing to AWS Lambda. If not set environment credentials will be used.

    .PARAMETER AWSAccessKeyId
    The AWS access key id. Used when setting credentials explicitly instead of using ProfileName.

    .PARAMETER AWSSecretKey
    The AWS secret key. Used when setting credentials explicitly instead of using ProfileName.

    .PARAMETER AWSSessionToken
    The AWS session token. Used when setting credentials explicitly instead of using ProfileName.

    .PARAMETER ProjectDirectory
    The directory containing the AWS Lambda PowerShell project to publish.

    .PARAMETER PublishNewVersion
    Publish a new version as an atomic operation.

    .PARAMETER Region
    The region to connect to AWS services, if not set region will be detected from the environment.

    .PARAMETER IAMRoleArn
    The IAM role ARN that Lambda assumes when it executes your function.

    .PARAMETER S3Bucket
    S3 bucket to upload the build output.

    .PARAMETER S3KeyPrefix
    S3 key prefix for the build output.

    .PARAMETER StagingDirectory
    Optional parameter to set the directory where the AWS Lambda package bundle for a standalone script deployment
    will be created. If not set the system temp directory will be used.

    .PARAMETER ScriptPath
    The path to the PowerShell script file to be published to AWS Lambda.

    .PARAMETER SecurityGroup
    List of security group ids if your function references resources in a VPC.

    .PARAMETER Subnet
    List of subnet ids if your function references resources in a VPC.

    .PARAMETER Timeout
    The function execution timeout in seconds.

    .PARAMETER Tag
    Tags applied to the function.

    .PARAMETER TracingMode
    Configures when AWS X-Ray should trace the function. Valid values: PassThrough or Active.

    .EXAMPLE
    Publish-AWSPowerShellLambda -Name S3CleanupFunction -ScriptPath cleanup-s3-bucket.ps1

    This example creates a package bundle with the script and any required PowerShell modules and deploys the bundle to AWS Lambda.
    AWS Credentials and region will be determined by the environment running the cmdlet.

    .EXAMPLE
    Publish-AWSPowerShellLambda -Name S3CleanupFunction -ScriptPath cleanup-s3-bucket.ps1 -Profile beta -Region us-west-2

    In this example the profile to find AWS credentials and the AWS region are set explicitly.

    .EXAMPLE
    Publish-AWSPowerShellLambda -Name SampleLambda -ScriptPath sample-lambda.ps1 -EnvironmentVariable @{'TABLE_NAME'='MyDynamoDBTable'}

    This example creates a package bundle with the script and any required PowerShell modules and deploys the bundle to AWS Lambda.
    AWS Credentials and region will be determined by the environment running the cmdlet.

    The deployed Lambda Function will include the Environment Variable "TABLE_NAME" with the value of "MyDynamoDBTable".
#>
function Publish-AWSPowerShellLambda
{
    [CmdletBinding(DefaultParameterSetName = 'DeployScript')]
    param
    (
        [Parameter(Mandatory = $true,
            ParameterSetName = 'DeployScript',
            HelpMessage = 'The name of the AWS Lambda function that will execute the PowerShell script.')]
        [Parameter(ParameterSetName = 'DeployProject')]
        [string]$Name,

        [Parameter(Mandatory = $true,
            ParameterSetName = 'DeployScript',
            HelpMessage = 'The path to the PowerShell script to be published to AWS Lambda.')]
        [string]$ScriptPath,

        [Parameter(ParameterSetName = 'DeployScript')]
        [string]$StagingDirectory,

        [Parameter(Mandatory = $true,
            ParameterSetName = 'DeployProject',
            HelpMessage = 'The path to the PowerShell project to be published to AWS Lambda.')]
        [string]$ProjectDirectory,

        [Parameter(ParameterSetName = 'DeployProject')]
        [string]$Handler,

        [Parameter(ParameterSetName = 'DeployProject')]
        [switch]$DisableModuleRestore,

        [Parameter()]
        [string]$PowerShellFunctionHandler,

        [Parameter()]
        [string]$ProfileName,

        [Parameter()]
        [string]$AWSAccessKeyId,

        [Parameter()]
        [string]$AWSSecretKey,

        [Parameter()]
        [string]$AWSSessionToken,

        [Parameter()]
        [string]$Region,

        [Parameter()]
        [string]$IAMRoleArn,

        [Parameter()]
        [int]$Memory,

        [Parameter()]
        [ValidateSet('x86_64', 'arm64')]
        [string]$Architecture,

        [Parameter()]
        [int]$Timeout,

        [Parameter()]
        [Switch]$PublishNewVersion,

        [Parameter()]
        [Hashtable]$EnvironmentVariable,

        [Parameter()]
        [string]$KmsKeyArn,

        [Parameter()]
        [string[]]$Layer,

        [Parameter()]
        [string[]]$Subnet,

        [Parameter()]
        [string[]]$SecurityGroup,

        [Parameter()]
        [string]$DeadLetterQueueArn,

        [Parameter()]
        [ValidateSet('Active', 'PassThrough')]
        [string]$TracingMode,

        [Parameter()]
        [string]$S3Bucket,

        [Parameter()]
        [string]$S3KeyPrefix,

        [Parameter()]
        [Hashtable]$Tag,

        [Parameter()]
        [string[]]$ModuleRepository,

        [Parameter(ParameterSetName = 'DeployScript')]
        [string]$PowerShellSdkVersion,

        [Parameter()]
        [Switch]$DisableInteractive
    )

    _validateDotnetInstall

    # If staging directory is a new temp directory then delete the stage directory after publishing completes
    $deleteStagingDirectory = $false

    if ($PSCmdlet.ParameterSetName -eq 'DeployScript')
    {
        if (!(Test-Path -Path $ScriptPath))
        {
            throw "Script $ScriptPath does not exist."
        }

        if (!($StagingDirectory))
        {
            $deleteStagingDirectory = $true
        }

        # Creates and returns an updated StagingDirectory with the ScriptName inside it
        $_name = [System.IO.Path]::GetFileNameWithoutExtension($ScriptPath)
        $stagingSplat = @{
            Name             = $_name
            StagingDirectory = $StagingDirectory
        }
        $StagingDirectory = _createStagingDirectory @stagingSplat

        $_scriptPath = (Resolve-Path -Path $ScriptPath).Path
        $_buildDirectory = (Resolve-Path -Path $StagingDirectory).Path

        $splat = @{
            ProjectName = $Name
            ScriptFile  = [System.IO.Path]::GetFileName($_scriptPath)
            Directory   = $_buildDirectory
            QuietMode   = $false
            PowerShellSdkVersion = $PowerShellSdkVersion
        }
        _addPowerShellLambdaProjectContent @splat

        Write-Host 'Copying PowerShell script to staging directory'
        Copy-Item -Path $_scriptPath -Destination $_buildDirectory

        $splat = @{
            Script           = $_scriptPath
            ProjectDirectory = $_buildDirectory
            ClearExisting    = $true
            ModuleRepository = $ModuleRepository
        }
        _prepareDependentPowerShellModules @splat

        $namespaceName = _makeSafeNamespaceName $Name
        $_handler = "$Name::$namespaceName.Bootstrap::ExecuteFunction"
    }
    else
    {
        if (!($ProjectDirectory))
        {
            $ProjectDirectory = $pwd.Path
        }

        if (!(Test-Path -Path $ProjectDirectory))
        {
            throw "Project directory $ProjectDirectory does not exist."
        }

        if (!($DisableModuleRestore))
        {
            $clearExisting = $true
            Get-ChildItem -Path $ProjectDirectory\*.ps1 | ForEach-Object {
                $splat = @{
                    Script           = $_.FullName
                    ProjectDirectory = $ProjectDirectory
                    ClearExisting    = $clearExisting
                    ModuleRepository = $ModuleRepository
                }
                _prepareDependentPowerShellModules @splat
                $clearExisting = $false
            }
        }

        $_buildDirectory = $ProjectDirectory
        $_handler = $Handler
    }

    Write-Host "Deploying to AWS Lambda"
    $splat = @{
        FunctionName           = $Name
        FunctionHandler        = $_handler
        PowerShellFunction     = $PowerShellFunctionHandler
        Profile                = $ProfileName
        AWSAccessKeyId         = $AWSAccessKeyId
        AWSSecretKey           = $AWSSecretKey
        AWSSessionToken        = $AWSSessionToken
        Region                 = $Region
        FunctionRole           = $IAMRoleArn
        FunctionMemory         = $Memory
        FunctionArchitecture   = $Architecture
        FunctionLayer          = $Layer
        FunctionTimeout        = $Timeout
        PublishNewVersion      = $PublishNewVersion
        EnvironmentVariables   = $EnvironmentVariable
        KmsKeyArn              = $KmsKeyArn
        FunctionSubnets        = $Subnet
        FunctionSecurityGroups = $SecurityGroup
        DeadLetterQueueArn     = $DeadLetterQueueArn
        TracingMode            = $TracingMode
        S3Bucket               = $S3Bucket
        S3KeyPrefix            = $S3KeyPrefix
        Tags                   = $Tag
        DisableInteractive     = $DisableInteractive
        BuildDirectory         = $_buildDirectory
    }
    _deployProject @splat

    if($deleteStagingDirectory)
    {
        Write-Verbose -Message "Removing staging directory $_buildDirectory"
        Remove-Item -Path $_buildDirectory -Recurse -Force
    }
}
# SIG # Begin signature block
# MIIufQYJKoZIhvcNAQcCoIIubjCCLmoCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBHDsUEUcGY8taQ
# Tr46RvohOLF7b50273yKPFiFqZ03lKCCE+owggXAMIIEqKADAgECAhAP0bvKeWvX
# +N1MguEKmpYxMA0GCSqGSIb3DQEBCwUAMGwxCzAJBgNVBAYTAlVTMRUwEwYDVQQK
# EwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20xKzApBgNV
# BAMTIkRpZ2lDZXJ0IEhpZ2ggQXNzdXJhbmNlIEVWIFJvb3QgQ0EwHhcNMjIwMTEz
# MDAwMDAwWhcNMzExMTA5MjM1OTU5WjBiMQswCQYDVQQGEwJVUzEVMBMGA1UEChMM
# RGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tM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AYMBYEFGbwKzLCwskPgl3OqorJxk8ZnM9AMC8GCSqGSIb3DQEJ
# BDEiBCCfexC4MpYpmqavcdCnHYVP04Gq9N3C9qwbXPFyUOYACDA3BgsqhkiG9w0B
# CRACLzEoMCYwJDAiBCDS9uRt7XQizNHUQFdoQTZvgoraVZquMxavTRqa1Ax4KDAN
# BgkqhkiG9w0BAQEFAASCAgAyzpYQKjxYARGWIkKovgo7fpLlITeN7AyKhgkcGrYI
# dA9NbJwoOz++y3vmhFKKOSfxmtXe73Hjc/Y9Z+U9SXs7S8A/eWfcj/VqKyiNcODc
# OlJd40wXvJIsshkBlaLRlN8aFgFRrnu+7CH7kT08bkRPM8T8cIcUZVnDnHICf5J2
# LcLnAhkxpatJ6mo4O+5CGQZerPp+pyr+XxU7SsuxraK8LsQMDlw5VY2mNPBILTy4
# y0si5wZiV7VCvG/quHXzD6iZ8yiMTnP1wQC0Va6y5Y1K7l265kZVHX6HAmJycT9v
# X22LvKjkBKdcOR+bsmUVP4ln45xZbeWReJ4XbHH5Y+DierHAgCxar3YQWm2pbz+y
# 3bWh4VfsFyUo7oKCQ7+1CHLZggAPvYx0gP5E5IrPP9lcyGk8eu0SgT91xwlZRp/6
# +JhdA1MrPZN1NZj234XkKM5oMhYA4L64cpYBx6nT4lPv6FdjZzZ/GDuMZokEqnVQ
# cqtSE4dYgmqXcQSKBHrbj9khVUn7PgiQ9QV3rR8quIG7DNM0DJH05Jq3YHlKoJXo
# r1+Arc1ly2nUhcqcUgLyII5nzOYMZcs2kkkeqZ+PY6G10wxhlXu+V8r3aAiAVefZ
# MU7zLeiOGf6nwzHM5Iw+ELeIKOAqBYulaqV3Vd77lgTjydyW9QAHstdgCKkLlU71
# 0A==
# SIG # End signature block
tools\AWSLambdaPSCore\Templates\Blueprints\aws-lambda-tools-defaults.txt
{
    "profile"     : "CONFIGURED_PROFILE",
    "region"      : "CONFIGURED_REGION",
    "configuration" : "Release",
    "function-runtime" : "dotnet6",
    "function-memory-size" : DEFAULT_MEMORY,
    "function-timeout"     : DEFAULT_TIMEOUT,
    "function-handler"     : "PROJECT_NAME::PROJECT_NAME.Bootstrap::ExecuteFunction",
    "function-name"        : "",
    "function-role"        : "",
    "tracing-mode"         : "",
    "environment-variables" : "",
    "apply-defaults"        : true
}
tools\AWSLambdaPSCore\Templates\Blueprints\Basic\basic.ps1.txt
# PowerShell script file to be executed as a AWS Lambda function. 
# 
# When executing in Lambda the following variables will be predefined.
#   $LambdaInput - A PSObject that contains the Lambda function input data.
#   $LambdaContext - An Amazon.Lambda.Core.ILambdaContext object that contains information about the currently running Lambda environment.
#
# The last item in the PowerShell pipeline will be returned as the result of the Lambda function.
#
# To include PowerShell modules with your Lambda function, like the AWS.Tools.S3 module, add a "#Requires" statement
# indicating the module and version. If using an AWS.Tools.* module the AWS.Tools.Common module is also required.

#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='4.1.518'}

# Uncomment to send the input event to CloudWatch Logs
# Write-Host (ConvertTo-Json -InputObject $LambdaInput -Compress -Depth 5)
tools\AWSLambdaPSCore\Templates\Blueprints\Basic\readme.txt
This sample creates an empty script file for implementing a Lambda function written
in PowerShell.

The script has a Requires statement for the AWS.Tools.Common as an example for how to declare modules on
which your function is dependent and that will be bundled with your function on
deployment. If you do not need to use cmdlets from this module you can safely delete
this statement.
tools\AWSLambdaPSCore\Templates\Blueprints\bootstrap.cs.txt
using Amazon.Lambda.PowerShellHost;

namespace NAMESPACE_NAME
{
    public class Bootstrap : PowerShellFunctionHost
    {
        public Bootstrap() : base("SCRIPT_FILE")
        {
        }
    }
}
tools\AWSLambdaPSCore\Templates\Blueprints\CloudFormationCustomResource\cloudformationcustomresource.ps1.txt
# PowerShell script file to be executed as a AWS Lambda function.
#
# When executing in Lambda the following variables will be predefined.
#   $LambdaInput - A PSObject that contains the Lambda function input data.
#   $LambdaContext - An Amazon.Lambda.Core.ILambdaContext object that contains information about the currently running Lambda environment.
#
# The last item in the PowerShell pipeline will be returned as the result of the Lambda function.
#
# To include PowerShell modules with your Lambda function, like the AWS.Tools.S3 module, add a "#Requires" statement
# indicating the module and version. If using an AWS.Tools.* module the AWS.Tools.Common module is also required.

#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='4.1.518'}

# Uncomment to send the input event to CloudWatch Logs
# Write-Host (ConvertTo-Json -InputObject $LambdaInput -Compress -Depth 5)

$CFNEvent = if ($null -ne $LambdaInput.Records) {
    Write-Host 'Message received via SNS - Parsing out CloudFormation event'
    $LambdaInput.Records[0].Sns.Message
}
else {
    Write-Host 'Event received directly from CloudFormation'
    $LambdaInput
}
$body = @{
    # We'll assume success and overwrite if anything fails in line to avoid code duplication
    Status             = "SUCCESS"
    Reason             = "See the details in CloudWatch Log Stream:`n[Group] $($LambdaContext.LogGroupName)`n[Stream] $($LambdaContext.LogStreamName)"
    PhysicalResourceId = $LambdaContext.LogStreamName
    StackId            = $CFNEvent.StackId
    RequestId          = $CFNEvent.RequestId
    LogicalResourceId  = $CFNEvent.LogicalResourceId
}
Write-Host "Processing RequestType [$($CFNEvent.RequestType)]"
try {
    # If you want to return data back to CloudFormation, add the Data property to the body with the value as a hashtable. The hashtable keys will be the retrievable attributes when using Fn::GetAtt against the custom resource in your CloudFormation template:
    #    $body.Data = @{Secret = $null}
    switch ($CFNEvent.RequestType) {
        Create {
            # Add Create request code here
        }
        Update {
            # Add Update request code here
        }
        Delete {
            # Add Delete request code here
        }
    }
}
catch {
    Write-Error $_
    $body.Status = "FAILED"
}
finally {
    try {
        Write-Host "Sending response back to CloudFormation"
        Invoke-WebRequest -Uri $([Uri]$CFNEvent.ResponseURL) -Method Put -Body $($body | ConvertTo-Json -Depth 5)
    }
    catch {
        Write-Error $_
    }
}
tools\AWSLambdaPSCore\Templates\Blueprints\CloudFormationCustomResource\readme.txt
This sample creates a Lambda function written in PowerShell that processes custom
resource events from CloudFormation. It includes a Switch statement with placeholders
for the 3 different Request Types (Create, Update and Delete) that CloudFormation
sends. It also checks the event payload to see if CloudFormation delivered the event
via SNS (useful in case cross-account custom resources are in place) or if
CloudFormation sent the event directly to the Lambda. If the event is from SNS, it
will parse out the CloudFormation event information before processing the request type.

Once the event has been processed, it will send the results back to CloudFormation
via Invoke-WebRequest using the pre-signed URL sent with the original event.

The script contains a Requires statement for the latest version of the AWS Tools for
PowerShell module. If you modify this example to not need cmdlets from that
module you can safely delete this statement.
tools\AWSLambdaPSCore\Templates\Blueprints\CodeCommitTrigger\codecommittrigger.ps1.txt
# PowerShell script file to be executed as a AWS Lambda function.
#
# When executing in Lambda the following variables will be predefined.
#   $LambdaInput - A PSObject that contains the Lambda function input data.
#   $LambdaContext - An Amazon.Lambda.Core.ILambdaContext object that contains information about the currently running Lambda environment.
#
# The last item in the PowerShell pipeline will be returned as the result of the Lambda function.
#
# To include PowerShell modules with your Lambda function, like the AWS.Tools.S3 module, add a "#Requires" statement
# indicating the module and version. If using an AWS.Tools.* module the AWS.Tools.Common module is also required.

#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='4.1.518'}

# Uncomment to send the input event to CloudWatch Logs
# Write-Host (ConvertTo-Json -InputObject $LambdaInput -Compress -Depth 5)

# A CodeCommit Trigger can receive multiple records per execution
foreach ($record in $LambdaInput.Records) {
    # Sample properties of the CodeCommit Record
    $commitId = $record.codecommit.references[0].commit
    $commitRefs = $record.codecommit.references[0].ref
    $customData = $record.customData

    # Perform your work here
}
tools\AWSLambdaPSCore\Templates\Blueprints\CodeCommitTrigger\readme.txt
This sample creates a Lambda function written in PowerShell that can be subscribed
as a Code Commit trigger.

The script has a Requires statement for the latest version of the AWS Tools for
PowerShell module. If you modify this example and it does not need cmdlets from that
module you can safely delete this statement.
tools\AWSLambdaPSCore\Templates\Blueprints\DetectLabels\detectlabels.ps1.txt
# PowerShell script file to be executed as a AWS Lambda function.
#
# When executing in Lambda the following variables will be predefined.
#   $LambdaInput - A PSObject that contains the Lambda function input data.
#   $LambdaContext - An Amazon.Lambda.Core.ILambdaContext object that contains information about the currently running Lambda environment.
#
# The last item in the PowerShell pipeline will be returned as the result of the Lambda function.
#
# To include PowerShell modules with your Lambda function, like the AWS.Tools.S3 module, add a "#Requires" statement
# indicating the module and version. If using an AWS.Tools.* module the AWS.Tools.Common module is also required.

#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='4.1.518'}
#Requires -Modules @{ModuleName='AWS.Tools.Rekognition';ModuleVersion='4.1.518'}
#Requires -Modules @{ModuleName='AWS.Tools.S3';ModuleVersion='4.1.518'}

# Uncomment to send the input event to CloudWatch Logs
# Write-Host (ConvertTo-Json -InputObject $LambdaInput -Compress -Depth 5)

$imageExtensions = @(".jpg",".jpeg",".png",".gif")

foreach ($record in $LambdaInput.Records) {
    $bucket = $record.s3.bucket.name
    $key = $record.s3.object.key

    Write-Host "Processing event for: bucket = $bucket, key = $key"

    $ext = [System.IO.Path]::GetExtension($key)
    if ($imageExtensions.Contains($ext)) {

        $confidence = $env:MinConfidence
        if ($confidence) {
            Write-Host "MinConfidence environment variable set to $confidence%"
        } else {
            Write-Host "MinConfidence environment variable not set, defaulting to 70%"
            $confidence = 70
        }

        Write-Host "Inspecting for labels with confidence equal or higher than $confidence%"
        $labels = (Find-REKLabel -ImageBucket $bucket -ImageName $key -MinConfidence $confidence).Labels  | Select -First 10
        Write-Host 'Labels Found ' $labels.Count

        Write-Host "Posting up to 10 labels to the object as tags"

        $tags = @()
        $labels | ForEach-Object {

            Write-Host $_.Name '('$_.Confidence')'

            $tag = New-Object Amazon.S3.Model.Tag
            $tag.Key = $_.Name
            $tag.Value = $_.Confidence.ToString()
            $tags += $tag
        }

        Write-S3ObjectTagSet -BucketName $bucket -Key $key -Tagging_TagSet $tags
    } else {
        Write-Host "Skipped processing: object does not match a known image extension ($imageExtensions -join ',')"
    }
}
tools\AWSLambdaPSCore\Templates\Blueprints\DetectLabels\readme.txt
This sample creates a Lambda function written in PowerShell that responds to an
event from S3 when a new object, or object version, is created in a bucket. The
script then uses the Amazon Rekognition service to detect objects of interest in
the image (called 'labels') with a minimum confidence level which it then applies
(up to maximum of 10) as tags to the S3 object. The confidence level can be customized
by setting the environment variable MinConfidence to the required value.

To work with Amazon S3 and Amazon Rekognition the script uses cmdlets from the
AWS.Tools.S3 and AWS.Tools.Rekognition modules. To run successfully the
function must be deployed with a role allowing access to the following service operations:

rekognition:DetectLabels
s3:PutObjectTagging

The script contains a Requires statement for the latest version of the AWS Tools for
PowerShell module. If you modify this example to not need cmdlets from that
module you can safely delete this statement.
tools\AWSLambdaPSCore\Templates\Blueprints\KinesisStreamProcessor\kinesisstreamprocessor.ps1.txt
# PowerShell script file to be executed as a AWS Lambda function.
#
# When executing in Lambda the following variables will be predefined.
#   $LambdaInput - A PSObject that contains the Lambda function input data.
#   $LambdaContext - An Amazon.Lambda.Core.ILambdaContext object that contains information about the currently running Lambda environment.
#
# The last item in the PowerShell pipeline will be returned as the result of the Lambda function.
#
# To include PowerShell modules with your Lambda function, like the AWS.Tools.S3 module, add a "#Requires" statement
# indicating the module and version. If using an AWS.Tools.* module the AWS.Tools.Common module is also required.

#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='4.1.518'}

# Uncomment to send the input event to CloudWatch Logs
# Write-Host (ConvertTo-Json -InputObject $LambdaInput -Compress -Depth 5)

# A Kinesis Stream processor will receive multiple records per execution
foreach ($record in $LambdaInput.Records) {
    # A Kinesis Stream Record is UTF8 Base64 encoded
    $bytes = [System.Convert]::FromBase64String($record.kinesis.data)
    $data = [System.Text.Encoding]::UTF8.GetString($bytes)

    # Perform your work to process the Kinesis Stream data record
    # Do work against $data here
}
tools\AWSLambdaPSCore\Templates\Blueprints\KinesisStreamProcessor\readme.txt
This sample creates a Lambda function written in PowerShell that can be subscribed
to a Kinesis Stream to process each record.

The script has a Requires statement for the AWS.Tools.Common as an example for how to declare modules on
which your function is dependent and that will be bundled with your function on
deployment. If you do not need to use cmdlets from this module you can safely delete
this statement.
tools\AWSLambdaPSCore\Templates\Blueprints\projectfile.csproj.txt
<Project Sdk="Microsoft.NET.Sdk">
    <PropertyGroup>
        <TargetFramework>net8.0</TargetFramework>
        <GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
    </PropertyGroup>

    <ItemGroup>
        <Content Include="SCRIPT_FILE">
            <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
        </Content>
        <Content Include="./Modules/**">
            <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
        </Content>
    </ItemGroup>

    <ItemGroup>
        <PackageReference Include="Microsoft.PowerShell.SDK" Version="POWERSHELL_SDK_VERSION" />

        <PackageReference Include="Amazon.Lambda.Core" Version="2.3.0" />
        <PackageReference Include="Amazon.Lambda.PowerShellHost" Version="3.0.1" />
    </ItemGroup>
</Project>
tools\AWSLambdaPSCore\Templates\Blueprints\ps-lambda-blueprint-manifest.json
{
  "manifestVersion": 1,
  "blueprints": [
    {
      "name": "Basic",
      "description": "Bare bones script",
      "content": [
          {
            "source": "basic.ps1.txt",
            "output": "{basename}.ps1",
            "filetype": "lambdaFunction"
          },
          {
            "source": "readme.txt",
            "output": "readme.txt"
          }
      ]
    },
    {
      "name": "CloudFormationCustomResource",
      "description": "PowerShell handler base for use with CloudFormation custom resource events",
      "content": [
          {
            "source": "cloudformationcustomresource.ps1.txt",
            "output": "{basename}.ps1",
            "filetype": "lambdaFunction"
          },
          {
            "source": "readme.txt",
            "output": "readme.txt"
          }
      ]
    },
    {
      "name": "CodeCommitTrigger",
      "description": "Script to process AWS CodeCommit Triggers",
      "content": [
          {
            "source": "codecommittrigger.ps1.txt",
            "output": "{basename}.ps1",
            "filetype": "lambdaFunction"
          },
          {
            "source": "readme.txt",
            "output": "readme.txt"
          }
      ]
    },
    {
      "name": "DetectLabels",
      "description": "Use Amazon Rekognition service to tag image files in S3 with detected labels.",
      "content": [
          {
            "source": "detectlabels.ps1.txt",
            "output": "{basename}.ps1",
            "filetype": "lambdaFunction"
          },
          {
            "source": "readme.txt",
            "output": "readme.txt"
          }
      ]
    },
    {
      "name": "KinesisStreamProcessor",
      "description": "Script to be process a Kinesis Stream",
      "content": [
          {
            "source": "kinesisstreamprocessor.ps1.txt",
            "output": "{basename}.ps1",
            "filetype": "lambdaFunction"
          },
          {
            "source": "readme.txt",
            "output": "readme.txt"
          }
      ]
    },
    {
      "name": "S3Event",
      "description": "Script to process S3 events",
      "content": [
          {
            "source": "s3event.ps1.txt",
            "output": "{basename}.ps1",
            "filetype": "lambdaFunction"
          },
          {
            "source": "readme.txt",
            "output": "readme.txt"
          }
      ]
    },
    {
      "name": "S3EventToSNS",
      "description": "Script to process SNS Records triggered by S3 events",
      "content": [
          {
            "source": "s3tosns.ps1.txt",
            "output": "{basename}.ps1",
            "filetype": "lambdaFunction"
          },
          {
            "source": "readme.txt",
            "output": "readme.txt"
          }
      ]
    },
    {
      "name": "S3EventToSNSToSQS",
      "description": "Script to process SQS Messages, subscribed to an SNS Topic that is triggered by S3 events",
      "content": [
          {
            "source": "s3tosnstosqs.ps1.txt",
            "output": "{basename}.ps1",
            "filetype": "lambdaFunction"
          },
          {
            "source": "readme.txt",
            "output": "readme.txt"
          }
      ]
    },
    {
      "name": "S3EventToSQS",
      "description": "Script to process SQS Messages triggered by S3 events",
      "content": [
          {
            "source": "s3tosqs.ps1.txt",
            "output": "{basename}.ps1",
            "filetype": "lambdaFunction"
          },
          {
            "source": "readme.txt",
            "output": "readme.txt"
          }
      ]
    },
    {
      "name": "SNSSubscription",
      "description": "Script to be subscribed to an SNS Topic",
      "content": [
          {
            "source": "snssubscription.ps1.txt",
            "output": "{basename}.ps1",
            "filetype": "lambdaFunction"
          },
          {
            "source": "readme.txt",
            "output": "readme.txt"
          }
      ]
    },
    {
      "name": "SNSToSQS",
      "description": "Script to be subscribed to an SQS Queue, that is subscribed to an SNS Topic",
      "content": [
          {
            "source": "snstosqs.ps1.txt",
            "output": "{basename}.ps1",
            "filetype": "lambdaFunction"
          },
          {
            "source": "readme.txt",
            "output": "readme.txt"
          }
      ]
    },
    {
      "name": "SQSQueueProcessor",
      "description": "Script to be subscribed to an SQS Queue",
      "content": [
          {
            "source": "sqsprocessor.ps1.txt",
            "output": "{basename}.ps1",
            "filetype": "lambdaFunction"
          },
          {
            "source": "readme.txt",
            "output": "readme.txt"
          }
      ]
    }
  ]
}
tools\AWSLambdaPSCore\Templates\Blueprints\S3Event\readme.txt
This sample creates a Lambda function written in PowerShell that responds to an
event from S3 when a new object, or object version, is created in a bucket. The
script uses a cmdlet from the AWS.Tools.S3 module to read the object size and 
version and output them to the function logs.

The script has a Requires statement for the AWS.Tools.Common as an example for how to declare modules on
which your function is dependent and that will be bundled with your function on
deployment. If you do not need to use cmdlets from this module you can safely delete
this statement.
tools\AWSLambdaPSCore\Templates\Blueprints\S3Event\s3event.ps1.txt
# PowerShell script file to be executed as a AWS Lambda function.
#
# When executing in Lambda the following variables will be predefined.
#   $LambdaInput - A PSObject that contains the Lambda function input data.
#   $LambdaContext - An Amazon.Lambda.Core.ILambdaContext object that contains information about the currently running Lambda environment.
#
# The last item in the PowerShell pipeline will be returned as the result of the Lambda function.
#
# To include PowerShell modules with your Lambda function, like the AWS.Tools.S3 module, add a "#Requires" statement
# indicating the module and version. If using an AWS.Tools.* module the AWS.Tools.Common module is also required.
#
# The following link contains documentation describing the structure of the S3 event object.
# https://docs.aws.amazon.com/AmazonS3/latest/dev/notification-content-structure.html

#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='4.1.518'}
#Requires -Modules @{ModuleName='AWS.Tools.S3';ModuleVersion='4.1.518'}

# Uncomment to send the input event to CloudWatch Logs
# Write-Host (ConvertTo-Json -InputObject $LambdaInput -Compress -Depth 5)

foreach ($record in $LambdaInput.Records) {
    $bucket = $record.s3.bucket.name
    $key = $record.s3.object.key

    Write-Host "Processing event for: bucket = $bucket, key = $key"

    # TODO: Add logic to handle S3 event record, for example
    $obj = Get-S3Object -Bucket $bucket -Key $key
    Write-Host "Object $key is $($obj.Size) bytes"
}
tools\AWSLambdaPSCore\Templates\Blueprints\S3EventToSNS\readme.txt
This sample creates a Lambda function written in PowerShell that can be subscribed
to an SNS Topic. For this sample, the SNS Topic would be subscribed to S3 Events,
for when a new object, or object version is created in a bucket.

For example: S3 Event -> SNS Topic -> Lambda Function.

The script has a Requires statement for the AWS.Tools.Common as an example for how to declare modules on
which your function is dependent and that will be bundled with your function on
deployment. If you do not need to use cmdlets from this module you can safely delete
this statement.

The script has a Requires statement for the latest version of the AWS Tools for
PowerShell module. If you modify this example to not need cmdlets from that
module you can safely delete this statement.
tools\AWSLambdaPSCore\Templates\Blueprints\S3EventToSNS\s3tosns.ps1.txt
# PowerShell script file to be executed as a AWS Lambda function.
#
# When executing in Lambda the following variables will be predefined.
#   $LambdaInput - A PSObject that contains the Lambda function input data.
#   $LambdaContext - An Amazon.Lambda.Core.ILambdaContext object that contains information about the currently running Lambda environment.
#
# The last item in the PowerShell pipeline will be returned as the result of the Lambda function.
#
# To include PowerShell modules with your Lambda function, like the AWS.Tools.S3 module, add a "#Requires" statement
# indicating the module and version. If using an AWS.Tools.* module the AWS.Tools.Common module is also required.
#
# The following link contains documentation describing the structure of the S3 event object.
# https://docs.aws.amazon.com/AmazonS3/latest/dev/notification-content-structure.html
#
# This example demonstrates how to process an S3 Event that follows the process:
# S3 Event -> SNS Topic -> Lambda Function

#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='4.1.518'}
#Requires -Modules @{ModuleName='AWS.Tools.S3';ModuleVersion='4.1.518'}

# Uncomment to send the input event to CloudWatch Logs
# Write-Host (ConvertTo-Json -InputObject $LambdaInput -Compress -Depth 5)

foreach ($snsRecord in $LambdaInput.Records)
{
    $snsMessage = ConvertFrom-Json -InputObject $snsRecord.Sns.Message
    foreach ($s3Event in $snsMessage.Records)
    {
        $bucket = $s3Event.s3.bucket.name
        $key = $s3Event.s3.object.key

        Write-Host "Processing event for: bucket = $bucket, key = $key"

        # TODO: Add logic to handle S3 event record, for example
        $obj = Get-S3Object -Bucket $bucket -Key $key
        Write-Host "Object $key is $($obj.Size) bytes"
    }
}
tools\AWSLambdaPSCore\Templates\Blueprints\S3EventToSNSToSQS\readme.txt
This sample creates a Lambda function written in PowerShell that can be subscribed
to an SQS Queue. For this sample, the SQS Queue would be subscribed to an SNS Topic,
which would be subscribed to S3 Events, for when a new object, or object version
is created in a bucket.

For example: S3 Event -> SNS Topic -> SQS Queue -> Lambda Function.

The SNS Subscription can be configured for "Raw Message Delivery" or not, this sample
is configured to handle both options.

The script has a Requires statement for the AWS.Tools.Common as an example for how to declare modules on
which your function is dependent and that will be bundled with your function on
deployment. If you do not need to use cmdlets from this module you can safely delete
this statement.

The script has a Requires statement for the latest version of the AWS Tools for
PowerShell module. If you modify this example to not need cmdlets from that
module you can safely delete this statement.
tools\AWSLambdaPSCore\Templates\Blueprints\S3EventToSNSToSQS\s3tosnstosqs.ps1.txt
# PowerShell script file to be executed as a AWS Lambda function.
#
# When executing in Lambda the following variables will be predefined.
#   $LambdaInput - A PSObject that contains the Lambda function input data.
#   $LambdaContext - An Amazon.Lambda.Core.ILambdaContext object that contains information about the currently running Lambda environment.
#
# The last item in the PowerShell pipeline will be returned as the result of the Lambda function.
#
# To include PowerShell modules with your Lambda function, like the AWS.Tools.S3 module, add a "#Requires" statement
# indicating the module and version. If using an AWS.Tools.* module the AWS.Tools.Common module is also required.
#
# The following link contains documentation describing the structure of the S3 event object.
# https://docs.aws.amazon.com/AmazonS3/latest/dev/notification-content-structure.html
#
# This example demonstrates how to process an S3 Event that follows the process:
# S3 Event -> SNS Topic -> SQS Queue -> Lambda Function

#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='4.1.518'}
#Requires -Modules @{ModuleName='AWS.Tools.S3';ModuleVersion='4.1.518'}

# Uncomment to send the input event to CloudWatch Logs
#Write-Host (ConvertTo-Json -InputObject $LambdaInput -Compress -Depth 5)

foreach ($sqsRecord in $LambdaInput.Records)
{
    $sqsRecordBody = ConvertFrom-Json -InputObject $sqsRecord.body

    try
    {
        # If this call works, then the SNS Subscription is configured with
        # "Raw Message Delivery" = "True"
        $snsMessage = ConvertFrom-Json -InputObject $sqsRecordBody.Message
    }
    catch
    {
        # If we hit the catch statement, then the SNS Subscription is configured
        # with "Raw Message Delivery" = "False"
        $snsMessage = $sqsRecordBody
    }

    if ($snsMessage.Records.Count -gt 0)
    {
        # We have an array of SNS Records, lets process them

        foreach ($s3Event in $snsMessage.Records)
        {
            $bucket = $s3Event.s3.bucket.name
            $key = $s3Event.s3.object.key

            Write-Host 'Processing event for:' (ConvertTo-Json -InputObject @{Bucket = $bucket; Key = $key} -Compress)

            # TODO: Add logic to handle S3 event record, for example
            $obj = Get-S3Object -Bucket $bucket -Key $key
            Write-Host "Object $key is $($obj.Size) bytes"
        }
    }
    else
    {
        # We likely have an S3 Test Event, write it out to logs
        Write-Host 'SNS Message:' (ConvertTo-Json -InputObject $snsMessage -Compress)
    }
}
tools\AWSLambdaPSCore\Templates\Blueprints\S3EventToSQS\readme.txt
This sample creates a Lambda function written in PowerShell that can be subscribed
to an SQS Queue. For this sample, the SQS Queue would be subscribed to S3 Events,
for when a new object, or object version is created in a bucket.

For example: S3 Event -> SQS Queue -> Lambda Function.

The script has a Requires statement for the AWS.Tools.Common as an example for how to declare modules on
which your function is dependent and that will be bundled with your function on
deployment. If you do not need to use cmdlets from this module you can safely delete
this statement.

The script has a Requires statement for the latest version of the AWS Tools for
PowerShell module. If you modify this example to not need cmdlets from that
module you can safely delete this statement.
tools\AWSLambdaPSCore\Templates\Blueprints\S3EventToSQS\s3tosqs.ps1.txt
# PowerShell script file to be executed as a AWS Lambda function.
#
# When executing in Lambda the following variables will be predefined.
#   $LambdaInput - A PSObject that contains the Lambda function input data.
#   $LambdaContext - An Amazon.Lambda.Core.ILambdaContext object that contains information about the currently running Lambda environment.
#
# The last item in the PowerShell pipeline will be returned as the result of the Lambda function.
#
# To include PowerShell modules with your Lambda function, like the AWS.Tools.S3 module, add a "#Requires" statement
# indicating the module and version. If using an AWS.Tools.* module the AWS.Tools.Common module is also required.
#
# The following link contains documentation describing the structure of the S3 event object.
# https://docs.aws.amazon.com/AmazonS3/latest/dev/notification-content-structure.html
#
# This example demonstrates how to process an S3 Event that follows the process:
# S3 Event -> SQS Queue -> Lambda Function

#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='4.1.518'}
#Requires -Modules @{ModuleName='AWS.Tools.S3';ModuleVersion='4.1.518'}

# Uncomment to send the input event to CloudWatch Logs
# Write-Host (ConvertTo-Json -InputObject $LambdaInput -Compress -Depth 5)

foreach ($sqsRecord in $LambdaInput.Records)
{
    $sqsRecordBody = ConvertFrom-Json -InputObject $sqsRecord.body
    foreach ($s3Event in $sqsRecordBody.Records)
    {
        $bucket = $s3Event.s3.bucket.name
        $key = $s3Event.s3.object.key

        Write-Host "Processing event for: bucket = $bucket, key = $key"

        # TODO: Add logic to handle S3 event record, for example
        $obj = Get-S3Object -Bucket $bucket -Key $key
        Write-Host "Object $key is $($obj.Size) bytes"
    }
}
tools\AWSLambdaPSCore\Templates\Blueprints\SNSSubscription\readme.txt
This sample creates a Lambda function written in PowerShell that can be subscribed
to an SNS Topic. The script will process each record published to the SNS Topic.

The script has a Requires statement for the AWS.Tools.Common as an example for how to declare modules on
which your function is dependent and that will be bundled with your function on
deployment. If you do not need to use cmdlets from this module you can safely delete
this statement.
tools\AWSLambdaPSCore\Templates\Blueprints\SNSSubscription\snssubscription.ps1.txt
# PowerShell script file to be executed as a AWS Lambda function.
#
# When executing in Lambda the following variables will be predefined.
#   $LambdaInput - A PSObject that contains the Lambda function input data.
#   $LambdaContext - An Amazon.Lambda.Core.ILambdaContext object that contains information about the currently running Lambda environment.
#
# The last item in the PowerShell pipeline will be returned as the result of the Lambda function.
#
# To include PowerShell modules with your Lambda function, like the AWS.Tools.S3 module, add a "#Requires" statement
# indicating the module and version. If using an AWS.Tools.* module the AWS.Tools.Common module is also required.

#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='4.1.518'}

# Uncomment to send the input event to CloudWatch Logs
# Write-Host (ConvertTo-Json -InputObject $LambdaInput -Compress -Depth 5)

# An SNS Subscription can receive multiple SNS records in a single execution.
foreach ($record in $LambdaInput.Records) {
    $subject = $record.Sns.Subject
    $message = $record.Sns.Message
}
tools\AWSLambdaPSCore\Templates\Blueprints\SNSToSQS\readme.txt
This sample creates a Lambda function written in PowerShell that can be subscribed
to an SQS Queue. For this sample, the SQS Queue would be subscribed to an SNS Topic.

For example: SNS Topic -> SQS Queue -> Lambda Function.

Assuming the Lambda function does not throw an exception, the SQS Message will be
removed from the SQS Queue by AWS. For more information, please review "Using AWS
Lambda with Amazon SQS" (https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html).

The script has a Requires statement for the AWS.Tools.Common as an example for how to declare modules on
which your function is dependent and that will be bundled with your function on
deployment. If you do not need to use cmdlets from this module you can safely delete
this statement.
tools\AWSLambdaPSCore\Templates\Blueprints\SNSToSQS\snstosqs.ps1.txt
# PowerShell script file to be executed as a AWS Lambda function.
#
# When executing in Lambda the following variables will be predefined.
#   $LambdaInput - A PSObject that contains the Lambda function input data.
#   $LambdaContext - An Amazon.Lambda.Core.ILambdaContext object that contains information about the currently running Lambda environment.
#
# The last item in the PowerShell pipeline will be returned as the result of the Lambda function.
#
# To include PowerShell modules with your Lambda function, like the AWS.Tools.S3 module, add a "#Requires" statement
# indicating the module and version. If using an AWS.Tools.* module the AWS.Tools.Common module is also required.
#
# This example demonstrates how to process an SNS Message that follows the process:
# SNS topic -> SQS Queue -> Lambda Function

#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='4.1.518'}

# Uncomment to send the input event to CloudWatch Logs
# Write-Host (ConvertTo-Json -InputObject $LambdaInput -Compress -Depth 5)

foreach ($sqsRecord in $LambdaInput.Records)
{
    $snsRecord = ConvertFrom-Json -InputObject $sqsRecord.body

    # TODO: Add logic to process each SNS Record
    Write-Host $snsRecord.Message
}
tools\AWSLambdaPSCore\Templates\Blueprints\SQSQueueProcessor\readme.txt
This sample creates a Lambda function written in PowerShell that can be subscribed
to an SQS Queue.

For example: SQS Queue -> Lambda Function.

Assuming the Lambda function does not throw an exception, the SQS Message will be
removed from the SQS Queue by AWS. For more information, please review "Using AWS
Lambda with Amazon SQS" (https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html).

The script has a Requires statement for the AWS.Tools.Common as an example for how to declare modules on
which your function is dependent and that will be bundled with your function on
deployment. If you do not need to use cmdlets from this module you can safely delete
this statement.
tools\AWSLambdaPSCore\Templates\Blueprints\SQSQueueProcessor\sqsprocessor.ps1.txt
# PowerShell script file to be executed as a AWS Lambda function.
#
# When executing in Lambda the following variables will be predefined.
#   $LambdaInput - A PSObject that contains the Lambda function input data.
#   $LambdaContext - An Amazon.Lambda.Core.ILambdaContext object that contains information about the currently running Lambda environment.
#
# The last item in the PowerShell pipeline will be returned as the result of the Lambda function.
#
# To include PowerShell modules with your Lambda function, like the AWS.Tools.S3 module, add a "#Requires" statement
# indicating the module and version. If using an AWS.Tools.* module the AWS.Tools.Common module is also required.
#
# This example demonstrates how to process an SQS Queue:
# SQS Queue -> Lambda Function

#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='4.1.518'}

# Uncomment to send the input event to CloudWatch Logs
# Write-Host (ConvertTo-Json -InputObject $LambdaInput -Compress -Depth 5)

foreach ($message in $LambdaInput.Records)
{
    # TODO: Add logic to handle each SQS Message
    Write-Host $message.body
    Write-Host $message.messageAttributes
}
tools\chocolateyBeforeModify.ps1
$ErrorActionPreference = 'Stop'

$moduleName = $env:ChocolateyPackageName      # this could be different from package name
Remove-Module -Name $moduleName -Force -ErrorAction SilentlyContinue
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$moduleName = $env:ChocolateyPackageName  # this may be different from the package name and different case
$moduleVersion = $env:ChocolateyPackageVersion

# module may already be installed outside of Chocolatey
Remove-Module -Name $moduleName -Force -ErrorAction SilentlyContinue

$manifestFile = Join-Path -Path $toolsDir -ChildPath "$moduleName\$moduleName.psd1"

$sourcePath = Join-Path -Path $toolsDir -ChildPath "$modulename\*"
$destPath   = Join-Path -Path $env:ProgramFiles -ChildPath "PowerShell\Modules\$moduleName\$moduleVersion"

# if a forced install we need to remove the current files because it will fail otherwise
if (Test-Path ($destPath)) {
    Write-Verbose "Removing existing files in '$destPath'."
    Remove-Item $destPath -Recurse -Force
}

Write-Verbose "Creating destination directory '$destPath' for module."
New-Item -Path $destPath -ItemType Directory -Force -ErrorAction SilentlyContinue | Out-Null

Write-Verbose "Moving '$moduleName' files from '$sourcePath' to '$destPath'."
Move-Item -Path $sourcePath -Destination $destPath -Force

Write-Host "AWSLambdaPSCore module requires, and must be run from, PowerShell Core." -ForegroundColor Cyan
tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop'

$moduleName = $env:ChocolateyPackageName
$sourcePath = Join-Path -Path $env:ProgramFiles -ChildPath "PowerShell\Modules\$moduleName"

Write-Verbose "Removing all version of '$moduleName' from '$sourcePath'."
Remove-Item -Path $sourcePath -Recurse -Force -ErrorAction SilentlyContinue
tools\LICENSE.txt
From https://github.com/aws/aws-lambda-dotnet/blob/master/LICENSE

                                 Apache License
                           Version 2.0, January 2004
                        http://www.apache.org/licenses/

   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

   1. Definitions.

      "License" shall mean the terms and conditions for use, reproduction,
      and distribution as defined by Sections 1 through 9 of this document.

      "Licensor" shall mean the copyright owner or entity authorized by
      the copyright owner that is granting the License.

      "Legal Entity" shall mean the union of the acting entity and all
      other entities that control, are controlled by, or are under common
      control with that entity. For the purposes of this definition,
      "control" means (i) the power, direct or indirect, to cause the
      direction or management of such entity, whether by contract or
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
      outstanding shares, or (iii) beneficial ownership of such entity.

      "You" (or "Your") shall mean an individual or Legal Entity
      exercising permissions granted by this License.

      "Source" form shall mean the preferred form for making modifications,
      including but not limited to software source code, documentation
      source, and configuration files.

      "Object" form shall mean any form resulting from mechanical
      transformation or translation of a Source form, including but
      not limited to compiled object code, generated documentation,
      and conversions to other media types.

      "Work" shall mean the work of authorship, whether in Source or
      Object form, made available under the License, as indicated by a
      copyright notice that is included in or attached to the work
      (an example is provided in the Appendix below).

      "Derivative Works" shall mean any work, whether in Source or Object
      form, that is based on (or derived from) the Work and for which the
      editorial revisions, annotations, elaborations, or other modifications
      represent, as a whole, an original work of authorship. For the purposes
      of this License, Derivative Works shall not include works that remain
      separable from, or merely link (or bind by name) to the interfaces of,
      the Work and Derivative Works thereof.

      "Contribution" shall mean any work of authorship, including
      the original version of the Work and any modifications or additions
      to that Work or Derivative Works thereof, that is intentionally
      submitted to Licensor for inclusion in the Work by the copyright owner
      or by an individual or Legal Entity authorized to submit on behalf of
      the copyright owner. For the purposes of this definition, "submitted"
      means any form of electronic, verbal, or written communication sent
      to the Licensor or its representatives, including but not limited to
      communication on electronic mailing lists, source code control systems,
      and issue tracking systems that are managed by, or on behalf of, the
      Licensor for the purpose of discussing and improving the Work, but
      excluding communication that is conspicuously marked or otherwise
      designated in writing by the copyright owner as "Not a Contribution."

      "Contributor" shall mean Licensor and any individual or Legal Entity
      on behalf of whom a Contribution has been received by Licensor and
      subsequently incorporated within the Work.

   2. Grant of Copyright License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      copyright license to reproduce, prepare Derivative Works of,
      publicly display, publicly perform, sublicense, and distribute the
      Work and such Derivative Works in Source or Object form.

   3. Grant of Patent License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      (except as stated in this section) patent license to make, have made,
      use, offer to sell, sell, import, and otherwise transfer the Work,
      where such license applies only to those patent claims licensable
      by such Contributor that are necessarily infringed by their
      Contribution(s) alone or by combination of their Contribution(s)
      with the Work to which such Contribution(s) was submitted. If You
      institute patent litigation against any entity (including a
      cross-claim or counterclaim in a lawsuit) alleging that the Work
      or a Contribution incorporated within the Work constitutes direct
      or contributory patent infringement, then any patent licenses
      granted to You under this License for that Work shall terminate
      as of the date such litigation is filed.

   4. Redistribution. You may reproduce and distribute copies of the
      Work or Derivative Works thereof in any medium, with or without
      modifications, and in Source or Object form, provided that You
      meet the following conditions:

      (a) You must give any other recipients of the Work or
          Derivative Works a copy of this License; and

      (b) You must cause any modified files to carry prominent notices
          stating that You changed the files; and

      (c) You must retain, in the Source form of any Derivative Works
          that You distribute, all copyright, patent, trademark, and
          attribution notices from the Source form of the Work,
          excluding those notices that do not pertain to any part of
          the Derivative Works; and

      (d) If the Work includes a "NOTICE" text file as part of its
          distribution, then any Derivative Works that You distribute must
          include a readable copy of the attribution notices contained
          within such NOTICE file, excluding those notices that do not
          pertain to any part of the Derivative Works, in at least one
          of the following places: within a NOTICE text file distributed
          as part of the Derivative Works; within the Source form or
          documentation, if provided along with the Derivative Works; or,
          within a display generated by the Derivative Works, if and
          wherever such third-party notices normally appear. The contents
          of the NOTICE file are for informational purposes only and
          do not modify the License. You may add Your own attribution
          notices within Derivative Works that You distribute, alongside
          or as an addendum to the NOTICE text from the Work, provided
          that such additional attribution notices cannot be construed
          as modifying the License.

      You may add Your own copyright statement to Your modifications and
      may provide additional or different license terms and conditions
      for use, reproduction, or distribution of Your modifications, or
      for any such Derivative Works as a whole, provided Your use,
      reproduction, and distribution of the Work otherwise complies with
      the conditions stated in this License.

   5. Submission of Contributions. Unless You explicitly state otherwise,
      any Contribution intentionally submitted for inclusion in the Work
      by You to the Licensor shall be under the terms and conditions of
      this License, without any additional terms or conditions.
      Notwithstanding the above, nothing herein shall supersede or modify
      the terms of any separate license agreement you may have executed
      with Licensor regarding such Contributions.

   6. Trademarks. This License does not grant permission to use the trade
      names, trademarks, service marks, or product names of the Licensor,
      except as required for reasonable and customary use in describing the
      origin of the Work and reproducing the content of the NOTICE file.

   7. Disclaimer of Warranty. Unless required by applicable law or
      agreed to in writing, Licensor provides the Work (and each
      Contributor provides its Contributions) on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
      implied, including, without limitation, any warranties or conditions
      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
      PARTICULAR PURPOSE. You are solely responsible for determining the
      appropriateness of using or redistributing the Work and assume any
      risks associated with Your exercise of permissions under this License.

   8. Limitation of Liability. In no event and under no legal theory,
      whether in tort (including negligence), contract, or otherwise,
      unless required by applicable law (such as deliberate and grossly
      negligent acts) or agreed to in writing, shall any Contributor be
      liable to You for damages, including any direct, indirect, special,
      incidental, or consequential damages of any character arising as a
      result of this License or out of the use or inability to use the
      Work (including but not limited to damages for loss of goodwill,
      work stoppage, computer failure or malfunction, or any and all
      other commercial damages or losses), even if such Contributor
      has been advised of the possibility of such damages.

   9. Accepting Warranty or Additional Liability. While redistributing
      the Work or Derivative Works thereof, You may choose to offer,
      and charge a fee for, acceptance of support, warranty, indemnity,
      or other liability obligations and/or rights consistent with this
      License. However, in accepting such obligations, You may act only
      on Your own behalf and on Your sole responsibility, not on behalf
      of any other Contributor, and only if You agree to indemnify,
      defend, and hold each Contributor harmless for any liability
      incurred by, or claims asserted against, such Contributor by reason
      of your accepting any such warranty or additional liability.

   END OF TERMS AND CONDITIONS

   APPENDIX: How to apply the Apache License to your work.

      To apply the Apache License to your work, attach the following
      boilerplate notice, with the fields enclosed by brackets "{}"
      replaced with your own identifying information. (Don't include
      the brackets!)  The text should be enclosed in the appropriate
      comment syntax for the file format. We also recommend that a
      file or class name and description of purpose be included on the
      same "printed page" as the copyright notice for easier
      identification within third-party archives.

   Copyright {yyyy} {name of copyright owner}

   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.
tools\VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community in verifying that this package's contents are trustworthy.

To verify the files using the project source:

1. Please go to the project source location (https://github.com/aws/aws-lambda-dotnet/tree/master/PowerShell) and download the source files;
3. Use Get-FileHash -Path <FILE TO VERIFY> to get the file hash value from both the built file (from step 1 above) and the file from the package and compare them;

Alternatively you can download the module from the PowerShell Gallery ...

    Save-Module -Name AWSLambdaPSCore -Path <PATH TO DOWNLOAD TO>

... and compare the files from the package against those in the installed module. Again use Get-FileHash -Path <FILE TO VERIFY> to retrieve those hash values.

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
AWS Lambda for PowerShell Core (PowerShell Module) 4.0.3 19 Tuesday, October 15, 2024 Approved
AWS Lambda for PowerShell Core (PowerShell Module) 4.0.2 22 Monday, September 30, 2024 Approved
AWS Lambda for PowerShell Core (PowerShell Module) 4.0.1 76 Thursday, April 25, 2024 Approved
AWS Lambda for PowerShell Core (PowerShell Module) 4.0.0 50 Friday, February 23, 2024 Approved
AWS Lambda for PowerShell Core (PowerShell Module) 3.0.1.0 361 Wednesday, March 30, 2022 Approved
AWS Lambda for PowerShell Core (PowerShell Module) 3.0.0.0 104 Thursday, February 24, 2022 Approved
AWS Lambda for PowerShell Core (PowerShell Module) 2.2.0.0 147 Saturday, October 16, 2021 Approved
AWS Lambda for PowerShell Core (PowerShell Module) 2.1.0.0 176 Friday, May 7, 2021 Approved
AWS Lambda for PowerShell Core (PowerShell Module) 2.0.0.0 384 Thursday, April 2, 2020 Approved
AWS Lambda for PowerShell Core (PowerShell Module) 1.2.0.0 457 Friday, February 8, 2019 Approved
AWS Lambda for PowerShell Core (PowerShell Module) 1.1.0.0 229 Thursday, November 22, 2018 Approved

This package has no dependencies.

Discussion for the AWS Lambda for PowerShell Core (PowerShell Module) Package

Ground Rules:

  • This discussion is only about AWS Lambda for PowerShell Core (PowerShell Module) and the AWS Lambda for PowerShell Core (PowerShell Module) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or AWS Lambda for PowerShell Core (PowerShell Module), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus