I have an AWS S3 bucket to which I have several folders.
s3 = AWS::S3.new
bucket = s3.buckets['test']
bucket.exists? => true
Say I have a resource with a name demo/index.html
, how can I check if this resource is present in this bucket
?
Maybe my question is too simple, but I can not find the right answer for this. Any help is appreciated.
source
share