https://github.com/varunu28/S3-To-DynamoDB-AWS-Lambda-Function
An AWS Lambda function to send data from S3 bucket to DynamDB
https://github.com/varunu28/S3-To-DynamoDB-AWS-Lambda-Function
aws-lambda python3
Last synced: 4 months ago
JSON representation
An AWS Lambda function to send data from S3 bucket to DynamDB
- Host: GitHub
- URL: https://github.com/varunu28/S3-To-DynamoDB-AWS-Lambda-Function
- Owner: varunu28
- Created: 2018-11-15T02:08:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-03T16:44:36.000Z (almost 6 years ago)
- Last Synced: 2024-11-29T05:43:01.011Z (5 months ago)
- Topics: aws-lambda, python3
- Language: Python
- Size: 3.73 MB
- Stars: 4
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - varunu28/S3-To-DynamoDB-AWS-Lambda-Function - An AWS Lambda function to send data from S3 bucket to DynamDB (Python)
README
# S3-To-DynamoDB-AWS-Lambda-Function
An AWS Lambda function which gets triggered whenever a new file gets uploaded to an S3 bucket and then uploads the data to a DynamoDB table#### Please note that this project is created as a next step for [Twitter HashTag Streamer Project](https://github.com/varunu28/Twitter-HashTag-Streamer). The demo is an extention with the same

## Steps to run
- Create a Lambda function in AWS Management Console.
- Assign a role to the Lambda function and make sure it has read access for S3 and write access for DynamoDB
- You can reconfigure the code to append it to your project flow. See the [AWS Lambda documentation](https://docs.aws.amazon.com/lambda/latest/dg/python-programming-model-handler-types.html) for more details.
- You can remove the print statements which were for debugging purposes. If you want to see the log messages then you would also have to grant access for the CloudWatch to the lambda function
Feel free to open an Issue/PR to report bugs/extensions