0 votes
in AWS Access Management by
What does a policy look like?

1 Answer

0 votes
by

The following policy grants access to add, update, and delete objects from a specific folder, example_folder, in a specific bucket, example_bucket.

{

  "Version":"2012-10-17",

  "Statement":[

   {

     "Effect":"Allow",

     "Action":[

       "s3:PutObject",

       "s3:GetObject",

       "s3:GetObjectVersion",

       "s3:DeleteObject",

       "s3:DeleteObjectVersion"

     ],

 

     "Resource":"arn:aws:s3:::example_bucket/example_folder/*"

    }

  ]

}

Related questions

0 votes
asked Jun 8, 2023 in Agile by Robindeniel
0 votes
asked Dec 10, 2019 in Interview Question by rajeshsharma
...