diff --git a/examples/aws/iam.policies/access folder in bucket.json b/examples/aws/iam.policies/access folder in bucket.json new file mode 100644 index 0000000..fce91d7 --- /dev/null +++ b/examples/aws/iam.policies/access folder in bucket.json @@ -0,0 +1,25 @@ +{ + "Version": "2012-10-17", + "Statement": [ + { + "Sid": "AllowAccessToTheBucket", + "Effect": "Allow", + "Action": [ + "s3:ListBucket" + ], + "Resource": [ + "arn:aws:s3:::backups-bucket" + ] + }, + { + "Sid": "AllowOperationsInTheDesignatedFolder", + "Effect": "Allow", + "Action": [ + "s3:*" + ], + "Resource": [ + "arn:aws:s3:::backups-bucket/prometheus/*" + ] + } + ] +}