AWS Security ChangesHomeSearch

AWS AmazonElastiCache: Add elasticache:ConnectionType IAM condition key to deny public caches

Service: AmazonElastiCache · 2026-09-30 · Documentation high

File: AmazonElastiCache/latest/dg/IAM.ConditionKeys.md · Type: iam

Summary

Documents a new IAM condition key elasticache:ConnectionType with an example Deny policy preventing creation of serverless caches with public connection type.

Security assessment

Introduces an IAM condition key and Deny policy example that lets administrators enforce private-only caches, directly mitigating public-exposure risk via authorization controls.

Evidence

+  23. **elasticache:ConnectionType** : Deny creating serverless caches with a public connection type. Using the provided condition, administrators can prevent users from creating caches with public endpoints.

Diff

diff --git a/AmazonElastiCache/latest/dg/IAM.ConditionKeys.md b/AmazonElastiCache/latest/dg/IAM.ConditionKeys.md
index 3212174..1bfe83c 100644
--- a//AmazonElastiCache/latest/dg/IAM.ConditionKeys.md
+++ b//AmazonElastiCache/latest/dg/IAM.ConditionKeys.md
@@ -1191,0 +1192,18 @@ JSON
+  23. **elasticache:ConnectionType** : Deny creating serverless caches with a public connection type. Using the provided condition, administrators can prevent users from creating caches with public endpoints.
+    
+        {
+        "Version": "2012-10-17",
+        "Statement": [
+            {
+                "Effect": "Deny",
+                "Action": "elasticache:CreateServerlessCache",
+                "Resource": "*",
+                "Condition": {
+                    "StringEquals": {
+                        "elasticache:ConnectionType": "public"
+                    }
+                }
+            }
+        ]
+    }
+