S3 Snippet

Boto3

# search bucket using s3 api
source_bucket=$(aws s3api list-buckets --output text --query 'Buckets[?contains(Name, `source-images`) == `true`] | [0].Name')

Last updated