AWS Security ChangesHomeSearch

AWS ec2 documentation change

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

File: ec2/latest/devguide/example_ec2_ReplaceNetworkAclAssociation_section.md

Summary

Added PowerShell V5 example for associating network ACL with subnet

Security assessment

Network ACLs are security controls but the example demonstrates normal operational use rather than addressing a vulnerability

Diff

diff --git a/ec2/latest/devguide/example_ec2_ReplaceNetworkAclAssociation_section.md b/ec2/latest/devguide/example_ec2_ReplaceNetworkAclAssociation_section.md
index 74f5d8589..8bb36e752 100644
--- a//ec2/latest/devguide/example_ec2_ReplaceNetworkAclAssociation_section.md
+++ b//ec2/latest/devguide/example_ec2_ReplaceNetworkAclAssociation_section.md
@@ -58,0 +59,19 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example associates the specified network ACL with the subnet for the specified network ACL association.**
+    
+    
+    Set-EC2NetworkAclAssociation -NetworkAclId acl-12345678 -AssociationId aclassoc-1a2b3c4d
+    
+
+**Output:**
+    
+    
+    aclassoc-87654321
+
+  * For API details, see [ReplaceNetworkAclAssociation](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+