CloudForm S3 Bucket策略无效操作错误

问题描述 投票:1回答:1

我在s3 bucket策略上得到以下异常 Policy invalid action。

我有以下操作。

  • ListObjects
  • GetObject
  • PutObject
amazon-web-services amazon-s3 yaml amazon-cloudformation amazon-iam
1个回答
2
投票

这个错误可能是因为 ListObjects 不属于政策使用的有效操作。

有效的 List* 策略生成器中的S3动作。

enter image description here

还有IAM控制台

enter image description here

也可以从IAM控制台: AccountIds 可能会引起问题,但它的形式在你的问题中没有显示出来。

© www.soinside.com 2019 - 2024. All rights reserved.