Skip to content

Instantly share code, notes, and snippets.

@mza
Created April 20, 2015 20:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mza/1e11bebf6adb448d24d9 to your computer and use it in GitHub Desktop.
Save mza/1e11bebf6adb448d24d9 to your computer and use it in GitHub Desktop.
{
"Id": "Policydbgap",
"Statement": [
{
"Sid": "Stmtdbgap",
"Action": [
"s3:PutObject"
],
"Effect": "Allow",
"Resource": "arn:aws:s3:::YOUR_BUCKET_NAME /*",
"Condition": {
"StringEquals": {
"s3:x-amz-server-side-encryption":"AES256"
},
"Bool": {
"aws:SecureTransport": "true"
}
},
"Principal": {
"AWS": [
"arn:aws:iam::YOUR_ROLE_ARN "
]
}
}
]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment