here is the scenario.
AWS accountA has an S3 bucket. AWS acountB has cognito user pool and cognito identity set up. Also accountB is running a amplify app (so there is a fixed origin url)
I want to allow logged users from accountB to put/get objects from bucket in AccountA.
How do I configure the bucket to allow that? How do I configure the identity pool?