AWS Security ChangesHomeSearch

AWS ec2: Add output example to DescribeVpnConnections docs

Service: ec2 · 2026-10-31 · Documentation low

File: ec2/latest/devguide/example_ec2_DescribeVpnConnections_section.md

Summary

Added a JSON output example for the describe-vpn-connections command showing VPN connection details, options, routes, and tunnel telemetry.

Security assessment

Adds an illustrative output sample for a VPN command; it does not document a security feature, best practice, or address any vulnerability.

Evidence

+                "CustomerGatewayConfiguration": "...configuration information...",

Diff

diff --git a/ec2/latest/devguide/example_ec2_DescribeVpnConnections_section.md b/ec2/latest/devguide/example_ec2_DescribeVpnConnections_section.md
index ed54819..32740fe 100644
--- a//ec2/latest/devguide/example_ec2_DescribeVpnConnections_section.md
+++ b//ec2/latest/devguide/example_ec2_DescribeVpnConnections_section.md
@@ -82,0 +83,47 @@ The following `describe-vpn-connections` example describes your Site-to-Site VPN
+Output:
+    
+    
+    {
+        "VpnConnections": [
+            {
+                "CustomerGatewayConfiguration": "...configuration information...",
+                "CustomerGatewayId": "cgw-01234567abcde1234",
+                "Category": "VPN",
+                "State": "available",
+                "Type": "ipsec.1",
+                "VpnConnectionId": "vpn-1122334455aabbccd",
+                "TransitGatewayId": "tgw-00112233445566aab",
+                "Options": {
+                    "EnableAcceleration": false,
+                    "StaticRoutesOnly": true,
+                    "LocalIpv4NetworkCidr": "0.0.0.0/0",
+                    "RemoteIpv4NetworkCidr": "0.0.0.0/0",
+                    "TunnelInsideIpVersion": "ipv4"
+                },
+                "Routes": [],
+                "Tags": [
+                    {
+                        "Key": "Name",
+                        "Value": "CanadaVPN"
+                    }
+                ],
+                "VgwTelemetry": [
+                    {
+                        "AcceptedRouteCount": 0,
+                        "LastStatusChange": "2020-07-29T10:35:11.000Z",
+                        "OutsideIpAddress": "203.0.113.3",
+                        "Status": "DOWN",
+                        "StatusMessage": ""
+                    },
+                    {
+                        "AcceptedRouteCount": 0,
+                        "LastStatusChange": "2020-09-02T09:09:33.000Z",
+                        "OutsideIpAddress": "203.0.113.5",
+                        "Status": "UP",
+                        "StatusMessage": ""
+                    }
+                ]
+            }
+        ]
+    }
+