Skip to content

A template for a Python Lambda triggered by S3 PUT events in Typescript CDK

Notifications You must be signed in to change notification settings

noonker/lambda-s3-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lambda-s3-template

Description

This repository sets up AWS infrastructure to run a Lambda on S3 put events. To change how the lambda operates simply modify the code in lambda/main.py. There should be enough of a skeleton in that file to:

  • Read a file from the sourceBucket
  • Modify / action on a file in a bucket
  • Upload the artifacts to a resultsBucket S3 bucket

To deploy this code ensure that the AWS Command Line Interface (CLI) is installed and run the following after pulling the repository

cd lambda-s3-template
cdk init # Sets up the environment to deploy this CDK stack
cdk deploy # Deployes all the assets

About

A template for a Python Lambda triggered by S3 PUT events in Typescript CDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published