AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added PowerShell V5 example for CreateVpnGateway with IPsec type

Security assessment

Documents creation of VPN gateways which are security infrastructure components, but no specific vulnerability addressed.

Diff

diff --git a/code-library/latest/ug/ec2_example_ec2_CreateVpnGateway_section.md b/code-library/latest/ug/ec2_example_ec2_CreateVpnGateway_section.md
index 233e65fc0..a70451237 100644
--- a//code-library/latest/ug/ec2_example_ec2_CreateVpnGateway_section.md
+++ b//code-library/latest/ug/ec2_example_ec2_CreateVpnGateway_section.md
@@ -94,0 +95,24 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example creates the specified virtual private gateway.**
+    
+    
+    New-EC2VpnGateway -Type ipsec.1
+    
+
+**Output:**
+    
+    
+    AvailabilityZone :
+    State            : available
+    Tags             : {}
+    Type             : ipsec.1
+    VpcAttachments   : {}
+    VpnGatewayId     : vgw-1a2b3c4d
+
+  * For API details, see [CreateVpnGateway](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+