aws-lambda-upload
Version:
Package and upload an AWS lambda with its minimal dependencies
18 lines (16 loc) • 427 B
YAML
AWSTemplateFormatVersion: '2010-09-09'
Transform: 'AWS::Serverless-2016-10-31'
Resources:
MyFunction:
Type: 'AWS::Serverless::Function'
Properties:
Handler: index.handler
Runtime: nodejs6.10
CodeUri: lib/lambda.js
MyFunction2:
Type: AWS::Lambda::Function
Properties:
FunctionName: myTestLambda,
Handler: lambda.myLambda,
Runtime: nodejs6.10,
Code: ./lib/lambda.js