Skip to content

Instantly share code, notes, and snippets.

@pataiji
Created May 2, 2014 01:36
Show Gist options
  • Save pataiji/4df3959ee3cc9d1a60ac to your computer and use it in GitHub Desktop.
Save pataiji/4df3959ee3cc9d1a60ac to your computer and use it in GitHub Desktop.
aws s3 sync を叩くための IAM Policy
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "1",
"Effect": "Allow",
"Action": [
"s3:DeleteObject",
"s3:GetObject",
"s3:PutObject"
],
"Resource": [
"arn:aws:s3:::bucket_name/*"
]
},
{
"Sid": "2",
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::bucket_name"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment