aws-lambda-dotnet
aws-lambda-dotnet copied to clipboard
Libraries, samples and tools to help .NET Core developers develop AWS Lambda functions.
When trying to update an existing Lambda function with a Lambda Layer using _aws lambda deploy-serverless_ command, it fails to update the function with the latest layer version when the...
## Description When setting up AWSLambdaPSCore on a fresh EC2 instance running Ubuntu Server 20.04 LTS, some dependencies for the AWSLambdaPSCore module are not pre-installed. If you attempt to publish...
## Description An exception is thrown when trying to convert the result object of the function handler back to a stream in the Mock Lambda Test Tool on .Net 6...
IAMPolicyStatement in [APIGatewayCustomAuthorizerPolicy](https://github.com/aws/aws-lambda-dotnet/blob/master/Libraries/src/Amazon.Lambda.APIGatewayEvents/APIGatewayCustomAuthorizerPolicy.cs) is missing the `Condition` element, as [described in the IAM user guide](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_statement.html).
### Describe the bug Unable to publish Lambda function using Publish-AWSPowerShellLambda getting below error. Restoring .NET Lambda deployment tool Exception: C:\\Users\\xxxxxxx\\OneDrive\\Documents\\PowerShell\\Modules\\AWSLambdaPSCore\\3.0.1.0\\Private\\_DeploymentFunctions.ps1:402 Line | 402 | throw $msg | ~~~~~~~~~~ |...
The function _validateDotnetInstall tries to check if the .Net Core SDK is install by doing the following. ``` $application = Get-Command -Name dotnet if (!($application)) { throw '.NET Core 2.1...
*Issue #, if available:* #805 *Description of changes:* - Add '--host' command line argument support By submitting this pull request, I confirm that my contribution is made under the terms...
*Issue #, if available:* DOTNET-6203 *Description of changes:* This PR adds a `YamlWriter` which can surgically manipulate a YAML blob. Similar entities: * [JsonWriter](https://github.com/aws/aws-lambda-dotnet/blob/master/Libraries/src/Amazon.Lambda.Annotations.SourceGenerator/Writers/JsonWriter.cs) * [JsonWriterTests](https://github.com/aws/aws-lambda-dotnet/blob/master/Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/WriterTests/JsonWriterTests.cs) I will create a...
## Overview The current logging implementation for PowerShell Lambda functions (as defined in the PowerShellHost) adds a prefix to all CloudWatch logs depending on the PowerShel stream the log came...
The dotNet Core 2.1 AspNetCoreWebAPI has both an app & test blueprints, but the AspNetCoreWebApp only has an app blueprint. I assume this is why when using the AWS Toolkit...