/lambda_random_image

AWS Lambda function that returns a random image from an S3 bucket

Primary LanguagePythonMIT LicenseMIT

Serverless Random Image

Return a random image from an S3 bucket using AWS Lambda.

What's Here

This includes:

  • README.md - this file
  • buildspec.yml - this file is used by AWS CodeBuild to package your application for deployment to AWS Lambda
  • index.py - this file contains the code for the web service
  • sam-template.yaml - this file contains the Serverless Application Model (SAM) used by AWS Cloudformation to deploy your application to AWS Lambda and Amazon API Gateway.
  • template.yml - this file is the template used by AWS CodeStar

What Do I Do Next?

Learn more about Serverless Application Model (SAM) and how it works here: https://github.com/awslabs/serverless-application-model/blob/master/HOWTO.md

AWS Lambda Developer Guide: http://docs.aws.amazon.com/lambda/latest/dg/deploying-lambda-apps.html

Learn more about AWS CodeStar by reading the user guide, and post questions and comments about AWS CodeStar on our forum.

AWS CodeStar User Guide: http://docs.aws.amazon.com/codestar/latest/userguide/welcome.html

AWS CodeStar Forum: https://forums.aws.amazon.com/forum.jspa?forumID=248