Using Kendra Experience and S3 results in AccessDenied when trying to open the indexed document

0

I am working on a PoC with Kendra where I have uploaded documents to S3 and use that as the Data Source for my Kendra index. I have created a Kendra Experience to test out the logic, and on the first page I am able to run a query and find that it returns the relevant results. However, when I click on any of the documents and open them up, I get an AccessDenied error message.

In reading through the Kendra docs, I believe I am encountering the issue titled I am unable to use search index links to open my Amazon S3 objects found in the document link here: https://docs.aws.amazon.com/kendra/latest/dg/troubleshooting-data-sources.html

In that section it says I can sign my index query results with the source URL before returning the result to the search page, which sounds like it might work for my scenario. It then says, For a step-by-step walkthrough of this process, see Sharing objects using presigned URLs, but that link just provides general instructions for using presigned URLs, and doesn't seem to address this scenario. The other options include incorporating a CDN or an API Gateway, which might work as well, but this is a simple PoC, and I am just trying to verify my results and would prefer to avoid adding these additional components.
Has anyone come across a guide/documentation on how to use the presigned URLs with Kendra, or know of a simpler approach to this? I would be surprised if Kendra can use S3 as a data source, but wouldn't have the ability to show the document, so I feel like I am missing something in this process.

profile pictureAWS
Ryan
질문됨 6달 전107회 조회
답변 없음

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

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

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

관련 콘텐츠