AWS apprunner medium security documentation change
Summary
Removed detailed JSON policy examples for IAM permissions
Security assessment
Removal of specific policy examples could indicate they contained outdated or potentially insecure permissions patterns. This change mitigates risk of users implementing incorrect security policies that might grant excessive privileges.
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 03ea247e7..6cdbe464f 100644 --- a//apprunner/latest/dg/security_iam_id-based-policy-examples.md +++ b//apprunner/latest/dg/security_iam_id-based-policy-examples.md @@ -68,24 +67,0 @@ This example policy enables console access and allows connection creation and ma -JSON - - -**** - - - - { - "Version": "2012-10-17", - "Statement": [ - { - "Effect": "Allow", - "Action": [ - ":List*", - ":Describe*", - ":CreateConnection", - ":DeleteConnection" - ], - "Resource": "*" - } - ] - } - - @@ -98,25 +73,0 @@ 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": ":CreateService", - "Resource": "*", - "Condition": { - "ArnNotLike": { - ":ConnectionArn": "arn:aws::*:*:connection/prod/*" - } - } - } - ] - } - - @@ -125,25 +75,0 @@ This example policy enables updating an App Runner service named `preprod` only -JSON - - -**** - - - - { - "Version": "2012-10-17", - "Statement": [ - { - "Sid": "AllowUpdatePreProdAppRunnerServiceWithPreProdASConfig", - "Effect": "Allow", - "Action": ":UpdateService", - "Resource": "arn:aws::*:*:service/preprod/*", - "Condition": { - "ArnLike": { - ":AutoScalingConfigurationArn": "arn:aws::*:*:autoscalingconfiguration/preprod/*" - } - } - } - ] - } - - @@ -154,29 +79,0 @@ 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": ":ListServices", - "Resource": "*" - }, - { - "Sid": "DeleteServiceIfOwner", - "Effect": "Allow", - "Action": ":DeleteService", - "Resource": "arn:aws::*:*:service/*", - "Condition": { - "StringEquals": {":ResourceTag/Owner": "${aws:username}"} - } - } - ] - } - -