DescribeVpnConnections

Description

Describes one or more of your VPN connections.

Request Parameters

  • VpnConnectionId.n - One or more VPN connection IDs
    • Type: String
    • Default: Describes your VPN connections
  • Filter.n.Name - The name of the filter. Filter names are case-sensitive
    • Type: String
    • Default: None
  • Filter.n.Value.n - One or more filter values. Filter values are case-sensitive
    • Type: String
    • Default: None

Supported Filters

  • customerGatewayId - The ID of a customer gateway associated with the VPN connection
  • state
  • type - The type of VPN connection
  • vpnGatewayId - The ID of a virtual private gateway associated with the VPN connection

Response Elements

  • vpnConnectionSet - Information about one or more VPN connections
    • item
  • requestId - The ID of the request

Examples

c2-ec2 DescribeVpnConnections

c2-ec2 DescribeVpnConnections VpnConnectionId.1 <vpn_id>

c2-ec2 DescribeVpnConnections Filter.1.Name state Filter.1.Value.1 available

c2-ec2 DescribeVpnConnections Filter.1.Name vpnGatewayId Filter.1.Value.1 <vpn_id>