Forum Discussion

kikasudo's avatar
kikasudo
Icon for Bronze II rankBronze II
4 months ago

S3: Access Policies (Q5)

Hi

I don't get passed this question when I put this for the access point:

What am I missing here please, I always get an error on AWS saying that the access point can't be implemented.

{
   "Version":"2012-10-17",
   "Statement": [
   {
       "Effect": "Allow",
       "Principal": {
           "AWS": "arn:aws:iam::407044316022:user/metrolio-accessor"
       },
       "Action": ["s3:ListBucket", "s3:GetObject"],
       "Resource": [
         "arn:aws:iam::407044316022:accesspoint/metrolio-access-point/object/data/*"
       ]
   }]
}