Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
AWS Lambda Lab-1 Hindi/Urdu | LAST LECTURE 102 | Setup S3 Trigger with Lambda and dynamoDB
Play lesson

AWS Solution Architect & Sysops Tutorial for beginners in Hindi/Urdu |सबसे आसान तरीका AWS सीखने का | हिंदी | नेपाली | اردو۔ | AWS SAA C03 | AWS DevOps - AWS Lambda Lab-1 Hindi/Urdu | LAST LECTURE 102 | Setup S3 Trigger with Lambda and dynamoDB

4.0 (0)
3 learners

What you'll learn

This course includes

  • 43.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

LEC-102 THIS IS LAST LECTURE OF THIS SERIES.AWS Lambda S3 Trigger lab-In this lab i will show you how to trigger lambda from S3 bucket and copy data information in dynamoDB. Code used in this Lab********************** import boto3 from uuid import uuid4 def lambda_handler(event, context): s3 = boto3.client("s3") dynamodb = boto3.resource('dynamodb') for record in event['Records']: bucket_name = record['s3']['bucket']['name'] object_key = record['s3']['object']['key'] size = record['s3']['object'].get('size', -1) event_name = record ['eventName'] event_time = record['eventTime'] dynamoTable = dynamodb.Table('newtable') dynamoTable.put_item( Item={'unique': str(uuid4()), 'Bucket': bucket_name, 'Object': object_key,'Size': size, 'Event': event_name, 'EventTime': event_time}) ************************************* Now you can Donate us via Paypal or Google Pay Paypal link : https://www.paypal.me/technicalguftgu GooglePay UPI : bhupinderccs@okaxis Do subscribe to TECHNICAL GUFTGU channel and Press Bell icon & get regular updates on videos, DIRECT LINK TO CHANNEL : https://www.youtube.com/c/TechnicalGuftgu Here are direct links of My All the Playlist: MUST CHECK IPv6 Complete Tutorial for beginners Link : https://www.youtube.com/playlist?list=PLBGx66SQNZ8ZjaqNaEEh6KBJLZjGC8WAu Microsoft Azure Tutorial for beginners in Hindi/Urdu AZ-103 and AZ-900 LINK : https://www.youtube.com/playlist?list=PLBGx66SQNZ8ZS9VhxzfWpne4c3ces9IHA Cloud computing tutorials For beginners Link : https://www.youtube.com/playlist?list=PLBGx66SQNZ8ZoTCIRIGKvvtbKMj0rqCL- AWS Solution Architect-Associate complete Tutorials Link : https://www.youtube.com/playlist?list=PLBGx66SQNZ8a_y_CMLHchyHz_R6-6i-i_ CCNA Complete Tutorials /Computer Networking Link : https://www.youtube.com/playlist?list=PLBGx66SQNZ8ZvdIoctCTWB3ApXQpQGEin This is the best channel for AWS Tutorials, Microsoft Azure tutorials, 2G,3G, LTE, CCNA, Cloud computing and for others topics related to cloud and computer networking. Technical Guftgu is the only platform, which provides you entire training on white board, so that you feels that, you are taking real time training. Bhupinder Rajput Sir is having 8 Years of Experience in the field of technical trainings in entire india. NOTE : If you would like to organise Bhupinder Rajput Sir workshop in your College or University, write mail to us. For More Information: Please write us at : [email protected] Connect with us on facebook page-Technical Guftgu for his upcoming 5 Days workshops on cloud in india and Nepal. If you would like to donate and give support to our Channel, write mail to us. Thanks For giving Your Valuable time. Regards, Technical Guftgu Team

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere