Answers for "how to store file into folder bucket aws"

0

how to store file into folder bucket aws

#store the lambda Generate csv file into folder inside the bucket.
s3 = boto3.resource('s3')
s3.Object('bucket-name', 'folder-name/file-name.csv').put(Body=open('/tmp/file-name.csv', 'rb'))
Posted by: Guest on June-04-2021

Code answers related to "how to store file into folder bucket aws"

Python Answers by Framework

Browse Popular Code Answers by Language