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개 답변
1
수락된 답변

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
답변함 일 년 전
  • 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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠