Skip to content

Instantly share code, notes, and snippets.

@lifeisfoo
Created January 22, 2018 16:45
Show Gist options
  • Save lifeisfoo/9e3713212b2f66669c0274087e5d1094 to your computer and use it in GitHub Desktop.
Save lifeisfoo/9e3713212b2f66669c0274087e5d1094 to your computer and use it in GitHub Desktop.
IAM policy for aws s3 cp command
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:AbortMultipartUpload",
"s3:PutObjectVersionAcl",
"s3:PutObjectAcl"
],
"Resource": [
"arn:aws:s3:::bucket-name/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment