为什么我无法添加AWS存储库ARN来限制访问?

时间:2018-03-27 08:57:59

标签: amazon-web-services aws-codecommit

我创建了限制对存储库的访问的新策略。

我复制了存储库ARN:

enter image description here

但是得到错误:

enter image description here

为什么我会收到此错误以及如何解决?

UPD
我之前添加了类似的政策:

enter image description here

无法理解现在的错误(

1 个答案:

答案 0 :(得分:0)

嘿......回答我自己的问题:我必须手动输入RegionAccountRepository name。它们不会从ARN

自动检测到

enter image description here