I use Streamsets and I need a Groovy Script "Origin" that can read aws s3 bucket.
Do you know someone who can help with a sample groovy script to iterate a folder and list objects in s3 bucket?
So, I only want a access s3 folder and list all filenames, file path, file size. e.g
Files
record 1: /path to location/File1.csv
record 2: /path to location/File2.csv
record 3: /path to location/File3.csv