Created
March 18, 2014 05:17
-
-
Save siroken3/9613955 to your computer and use it in GitHub Desktop.
いつも1度でできない特定のS3バケットのみ見られるようにするPolicy(ManagementConsoleからの参照考慮版)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Effect": "Allow", | |
| "Action": [ | |
| "s3:ListAllMyBuckets", "s3:GetBucketLocation" | |
| ], | |
| "Resource": ["arn:aws:s3:::*"] | |
| }, | |
| { | |
| "Effect": "Allow", | |
| "Action": [ | |
| "s3:Get*", | |
| "s3:List*" | |
| ], | |
| "Resource": [ | |
| "arn:aws:s3:::バケット名", | |
| "arn:aws:s3:::バケット名/*" | |
| ] | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment