Configure S3 external access
Instructions
4
7
Edit the new role to apply the custom inline policy

{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": "arn:aws:s3:::mybucket1"
},
{
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:PutObject",
"s3:DeleteObject"
],
"Resource": "arn:aws:s3:::mybucket1/*"
}
]
}{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::mybucket1",
"arn:aws:s3:::mybucket2",
...
"arn:aws:s3:::mybucketN",
]
},
{
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:PutObject",
"s3:DeleteObject"
],
"Resource": [
"arn:aws:s3:::mybucket1/*",
"arn:aws:s3:::mybucket2/*",
...
"arn:aws:s3:::mybucketN/*",
]
}
]
}Last updated
Was this helpful?



