{ | |
"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