授權策略
具體授權策略可見權限控制
參考模板
權限設置:定義子賬號只能獲取test_ss project 所擁有的全部權限
{
"Statement": [
{
"Action": [
"dhs:ListProject"
],
"Effect": "Allow",
"Resource": "acs:dhs:*:*:projects/*"
},
{
"Action": [
"dhs:GetProject"
],
"Effect": "Allow",
"Resource": "acs:dhs:*:*:projects/test_ss"
},
{
"Action": [
"dhs:*Topic",
"dhs:*Shard",
"dhs:*Subscription",
"dhs:*Connector",
"dhs:*Records"
],
"Effect": "Allow",
"Resource": "acs:dhs:*:*:projects/test_ss/topics/*"
}
],
"Version": "1"
}
文檔內容是否對您有幫助?