简体   繁体   中英

CloudFormation S3 Bucket Policy invalid action error

I am getting following exception Policy invalid action on s3 bucket policy.

I have following actions:

  • ListObjects
  • GetObject
  • PutObject

The error is probably because ListObjects is not a valid action for policy use.

Valid List* actions for S3 from policy generator:

在此处输入图像描述

And also from IAM console:

在此处输入图像描述

Also AccountIds could cause problems, but its form is not shown in your question.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM