> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# EC2 Describe Customer Gateways

Describes one or more of your VPN customer gateways.

For more information, see [AWS Site-to-Site VPN](https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html) in the *AWS Site-to-Site VPN User Guide*.

<Note>
  External Documentation

  To learn more, visit the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeCustomerGateways.html).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter            | Description                                                                                                                                                                                                                                                               |
  | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | AWS Region(s)        | Enter the desired AWS Region(s).<br /><br />To execute the action in multiple regions, provide a comma-separated list.<br />For example: `us-east-1,eu-west-2`.<br /><br />If you wish to run the action in all available regions, use the asterisk symbol (`*`) instead. |
  | Customer Gateway IDs | One or more customer gateway IDs.<br /><br />Default: Describes all your customer gateways.                                                                                                                                                                               |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter                        | Description                                                                                                                                                                                                                                                                                                                                                                                |                |               |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
  | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Disable XML To JSON Auto Convert | When checked, XML responses are not automatically converted into JSON format.                                                                                                                                                                                                                                                                                                              |                |               |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
  | Dry Run                          | Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.                                                                                                                             |                |               |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
  | Filters                          | One or more filters.<br /><br />- `bgp-asn` - The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).<br /><br />- `customer-gateway-id` - The ID of the customer gateway.<br /><br />- `ip-address` - The IP address of the customer gateway's Internet-routable external interface.<br /><br />- `state` - The state of the customer gateway ( `pending` \\ | `available` \\ | `deleting` \\ | `deleted`).<br /><br />- `type` - The type of customer gateway. Currently, the only supported type is `ipsec.1`.<br /><br />- `tag`:\<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name and `TeamA` for the filter value.<br /><br />- `tag-key` - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. |
</div>

## Example Output

```json theme={"dark"}
{
	"CustomerGateways": [
		{
			"BgpAsn": "65534",
			"CustomerGatewayId": "cgw-0e11f167",
			"IpAddress": "12.1.2.3",
			"State": "available",
			"Type": "ipsec.1"
		}
	]
}
```

## Workflow Library Example

[Ec2 Describe Customer Gateways with Aws and Send Results Via Email](https://library.blinkops.com/workflows/ec2-describe-customer-gateways-with-aws-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/ec2-describe-customer-gateways-with-aws-and-send-results-via-email/canvas" />
</div>
