AWS Security ChangesHomeSearch

AWS ec2 documentation change

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

File: ec2/latest/devguide/example_ec2_DeleteVpnGateway_section.md

Summary

Added PowerShell V5 examples for DeleteVpnGateway with confirmation prompt documentation

Security assessment

This adds usage examples for deleting VPN gateways, including confirmation workflows. No evidence of security vulnerability remediation or new security features.

Diff

diff --git a/ec2/latest/devguide/example_ec2_DeleteVpnGateway_section.md b/ec2/latest/devguide/example_ec2_DeleteVpnGateway_section.md
index 97ef76984..58e8a3531 100644
--- a//ec2/latest/devguide/example_ec2_DeleteVpnGateway_section.md
+++ b//ec2/latest/devguide/example_ec2_DeleteVpnGateway_section.md
@@ -50,0 +51,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)_.