AWS code-library documentation change
Summary
Added PowerShell V5 example for DeleteNetworkAclEntry
Security assessment
Documents network ACL management which is part of network security controls, but doesn't indicate remediation of a security issue.
Diff
diff --git a/code-library/latest/ug/ec2_example_ec2_DeleteNetworkAclEntry_section.md b/code-library/latest/ug/ec2_example_ec2_DeleteNetworkAclEntry_section.md index 80a047957..2084d262a 100644 --- a//code-library/latest/ug/ec2_example_ec2_DeleteNetworkAclEntry_section.md +++ b//code-library/latest/ug/ec2_example_ec2_DeleteNetworkAclEntry_section.md @@ -56,0 +57,22 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example removes the specified rule from the specified network ACL. You are prompted for confirmation before the operation proceeds, unless you also specify the Force parameter.** + + + Remove-EC2NetworkAclEntry -NetworkAclId acl-12345678 -Egress $false -RuleNumber 100 + + +**Output:** + + + Confirm + Are you sure you want to perform this action? + Performing operation "Remove-EC2NetworkAclEntry (DeleteNetworkAclEntry)" on Target "acl-12345678". + [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): + + * For API details, see [DeleteNetworkAclEntry](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +