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
回答済み 1年前
  • 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.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ