AWS athena documentation change
Summary
Condensed JSON policy examples without altering permissions.
Security assessment
Policy content remains functionally identical; changes are purely formatting adjustments. No security implications identified.
Diff
diff --git a/athena/latest/ug/hive-metastore-iam-access-lambda.md b/athena/latest/ug/hive-metastore-iam-access-lambda.md index 3b27bfeb5..0c3deee1c 100644 --- a//athena/latest/ug/hive-metastore-iam-access-lambda.md +++ b//athena/latest/ug/hive-metastore-iam-access-lambda.md @@ -29,17 +29,3 @@ JSON - { - "Version": "2012-10-17", - "Statement": [ - { - "Effect": "Allow", - "Action": [ - "s3:GetBucketLocation", - "s3:GetObject", - "s3:ListBucket", - "s3:PutObject" - ], - "Resource": [ - "arn:aws:s3:::amzn-s3-demo-bucket/spill" - ] - } - ] - } + { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ + "s3:GetBucketLocation", "s3:GetObject", "s3:ListBucket", "s3:PutObject" ], "Resource": [ + "arn:aws:s3:::amzn-s3-demo-bucket/spill" ] } ] } @@ -188,13 +174,4 @@ JSON - { - "Version": "2012-10-17", - "Statement": [ - { - "Sid": "Stmt1234567890123", - "Effect": "Allow", - "Principal": { - "AWS": "arn:aws:iam::444455556666:user/perf1-test" - }, - "Action": "s3:GetObject", - "Resource": "arn:aws:s3:::athena-test/lambda/dataset/*" - } - ] + { "Version": "2012-10-17", "Statement": [ { "Sid": "Stmt1234567890123", "Effect": + "Allow", "Principal": { "AWS": + "arn:aws:iam::444455556666:user/perf1-test" + }, "Action": "s3:GetObject", "Resource": "arn:aws:s3:::athena-test/lambda/dataset/*" } ]