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 réponse
1
Réponse acceptée

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
répondu il y a un an
  • 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.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions