AWS AWSEC2 documentation change
Summary
Added JSON code block placeholders in IAM policy examples
Security assessment
Structural formatting changes to existing policy examples without altering security content. No security fixes or new security guidance introduced.
Diff
diff --git a/AWSEC2/latest/UserGuide/iam-policies-for-amazon-ec2.md b/AWSEC2/latest/UserGuide/iam-policies-for-amazon-ec2.md index 1f01a8431..4776c9490 100644 --- a//AWSEC2/latest/UserGuide/iam-policies-for-amazon-ec2.md +++ b//AWSEC2/latest/UserGuide/iam-policies-for-amazon-ec2.md @@ -177,0 +178,6 @@ To use a condition key in your IAM policy, use the `Condition` statement. For ex +JSON + + +**** + + @@ -224,0 +232,6 @@ For example, the following policy uses the `ec2:Attribute/Description` condition +JSON + + +**** + + @@ -246,0 +261,6 @@ The following example policy uses the `ec2:Attribute` condition key to filter ac +JSON + + +**** + + @@ -267,0 +289,6 @@ When using the following `ec2:`Resource`ID` condition keys with the specified AP +JSON + + +**** + + @@ -319,0 +348,6 @@ To filter access based on specific resource IDs, we recommend that you use the ` +JSON + + +**** + +