Coder Social home page Coder Social logo

debmalya / aws_lambda_in_action Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danilop/aws_lambda_in_action

0.0 2.0 0.0 61 KB

This source code distribution is a companion to the AWS Lambda in Action book available from Manning Publications.

Home Page: https://www.manning.com/books/aws-lambda-in-action

JavaScript 58.54% Python 2.33% HTML 31.66% Shell 7.47%

aws_lambda_in_action's Introduction

Welcome to AWS Lambda in Action

This source code distribution is a companion to the AWS Lambda in Action: Event-Driven Serverless Application book available from Manning Publications.

There are a few live demos available at https://awslambdainaction.com/#livedemos

To purchase an electronic or printed copy of the book, visit https://www.manning.com/books/aws-lambda-in-action

Requirements

To create Lambda functions and execute the code, you need an Amazon Web Services (AWS) account.

To create a new account, please see: https://aws.amazon.com/free/

Running

To create functions, start from the AWS Lambda web console at: https://console.aws.amazon.com/lambda

For detailed information on how to use the source code, please look at the relative chapters in the book.

Chapter02/
  greetingsOnDemand.js                  Function to greet by "name" in Node.js
  greetingsOnDemand.py                  Function to greet by "name" in Python
  customGreetingsOnDemand.js            Function for a custom greet by "name" in Node.js
  customGreetingsOnDemand.py            Function for a custom greet by "name" in Python
Chapter03/
  whatIsMyIp.js                         Function to echo the IP address in input in Node.js
  whatIsMyIp.py                         Function to echo the IP address in input in Python
Chapter04/
  Policy_RW_S3.json                     Policy to give read/write access to an Amazon S3 bucket
  Policy_RW_console_S3.json             Adding permissions required by the Amazon S3 web console
  Policy_RW_prefix_console_S3.json      Limiting access to a prefix inside an Amazon S3 bucket
  Policy_RW_DynamoDB.json               Policy to give read/write access to a DynamoDB table
  Policy_RW_query_DynamoDB.json         Adding query permissions to Amazon DynamoDB
  Policy_Lambda_basic_exec_role.json    Lambda basic execution role permissions
  Policy_Lambda_trust.json              Lambda basic execution role trust relationships
Chapter05/
  FaceDetection/                        Function using OpenCV to detect faces.
  Scheduled/                            Function to clean up your S3 bucket. Can be scheduled.
  SubscribeToS3/                        Function triggered by a new picture on Amazon S3.
Chapter06/
  Policy_Cognito_private_S3.json        Policy to give access to private folders on Amazon S3
  Policy_Cognito_public_S3.json         Policy to give access to public folders on Amazon S3
  Policy_Cognito_private_DynamoDB.json  Policy to give private access to DynamoDB
  Policy_Cognito_shared_DynamoDB.json   Policy to give shared access to DynamoDB
  Policy_Cognito_trust_auth.json        Amazon Cognito trust policy for the unauthenticated role
  Policy_Cognito_trust_unauth.json      Amazon Cognito trust policy for the authenticated role
Chapter07/
  GreetingsOnDemand/                    Calling a function via JavaScript from a static web page
  CustomGreetingsOnDemand/              Another example of calling a function via JavaScript
  SimpleWebsite/                        Dynamic web site using Amazon API Gateway and EJS templates
Chapter09/
  SampleAuth/                           Sample serverless authentication service
Chapter10/
  SampleAuth/                           Same as before (more features in this chapter)
Chapter11/
  MediaSharing/                         Sample media sharing web app
Chapter13/
  app.py                                Sample app using Chalice
  greetingsOnDemand.js                  Same old function, to test local development
  greetingsOnDemand.py                  Same old function, to test local development
  runLocal.js                           Sample wrapper to run JavaScript functions locally
  runLocal.py                           Sample wrapper to run Python functions locally
  lambdaTest.js                         Function to test other functions, based on the blueprint
Chapter14/
  CloudFormation/                       CloudFormation templates to create Lambda functions
  greetingsOnDemand/                    Same old function, to play with AWS CloudFormation

Contact Information

Manning provides an Author Online forum accessible from: https://forums.manning.com/forums/aws-lambda-in-action

For general AWS Lambda information and support, please visit AWS's website for pointers to FAQ's, documentation and pricing.

The main AWS Lambda website is: https://aws.amazon.com/lambda

aws_lambda_in_action's People

Contributors

danilop avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.