DescribeCustomerGateways

Description

Describes one or more of your VPN customer gateways. It is possible to use one or more filters values for customer gateways.

Request Parameters

  • CustomerGatewayId - The ID of the customer gateway
  • Filter.n.Name - The name of the filter
  • Filter.n.Value.n - One or more filter values

Supported filters

  • state - The current state of the customer gateway
  • type - The type of VPN connection the customer gateway supports (ipsec.1)
  • ipAddress - The Internet-routable IP-address of the customer gateway’s outside interface

Response Elements

  • customerGatewaySet - Information about one or more customer gateways
    • item
      • customerGatewayId - The ID of the customer gateway
      • type - The type of VPN connection the customer gateway supports (ipsec.1)
      • state - The state field
      • ipAddress - The Internet-routable IP-address of the customer gateway’s outside interface
      • bgpAsn - The customer gateway’s Border Gateway Protocol (BGP) Autonomous System Number (ASN)
  • requestId - The ID of the request

Examples

c2-ec2 DescribeCustomerGateway

c2-ec2 DescribeCustomerGateway CustomerGatewayId.1 <cgw_id>

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