# S3 Documents Bucket Folder Structure

We will be using a dedicated S3 Bucket to keep all of our documents from all the users inside a single bucket. The bucket will have one folder **/public-files** which will be visible to all the logged-in user.

{% hint style="info" %}
Later we will configure to allow admin users to upload/delete files to **/public-files** folder using Cognito group configuration.
{% endhint %}

The bucket will have individual user folders under the /users root folder, this folder will contain all the files uploaded by the users. They can view, download, delete the files uploaded here.&#x20;

![](/files/-MCeHdF2b4gGNxKAtrcJ)

{% hint style="warning" %}
You will need to create the **/public-files** and **/users** folders in the bucket.&#x20;
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dhavaln.gitbook.io/serverless-docs/manage-s3bucket-access/s3-documents-bucket-folder-structure.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
