In this video you will get practical knowledge about AWS Lambda service. AWS 15 - Lambda-practical-LAB explained IN HINDI,
You can also visit to our websites
https://devopsarticle.com/
https://www.fosstechnix.com/
Also please visit to FOSS TechNix YouTube channel to watch more technical videos. / @devopshint
Code is given below to perform AWS Lambda practical 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('mydevtable')
dynamoTable.put_item(
Item={'Articles': str(uuid4()), 'Bucket': bucket_name, 'Object': object_key,'Size': size, 'Event': event_name, 'EventTime': event_time})
On this page of the site you can watch the video online AWS 15 Lambda practical LAB explained IN HINDI with a duration of hours minute second in good quality, which was uploaded by the user DevOps Article 04 July 2020, share the link with friends and acquaintances, this video has already been watched 4,893 times on youtube and it was liked by 113 viewers. Enjoy your viewing!