AWS Security ChangesHomeSearch

AWS ec2 documentation change

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

File: ec2/latest/devguide/example_ec2_AttachVpnGateway_section.md

Summary

Added PowerShell V5 examples for attaching VPN gateways to VPCs

Security assessment

While VPN gateways are security components, the change only demonstrates API usage syntax without discussing security configurations or best practices. No security-specific guidance added.

Diff

diff --git a/ec2/latest/devguide/example_ec2_AttachVpnGateway_section.md b/ec2/latest/devguide/example_ec2_AttachVpnGateway_section.md
index 429b55cbf..69104d22c 100644
--- a//ec2/latest/devguide/example_ec2_AttachVpnGateway_section.md
+++ b//ec2/latest/devguide/example_ec2_AttachVpnGateway_section.md
@@ -59,0 +60,21 @@ PowerShell
+
+
+
+
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example attaches the specified virtual private gateway to the specified VPC.**
+    
+    
+    Add-EC2VpnGateway -VpnGatewayId vgw-1a2b3c4d -VpcId vpc-12345678
+    
+
+**Output:**
+    
+    
+    State        VpcId
+    -----        -----
+    attaching    vpc-12345678
+
+  * For API details, see [AttachVpnGateway](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_.