I have lots of files and sub-folders inside of which there are some folders and files all of this is inside an S3 bucket. So I know how to download the files as there is a object url clicking on that, we will be able to download the file.
Requirement
But my requirement is such that I need a downloadable url of the S3 bucket such that clicking on it, I will be able to download all the contents intact like files, sub-folders etc in the bucket as it is.
import os, boto3, params, subprocess
path = "C:\\Users\\lenovo\\Desktop\\BackUp"
subprocess.run(['aws', 's3', 'sync', path, 's3://axis-tax-drive'])
I wrote this code to upload the content to S3, now I'd like to get a downloadable url of the S3 bucket as I mentioned above.
Could the requirement be satisified by creating an access point or anything like that ..
I'd like to know all the possibilities.
Please Help..
Thanks in advance.