AWS codebuild documentation change
Summary
Fixed IAM policy structure and removed placeholder comments
Security assessment
Structural improvements to IAM policies without changing security semantics. Changes include adding Version field and cleaning up JSON formatting without altering permission scope.
Diff
diff --git a/codebuild/latest/userguide/sample-build-notifications.md b/codebuild/latest/userguide/sample-build-notifications.md index 9fe9d1294..60c30c904 100644 --- a//codebuild/latest/userguide/sample-build-notifications.md +++ b//codebuild/latest/userguide/sample-build-notifications.md @@ -38,0 +39 @@ JSON + "Version": "2012-10-17", @@ -40 +40,0 @@ JSON - "### BEGIN ADDING STATEMENT HERE ###", @@ -41,0 +42 @@ JSON + "Effect": "Allow", @@ -50,6 +51,3 @@ JSON - "Resource": "*", - "Effect": "Allow" - }, - "### END ADDING STATEMENT HERE ###" - ], - "Version": "2012-10-17" + "Resource": "*" + } + ] @@ -111,0 +110 @@ JSON + "Version": "2012-10-17", @@ -113 +111,0 @@ JSON - "### BEGIN ADDING STATEMENT HERE ###", @@ -114,0 +113 @@ JSON + "Effect": "Allow", @@ -119,6 +118,3 @@ JSON - "Resource": "*", - "Effect": "Allow" - }, - "### END ADDING STATEMENT HERE ###" - ], - "Version": "2012-10-17" + "Resource": "arn:aws:iam::*:role/Service*" + } + ]