@jcoreio/toolchain-aws-lambda v5.5.2
@jcoreio/toolchain-aws-lambda
This project deploys an AWS Lambda Function from JS or TS source.
Features
- Supports
.envfile, you can put AWS credentials,AWS_SDK_LOAD_CONFIG=1,AWS_REGIONetc in.envif you like - Adds the
tc deployscript, which deploys to AWS - Uses
pack-lambdato stream the source to S3, supportingpnpm - If you use
@jcoreio/toolchain-semantic-release, will deploy in CI
Conventions
The project must contain scripts/cloudFormationTemplate.js (or .ts if you're using @jcoreio/toolchain-typescript)
that exports the following:
StackName(optional) - the name for the CloudFormation Stack (defaults to the Lambda FunctionName)Template- the CloudFormation templateParameters(optional) - the parameters for the templateCapabilities- the capabilities to use when deploying the stackTags(options) - the tags for the CloudFormation Stack
The Template must contain one AWS::Lambda::Function or AWS::Serverless::Function. It will provide defaults
for the following properties, so they are optional:
Description: defaults to thedescriptioninpackage.jsonCodeUri: defaults theBucketto the AWS Account, and theKeyto something based upon thenameinpackage.jsonHandler: defaults to thehandlerexport in themainfile inpackage.jsonRuntime: defaults tonodejs20.xFunctionName: defaults to something based upon thenameinpackage.json
6 months ago
7 months ago
6 months ago
7 months ago
7 months ago
7 months ago
8 months ago
10 months ago
1 year ago
10 months ago
12 months ago
1 year ago
1 year ago
1 year ago
6 months ago
6 months ago
7 months ago
7 months ago
7 months ago
7 months ago
8 months ago
10 months ago
10 months ago
10 months ago
1 year ago
1 year ago
7 months ago
7 months ago
6 months ago
7 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago