Give bucket policy to Bucket to be accessed by aws personalize but it not working

0

{ "Version": "2012-10-17", "Id": "PersonalizeS3BucketAccessPolicy", "Statement": [ { "Sid": "PersonalizeS3BucketAccessPolicy", "Effect": "Allow", "Principal": { "Service": "personalize.amazonaws.com" }, "Action": [ "s3:GetObject", "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::fashionrecommendationsystem", "arn:aws:s3:::fashionrecommendationsystem/*" ] } ] } This is the bucket policy I have attached to my S3 bucket. But it is still giving the error message

1 Answer
1
Accepted Answer

There 3 (4 if u need encryption) steps in that article. Did you follow all three?

1- Setting up permissions to set up permissions so Amazon Personalize

2- Attach a policy to the Amazon Personalize service role

3 - Attach a bucket policy to the Amazon S3 bucket - this one looks like u did

profile pictureAWS
Niko
answered a year ago
  • Thank you for your response. The problem was as encryption was enabled by default in the S3 bucket. The objects of the buckets override that default encryption. Because of that it has given that error message.

  • Glad you found the problem. Please remember to accept the answer if you found it helpful.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions