AWS Security ChangesHomeSearch

AWS ec2 documentation change

Service: ec2 · 2025-06-28 · Documentation low

File: ec2/latest/devguide/example_ec2_ReplaceNetworkAclEntry_section.md

Summary

Added PowerShell V5 example for modifying network ACL rules

Security assessment

Demonstrates firewall rule configuration which is security-related but not tied to a specific security issue

Diff

diff --git a/ec2/latest/devguide/example_ec2_ReplaceNetworkAclEntry_section.md b/ec2/latest/devguide/example_ec2_ReplaceNetworkAclEntry_section.md
index 9ad857797..752f02d41 100644
--- a//ec2/latest/devguide/example_ec2_ReplaceNetworkAclEntry_section.md
+++ b//ec2/latest/devguide/example_ec2_ReplaceNetworkAclEntry_section.md
@@ -42,0 +43,14 @@ PowerShell
+
+
+
+
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example replaces the specified entry for the specified network ACL. The new rule allows inbound traffic from the specified address to any associated subnet.**
+    
+    
+    Set-EC2NetworkAclEntry -NetworkAclId acl-12345678 -Egress $false -RuleNumber 100 -Protocol 17 -PortRange_From 53 -PortRange_To 53 -CidrBlock 203.0.113.12/24 -RuleAction allow
+    
+
+  * For API details, see [ReplaceNetworkAclEntry](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_.