0% found this document useful (0 votes)
0 views1 page

Aws

The document contains JSON policy examples for AWS S3 permissions. It includes three variations of policies that allow listing all buckets and specific bucket listings. Each policy specifies the version and actions permitted, with varying resource specifications.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views1 page

Aws

The document contains JSON policy examples for AWS S3 permissions. It includes three variations of policies that allow listing all buckets and specific bucket listings. Each policy specifies the version and actions permitted, with varying resource specifications.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

JSON_Format_of_Custom Policy_S3 List all my buckets

{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": "s3:ListAllMyBuckets",
"Resource": "*"
}
]
}
-----------------------------------------------------------------------------------
--
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"s3:ListAllMyBuckets",
"s3:ListBucket"
],
"Resource": "*"
}
]
}
-----------------------------------------------------------------------------------
--
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": "s3:ListBucket",
"Resource": "arn:aws:s3:::sai2612"
},
{
"Sid": "VisualEditor1",
"Effect": "Allow",
"Action": "s3:ListAllMyBuckets",
"Resource": "*"
}
]
}

You might also like