Actually multiple zip files will be pushing to S3 bucket at a time through my application.
So when a zip file is push into s3 bucket,my Lambda should get triggered and process the zip file immediately.
Likewise my application will be pushing to multiple zip files to s3 bucket at a time ,My Lambda should get triggered and process all the zip files at a time like multithreading.
Kindly help me how to achieve this.
This is my code
exports.handler = (event, context, callback) => {
var lastCreatedFile = event.Records[0].s3.object.key;
extractData(lastCreatedFile);
};
function extractData()
{
///
}
via vishnu
No comments:
Post a Comment