AWS IAM documentation change
Summary
Added JSON formatting blocks in EC2 role assumption examples
Security assessment
Structural improvements to instance profile documentation without security content changes.
Diff
diff --git a/IAM/latest/UserGuide/id_roles_use_switch-role-ec2.md b/IAM/latest/UserGuide/id_roles_use_switch-role-ec2.md index c3fee0c01..7d25ff05a 100644 --- a//IAM/latest/UserGuide/id_roles_use_switch-role-ec2.md +++ b//IAM/latest/UserGuide/id_roles_use_switch-role-ec2.md @@ -74,0 +75,6 @@ The following sample policy allows users to use the AWS Management Console to la +JSON + + +**** + + @@ -118,0 +126,6 @@ The following sample policy allows users to use the Amazon EC2 API to launch an +JSON + + +**** + + @@ -147,0 +162,6 @@ The `abcd` Amazon EC2 instance profile role must have the following permissions +JSON + + +**** + + @@ -187,0 +209,6 @@ The `abcd` role must trust the Amazon EC2 service to assume the role. To do this +JSON + + +**** + + @@ -204,0 +233,6 @@ Assume that the `efgh` cross-account role allows read-only Amazon S3 tasks on th +JSON + + +**** + + @@ -238,0 +274,6 @@ The `efgh` role must trust the `abcd` instance profile role to assume it. To do +JSON + + +**** + +