Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "Version": "2012-10-17",
- "Id": "Policy1523289797898",
- "Statement": [
- {
- "Sid": "DenyRestrictedResultsAccess",
- "Effect": "Deny",
- "NotPrincipal": {
- "AWS": [
- "arn:aws:iam::{{ aws_account_id }}:user/{{ aws_user_name }}"
- ]
- },
- "Action": "s3:GetObject",
- "Resource": "arn:aws:s3:::aws-athena-query-results-{{ aws_account_id }}-us-east-1/*",
- "Condition": {
- "StringEquals": {
- "s3:ExistingObjectTag/restriced_data": "True"
- }
- }
- },
- {
- "Sid": "DenyPolicyUpdates",
- "Effect": "Deny",
- "NotPrincipal": {
- "AWS": [
- "arn:aws:iam::{{ aws_account_id }}:user/{{ aws_user_name }}"
- ]
- },
- "Action": "s3:PutBucketPolicy",
- "Resource": "arn:aws:s3:::aws-athena-query-results-{{ aws_account_id }}-us-east-1"
- }
- ]
- }
Add Comment
Please, Sign In to add comment