├── .gitattributes ├── .gitignore ├── CONTRIBUTING.md ├── LICENSE ├── Readme.md ├── docs ├── 01-serverless-introduction.md ├── 02-aws-cli-installation.md ├── 03-iam-account-setup.md ├── 04-hello-world-your-first-lambda.md ├── 05-view-lambda-logs.md ├── 06-packaging-lambda-with-dependencies.md ├── 07-lambda-layers.md ├── 08-version-lambda.md ├── 09-managing-lambda.md ├── 10-integrate-with-s3.md ├── 11-integrate-with-kinesis.md ├── 12-integrate-with-dynamodb.md ├── 13-integrate-with-api-gateway.md ├── 14-sam-cli.md └── 15-teardown.md └── samples ├── 10 └── kinesis-event-logger-lambda │ └── kinesisEventLogger.js ├── 11 ├── dynamodb-event-logger-lambda │ └── dynamoDBEventLogger.js └── newOrder.json ├── 12 └── current-time-lambda │ └── currentTimeLambda.js ├── 03 ├── helloLambdaCLIWorld.js ├── lambdaAssumeRolePolicyDocument.json └── outputfile.txt ├── 04 └── helloWorldWithLog.js ├── 05 └── format-currency-lambda │ ├── formatCurrencyLambda.js │ ├── package-lock.json │ └── package.json ├── 06 ├── current-time-lambda │ ├── currentTimeLambda.js │ ├── outputfile.txt │ └── package.json └── momentjs-lambda-layer │ ├── package-lock.json │ └── package.json ├── 07 └── helloLambdaCLIWorld.js └── 09 ├── lambda-cli-s3-notification.json └── s3-event-listener-lambda ├── package-lock.json ├── package.json └── s3ObjectListenerLambda.js /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/LICENSE -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/Readme.md -------------------------------------------------------------------------------- /docs/01-serverless-introduction.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/docs/01-serverless-introduction.md -------------------------------------------------------------------------------- /docs/02-aws-cli-installation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/docs/02-aws-cli-installation.md -------------------------------------------------------------------------------- /docs/03-iam-account-setup.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/docs/03-iam-account-setup.md -------------------------------------------------------------------------------- /docs/04-hello-world-your-first-lambda.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/docs/04-hello-world-your-first-lambda.md -------------------------------------------------------------------------------- /docs/05-view-lambda-logs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/docs/05-view-lambda-logs.md -------------------------------------------------------------------------------- /docs/06-packaging-lambda-with-dependencies.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/docs/06-packaging-lambda-with-dependencies.md -------------------------------------------------------------------------------- /docs/07-lambda-layers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/docs/07-lambda-layers.md -------------------------------------------------------------------------------- /docs/08-version-lambda.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/docs/08-version-lambda.md -------------------------------------------------------------------------------- /docs/09-managing-lambda.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/docs/09-managing-lambda.md -------------------------------------------------------------------------------- /docs/10-integrate-with-s3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/docs/10-integrate-with-s3.md -------------------------------------------------------------------------------- /docs/11-integrate-with-kinesis.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/docs/11-integrate-with-kinesis.md -------------------------------------------------------------------------------- /docs/12-integrate-with-dynamodb.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/docs/12-integrate-with-dynamodb.md -------------------------------------------------------------------------------- /docs/13-integrate-with-api-gateway.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/docs/13-integrate-with-api-gateway.md -------------------------------------------------------------------------------- /docs/14-sam-cli.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/docs/14-sam-cli.md -------------------------------------------------------------------------------- /docs/15-teardown.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/docs/15-teardown.md -------------------------------------------------------------------------------- /samples/03/helloLambdaCLIWorld.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/samples/03/helloLambdaCLIWorld.js -------------------------------------------------------------------------------- /samples/03/lambdaAssumeRolePolicyDocument.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/samples/03/lambdaAssumeRolePolicyDocument.json -------------------------------------------------------------------------------- /samples/03/outputfile.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/samples/03/outputfile.txt -------------------------------------------------------------------------------- /samples/04/helloWorldWithLog.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/samples/04/helloWorldWithLog.js -------------------------------------------------------------------------------- /samples/05/format-currency-lambda/formatCurrencyLambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/samples/05/format-currency-lambda/formatCurrencyLambda.js -------------------------------------------------------------------------------- /samples/05/format-currency-lambda/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/samples/05/format-currency-lambda/package-lock.json -------------------------------------------------------------------------------- /samples/05/format-currency-lambda/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/samples/05/format-currency-lambda/package.json -------------------------------------------------------------------------------- /samples/06/current-time-lambda/currentTimeLambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/samples/06/current-time-lambda/currentTimeLambda.js -------------------------------------------------------------------------------- /samples/06/current-time-lambda/outputfile.txt: -------------------------------------------------------------------------------- 1 | {"time":"November 18th 2019, 3:44:31 pm"} -------------------------------------------------------------------------------- /samples/06/current-time-lambda/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/samples/06/current-time-lambda/package.json -------------------------------------------------------------------------------- /samples/06/momentjs-lambda-layer/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/samples/06/momentjs-lambda-layer/package-lock.json -------------------------------------------------------------------------------- /samples/06/momentjs-lambda-layer/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/samples/06/momentjs-lambda-layer/package.json -------------------------------------------------------------------------------- /samples/07/helloLambdaCLIWorld.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/samples/07/helloLambdaCLIWorld.js -------------------------------------------------------------------------------- /samples/09/lambda-cli-s3-notification.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/samples/09/lambda-cli-s3-notification.json -------------------------------------------------------------------------------- /samples/09/s3-event-listener-lambda/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/samples/09/s3-event-listener-lambda/package-lock.json -------------------------------------------------------------------------------- /samples/09/s3-event-listener-lambda/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/samples/09/s3-event-listener-lambda/package.json -------------------------------------------------------------------------------- /samples/09/s3-event-listener-lambda/s3ObjectListenerLambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/samples/09/s3-event-listener-lambda/s3ObjectListenerLambda.js -------------------------------------------------------------------------------- /samples/10/kinesis-event-logger-lambda/kinesisEventLogger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/samples/10/kinesis-event-logger-lambda/kinesisEventLogger.js -------------------------------------------------------------------------------- /samples/11/dynamodb-event-logger-lambda/dynamoDBEventLogger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/samples/11/dynamodb-event-logger-lambda/dynamoDBEventLogger.js -------------------------------------------------------------------------------- /samples/11/newOrder.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/samples/11/newOrder.json -------------------------------------------------------------------------------- /samples/12/current-time-lambda/currentTimeLambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nsriram/lambda-the-cli-way/HEAD/samples/12/current-time-lambda/currentTimeLambda.js --------------------------------------------------------------------------------