Skip to content

Lambda function for AWS to convert CSV file in a S3 bucket to JSON

Notifications You must be signed in to change notification settings

bayko/Lambda-S3-Convert-CSV-JSON

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Lambda-S3-Convert-CSV-JSON

Lambda function for AWS to convert CSV file in a S3 bucket to JSON

targetbucket = '<BUCKET_NAME>'     # s3 bucket containing CSV file
csvkey = '<FILENAME>.csv'          # filename of the CSV file
jsonkey = '<FILENAME>.json'        # desired output name for JSON file

Trigger on S3 event:
Bucket: <BUCKET_NAME>
Event type: ObjectCreated
Prefix: <FILENAME>
Suffix: csv

Releases

No releases published

Packages

No packages published

Languages