json AWS-S3-Prevent删除
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了json AWS-S3-Prevent删除相关的知识,希望对你有一定的参考价值。
{
"Version": "2012-10-17",
"Id": "Policy1495045897958",
"Statement": [
{
"Sid": "Stmt1495045896580",
"Effect": "Deny",
"Principal": "*",
"Action": [
"s3:DeleteBucket",
"s3:DeleteBucketPolicy"
],
"Resource": "arn:aws:s3:::<<bucket>>"
}
]
}
{
"Version": "2012-10-17",
"Id": "S3PolicyId1",
"Statement": [
{
"Sid": "PreventDelete",
"Effect": "Deny",
"NotPrincipal": {
"AWS": "arn:aws:iam::12345677890:user/iam-user"
},
"Action": "s3:Delete*",
"Resource": "arn:aws:s3:::bucket-name/*"
}
]
}
以上是关于json AWS-S3-Prevent删除的主要内容,如果未能解决你的问题,请参考以下文章
json AWS S3 Bucket策略#aws#aws-s3
将标头发送到客户端后无法设置标头-Nodejs + AWS-S3 getObject
sh aws-s3-calculate-size.sh
[AWS-S3] POST 上的预签名 URL 被 CORS 阻止,尽管 CORS 配置启用它
关于aws-s3-bucket-静态网站托管相关的查询-S3.Client.get_bucket_website(**kwargs)
关于AWS-S3-Bucket-Console-Web控制页面上的Creation date与命令行-API方式如何获取到真正的CreationDate