S3 Bucket action doesn't apply to any resources

前端 未结 11 677
无人及你
无人及你 2021-01-30 09:55

I\'m following the instructions from this answer to generate the follow S3 bucket policy:

{
  \"Id\": \"Policy1495981680273\",
  \"Version\": \"2012-10-17\",
  \         


        
11条回答
  •  遥遥无期
    2021-01-30 10:38

    From AWS > Documentation > AWS Identity and Access Management > User Guide https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_resource.html

    It is clearly defined in a note, Some services do not let you specify actions for individual resources.

    you use the wildcard * in the Resource element

    "Resource": "arn:aws:s3:::surplace-audio/*"

提交回复
热议问题