全部产品

子账号权限设置模板

更新时间:2020-05-19 16:35:51

授权策略

具体授权策略可见权限控制

参考模板

权限设置:定义子账号只能获取test_ss project 所拥有的全部权限

  1. {
  2. "Statement": [
  3. {
  4. "Action": [
  5. "dhs:ListProject"
  6. ],
  7. "Effect": "Allow",
  8. "Resource": "acs:dhs:*:*:projects/*"
  9. },
  10. {
  11. "Action": [
  12. "dhs:GetProject"
  13. ],
  14. "Effect": "Allow",
  15. "Resource": "acs:dhs:*:*:projects/test_ss"
  16. },
  17. {
  18. "Action": [
  19. "dhs:*Topic",
  20. "dhs:*Shard",
  21. "dhs:*Subscription",
  22. "dhs:*Connector",
  23. "dhs:*Records"
  24. ],
  25. "Effect": "Allow",
  26. "Resource": "acs:dhs:*:*:projects/test_ss/topics/*"
  27. }
  28. ],
  29. "Version": "1"
  30. }