https://github.com/eduherminio/aws_lambda_cloudformation_poc
AWS Lambda PoC (deployed using CloudFormation) using .NET Core 3.1
https://github.com/eduherminio/aws_lambda_cloudformation_poc
aws aws-lambda cloudformation dotnet-core
Last synced: 3 months ago
JSON representation
AWS Lambda PoC (deployed using CloudFormation) using .NET Core 3.1
- Host: GitHub
- URL: https://github.com/eduherminio/aws_lambda_cloudformation_poc
- Owner: eduherminio
- License: mit
- Created: 2020-03-28T22:41:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-01T20:43:17.000Z (over 6 years ago)
- Last Synced: 2025-01-26T01:32:08.095Z (over 1 year ago)
- Topics: aws, aws-lambda, cloudformation, dotnet-core
- Language: C#
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS Lambda CloudFormation PoC
## Requirements
An existing s3 bucket (named `test-lambda-artifact` in this example)
## Instructions
Install or update Amazon.Lambda.Tools
```bash
dotnet tool install -g Amazon.Lambda.Tools
dotnet tool update -g Amazon.Lambda.Tools
```
Deploy the serverless application
```bash
dotnet lambda deploy-serverless testLambdaCFStack -t serverless.template -sb test-lambda-artifact -sp TestLambdaCF/
```
Test the lambda function
```bash
dotnet lambda list-functions
dotnet lambda invoke-function -p "Hey!"
```
Cleanup
```bash
dotnet lambda delete-serverless testLambdaCFStack
```