Skip to content

Instantly share code, notes, and snippets.

@Twinuma
Created October 9, 2013 02:10
Show Gist options
  • Select an option

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

Select an option

Save Twinuma/6895066 to your computer and use it in GitHub Desktop.
EC2からS3の特定のバケットにからバックアップをするだけのユーザポリシー
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"s3:*"
],
"Sid": "Stmt1381276881000",
"Resource": [
"arn:aws:s3:::your s3 backet"
],
"Effect": "Allow"
},
{
"Action": [
"s3:*"
],
"Sid": "Stmt1381276927000",
"Resource": [
"arn:aws:s3:::your s3 backet/*"
],
"Effect": "Allow"
},
{
"Action": [
"s3:ListAllMyBuckets"
],
"Sid": "Stmt1381276958000",
"Resource": [
"arn:aws:s3:::*"
],
"Effect": "Allow"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment