AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2025-06-28 · Documentation low

File: code-library/latest/ug/ec2_example_ec2_DeleteVpnGateway_section.md

Summary

Added PowerShell V5 example for DeleteVpnGateway operation with deletion confirmation

Security assessment

Documents standard infrastructure deletion process for VPN gateways. No security advisories or vulnerability mitigations are mentioned in the change.

Diff

diff --git a/code-library/latest/ug/ec2_example_ec2_DeleteVpnGateway_section.md b/code-library/latest/ug/ec2_example_ec2_DeleteVpnGateway_section.md
index 3f6ee2bd3..8f50cc941 100644
--- a//code-library/latest/ug/ec2_example_ec2_DeleteVpnGateway_section.md
+++ b//code-library/latest/ug/ec2_example_ec2_DeleteVpnGateway_section.md
@@ -56,0 +57,22 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example deletes the specified virtual private gateway. You are prompted for confirmation before the operation proceeds, unless you also specify the Force parameter.**
+    
+    
+    Remove-EC2VpnGateway -VpnGatewayId vgw-1a2b3c4d
+    
+
+**Output:**
+    
+    
+    Confirm
+    Are you sure you want to perform this action?
+    Performing operation "Remove-EC2VpnGateway (DeleteVpnGateway)" on Target "vgw-1a2b3c4d".
+    [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"):
+
+  * For API details, see [DeleteVpnGateway](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+