Skip to content

Instantly share code, notes, and snippets.

@Twinuma
Created July 31, 2013 00:19
Show Gist options
  • Select an option

  • Save Twinuma/6118265 to your computer and use it in GitHub Desktop.

Select an option

Save Twinuma/6118265 to your computer and use it in GitHub Desktop.
特定bucketのみを操作することが出来るIAMのポリシー
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "s3:*",
"Resource": [
"arn:aws:s3:::example-bucket",
"arn:aws:s3:::example-bucket/*"
]
},
{
"Effect": "Allow",
"Action": "s3:ListAllMyBuckets",
"Resource": "arn:aws:s3:::*",
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment