AWS S3 Trigger with Lambda and DynamoDB. At first, creating an IAM role providing DynamoDB Full Access. Then create the Lambda function and save the python code. After that, add a trigger as AWS S3 to connect with the S3 bucket. So, whenever S3 bucket gets uploaded any file into it then it triggers to Aws Lambda function and the details of the uploaded file gets inserted into the DynamoDB table.