AWS code-library documentation change
Summary
Added PowerShell V5 example for modifying network ACL rules
Security assessment
Demonstrates security policy configuration but no vulnerability fix
Diff
diff --git a/code-library/latest/ug/ec2_example_ec2_ReplaceNetworkAclEntry_section.md b/code-library/latest/ug/ec2_example_ec2_ReplaceNetworkAclEntry_section.md index c543f850a..b05fd8917 100644 --- a//code-library/latest/ug/ec2_example_ec2_ReplaceNetworkAclEntry_section.md +++ b//code-library/latest/ug/ec2_example_ec2_ReplaceNetworkAclEntry_section.md @@ -48,0 +49,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)_. + + + +