AWS lambda read zip file perform validation and unzip to s3 bucket if validation is passed
问题 I have a requirement in which a zip files arrives on s3 bucket, I need to write a lambda using python to read the zip file perform some validation and unzip on another S3 bucket. Zip file contains below: a.csv b.csv c.csv trigger_file.txt trigger_file.txt -- contain names of files in zip and record count (example: a.csv:120 , b.csv:10 , c.csv:50 ) So using lambda I need to read trigger file check if number files in zip folder is equal to number of files mentioned in trigger file if pass the