https://github.com/salvatorecordiano/aws-lambda-typescript-boilerplate
AWS Lambda Boilerplate (TypeScript)
https://github.com/salvatorecordiano/aws-lambda-typescript-boilerplate
aws aws-lambda lambda typescript
Last synced: 2 months ago
JSON representation
AWS Lambda Boilerplate (TypeScript)
- Host: GitHub
- URL: https://github.com/salvatorecordiano/aws-lambda-typescript-boilerplate
- Owner: salvatorecordiano
- Created: 2019-11-30T13:13:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-23T20:06:43.000Z (about 6 years ago)
- Last Synced: 2025-02-03T06:38:47.086Z (over 1 year ago)
- Topics: aws, aws-lambda, lambda, typescript
- Language: Makefile
- Homepage:
- Size: 60.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AWS Lambda Boilerplate (TypeScript)
- Run `make setup` to install dependencies
- Run `make container-bash` to use bash inside container
- Run `make build` to create a build
## Deploy
If you want to create and deploy your Lambda using `aws-cli`
- Install `aws-cli`
- Read [docs](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-awscli.html) and run `aws configure` to setup your environment
### Create Lambda function
```
aws lambda create-function --function-name aws-lambda-typescript-boilerplate \
--zip-file fileb://deploy.zip --handler index.handler --runtime nodejs10.x \
--role arn:aws:iam::YOUR_ROLE_HERE
```
### Update Lambda function
```
aws lambda update-function-code --function-name aws-lambda-typescript-boilerplate --zip-file fileb://deploy.zip
```