Debian Codegraph @

ansible_collections/amazon/aws/tests/integration/targets/s3_object/templates/policy.json.j2

raw
1 {
2 "Version": "2012-10-17",
3 "Statement": [
4 {
5 "Sid": "Only allow writes to my bucket with bucket owner full control",
6 "Effect": "Allow",
7 "Principal": { "AWS":"{{ aws_account }}" },
8 "Action": [
9 "s3:PutObject"
10 ],
11 "Resource": [
12 "arn:aws:s3:::{{ bucket_name_acl }}/*"
13 ],
14 "Condition": {
15 "StringEquals": {
16 "s3:x-amz-acl": "bucket-owner-full-control"
17 }
18 }
19 }
20 ]
21 }