AWS Security ChangesHomeSearch

AWS apprunner high security documentation change

Service: apprunner · 2025-09-19 · Security-related high

File: apprunner/latest/dg/security_iam_id-based-policy-examples.md

Summary

Added multiple IAM policy examples with security controls for App Runner operations

Security assessment

The policies include security controls like environment restrictions (prod vs non-prod), resource ownership conditions, and explicit service update constraints - all security-relevant access management patterns.

Diff

diff --git a/apprunner/latest/dg/security_iam_id-based-policy-examples.md b/apprunner/latest/dg/security_iam_id-based-policy-examples.md
index 6cdbe464f..87600d9d9 100644
--- a//apprunner/latest/dg/security_iam_id-based-policy-examples.md
+++ b//apprunner/latest/dg/security_iam_id-based-policy-examples.md
@@ -67,0 +68,24 @@ This example policy enables console access and allows connection creation and ma
+JSON
+    
+
+****
+    
+    
+    
+    {
+      "Version": "2012-10-17",		 	 	 
+      "Statement": [
+        {
+          "Effect": "Allow",
+          "Action": [
+            "apprunner:List*",
+            "apprunner:Describe*",
+            "apprunner:CreateConnection",
+            "apprunner:DeleteConnection"
+          ],
+          "Resource": "*"
+        }
+      ]
+    }
+    
+
@@ -73,0 +98,23 @@ This example policy enables creating an App Runner service but denies using a co
+JSON
+    
+
+****
+    
+    
+    
+      { "Version": "2012-10-17",		 	 	 
+      "Statement": 
+         [ { "Sid": "AllowCreateAppRunnerServiceWithNonProdConnections", 
+             "Effect": "Allow",
+             "Action": "apprunner:CreateService",
+             "Resource": "*",
+             "Condition": 
+                { "ArnNotLike":
+                   {"apprunner:ConnectionArn":"arn:aws:apprunner:*:*:connection/prod/*"} 
+                } 
+           }
+         ] 
+       }
+    
+    
+
@@ -75,0 +123,26 @@ This example policy enables updating an App Runner service named `preprod` only
+JSON
+    
+
+****
+    
+    
+    
+    {
+      "Version": "2012-10-17",		 	 	 
+      "Statement": [
+      {
+      "Sid": "AllowUpdatePreProdAppRunnerServiceWithPreProdASConfig",
+      "Effect": "Allow",
+      "Action": "apprunner:UpdateService",
+      "Resource": "arn:aws:apprunner:*:*:service/preprod/*",
+      "Condition": {
+      "ArnLike": {
+      "apprunner:AutoScalingConfigurationArn": "arn:aws:apprunner:us-east-1:*:autoscalingconfiguration/preprod/*"
+      
+      }
+      }
+      }
+      ]
+      }
+    
+
@@ -79,0 +153,29 @@ You can use conditions in your identity-based policy to control access to App Ru
+JSON
+    
+
+****
+    
+    
+    
+    {
+      "Version": "2012-10-17",		 	 	 
+      "Statement": [
+        {
+          "Sid": "ListServicesInConsole",
+          "Effect": "Allow",
+          "Action": "apprunner:ListServices",
+          "Resource": "*"
+        },
+        {
+          "Sid": "DeleteServiceIfOwner",
+          "Effect": "Allow",
+          "Action": "apprunner:DeleteService",
+          "Resource": "arn:aws:apprunner:us-east-1:*:service/*",
+          "Condition": {
+            "StringEquals": {"aws:ResourceTag/Owner": "${aws:username}"}
+          }
+        }
+      ]
+    }
+    
+