How to use Storage Browser with existing my bucket. #6283
Labels
duplicate
An issue or a feature-request that is a duplicate of an existing one
feature-request
Request a new feature
On which framework/platform would you like to see this feature implemented?
React
Which UI component is this feature-request for?
Storage
Please describe your feature-request in detail.
I want to use the Storage Browser in Amplify UI with an existing S3 bucket. (Not the bucket created with
defineStorage
).It worked for the S3 I created with Amplify, but I have tried everything and it does not work for existing S3 buckets.
What I tried
I still have Amplify Gen 2 project.
my-20250103-share
, region:us-east-1
).public/
) in the root and uploaded PNG file (path:public/icon.png
).backend.ts
. (ref: Use Amplify Storage with any S3 bucket - React - AWS Amplify Gen 2 Documentation):StorageBrowser
component in my frontend:App.tsx
:main.tsx
:my-20250103-share
bucket's bucket policy. (ref: Use Amplify Storage with any S3 bucket - React - AWS Amplify Gen 2 Documentation):amplify-amplifyvitereactt-amplifyAuthauthenticatedU-9nc5ifJu1r2B
is the Cognito ID pool IAM role for my amplify auth have created.result
When I launch and access the sandbox environment, I can see the Storage Browser UI, but not the list of objects and folders.
Please describe a solution you'd like.
I would like a way or option to use Storage Browser on S3 buckets that are not buckets created by Amplify.
We love contributors! Is this something you'd be interested in working on?
The text was updated successfully, but these errors were encountered: