1 Answer
- Newest
- Most votes
- Most comments
0
I mananged to fix the issue by assigning permissions to the cognito identity pool that was accessing the EU S3 bucket.
To do this
Login to your AWS console
Go To IAM
On left tab, click 'Roles'
Now click on the Role that is related to the cognito identity pool
Edit the Json policy.
Basically your identity pool which is assigned to your cognito user pool should have access to S3.
Following assigns access to all but you may want to restrict the access and the
eg. policy json:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:",
"other stuff:"
],
"Resource": [
"*"
]
}
]
}
answered 4 years ago
Relevant content
- asked 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 3 years ago