Lec*_*dal 5 amazon-s3 aws-codebuild
作为 CodeBuild 中自动化过程的一部分,我想更新给定文件夹中所有文件(或更具体地说,具有给定前缀的所有对象)的访问控制列表。如何在一行 bash 代码中做到这一点?
Lec*_*dal 13
下面的一个班轮完美地工作
aws s3api list-objects --bucket $BUCKET_NAME$ --prefix $FOLDER_NAME$ --query "(Contents)[].[Key]" --output text | 读行时;做 aws s3api put-object-acl --acl public-read --bucket $BUCKET_NAME$ --key $line ; 完毕
它没有格式化为代码,因此无需滚动即可阅读!
| 归档时间: |
|
| 查看次数: |
1739 次 |
| 最近记录: |