AWS code-library documentation change
Summary
Added PowerShell V5 example for DeleteNetworkAcl operation with confirmation prompt documentation
Security assessment
The change adds example usage of a standard API operation with confirmation prompts. While network ACL management relates to security, there is no evidence this addresses a specific vulnerability or security incident.
Diff
diff --git a/code-library/latest/ug/ec2_example_ec2_DeleteNetworkAcl_section.md b/code-library/latest/ug/ec2_example_ec2_DeleteNetworkAcl_section.md index 1b7a93fb9..65a5ae49a 100644 --- a//code-library/latest/ug/ec2_example_ec2_DeleteNetworkAcl_section.md +++ b//code-library/latest/ug/ec2_example_ec2_DeleteNetworkAcl_section.md @@ -56,0 +57,22 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example deletes the specified network ACL. You are prompted for confirmation before the operation proceeds, unless you also specify the Force parameter.** + + + Remove-EC2NetworkAcl -NetworkAclId acl-12345678 + + +**Output:** + + + Confirm + Are you sure you want to perform this action? + Performing operation "Remove-EC2NetworkAcl (DeleteNetworkAcl)" 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 [DeleteNetworkAcl](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +