AWS Security ChangesHomeSearch

AWS autoscaling documentation change

Service: autoscaling · 2025-07-25 · Documentation low

File: autoscaling/ec2/userguide/security_iam_id-based-policy-examples.md

Summary

Updated example ARNs with us-east-1 and 111122223333, expanded JSON syntax

Security assessment

Example standardization without security implications.

Diff

diff --git a/autoscaling/ec2/userguide/security_iam_id-based-policy-examples.md b/autoscaling/ec2/userguide/security_iam_id-based-policy-examples.md
index b945c2e99..b463047ee 100644
--- a//autoscaling/ec2/userguide/security_iam_id-based-policy-examples.md
+++ b//autoscaling/ec2/userguide/security_iam_id-based-policy-examples.md
@@ -233 +233,2 @@ JSON
-       "Statement": [{
+        "Statement": [
+            {
@@ -236,2 +237,3 @@ JSON
-          "Resource": "arn:aws:autoscaling:region:account-id:autoScalingGroup:*:autoScalingGroupName/devteam-*"
-       }]
+                "Resource": "arn:aws:autoscaling:us-east-1:account-id:autoScalingGroup:*:autoScalingGroupName/devteam-*"
+            }
+        ]
@@ -373 +375,2 @@ JSON
-       "Statement": [{
+        "Statement": [
+            {
@@ -376 +379 @@ JSON
-          "Resource": "arn:aws:iam::account-id:role/aws-service-role/autoscaling.amazonaws.com/AWSServiceRoleForAutoScaling_devteamkeyaccess",
+                "Resource": "arn:aws:iam::111122223333:role/aws-service-role/autoscaling.amazonaws.com/AWSServiceRoleForAutoScaling_devteamkeyaccess",
@@ -378,2 +381,9 @@ JSON
-              "StringEquals": { "iam:PassedToService": [ "autoscaling.amazonaws.com" ] },
-              "StringLike": { "iam:AssociatedResourceARN": [ "arn:aws:autoscaling:region:account-id:autoScalingGroup:*:autoScalingGroupName/devteam-*" ] }
+                    "StringEquals": {
+                        "iam:PassedToService": [
+                            "autoscaling.amazonaws.com"
+                        ]
+                    },
+                    "StringLike": {
+                        "iam:AssociatedResourceARN": [
+                            "arn:aws:autoscaling:region:account-id:autoScalingGroup:*:autoScalingGroupName/devteam-*"
+                        ]
@@ -381 +391,3 @@ JSON
-       }]
+                }
+            }
+        ]