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 Risposta
1
Risposta accettata

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
con risposta un anno fa
  • 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.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande