customer_gateway_tags
Expands all tag keys and values for customer_gateways in a region
Overview
| Name | customer_gateway_tags |
| Type | Resource |
| Description | Specifies a customer gateway. |
| Id | aws.ec2.customer_gateway_tags |
Fields
| Name | Datatype | Description |
|---|---|---|
type | string | The type of VPN connection that this customer gateway supports (ipsec.1). |
customer_gateway_id | string | |
ip_address | string | IPv4 address for the customer gateway device's outside interface. The address must be static. If OutsideIpAddressType in your VPN connection options is set to PrivateIpv4, you can use an RFC6598 or RFC1918 private IPv4 address. If OutsideIpAddressType is set to PublicIpv4, you can use a public IPv4 address. |
bgp_asn_extended | number | For customer gateway devices that support BGP, specify the device's ASN. You must specify either BgpAsn or BgpAsnExtended when creating the customer gateway. If the ASN is larger than 2,147,483,647, you must use BgpAsnExtended.Valid values: 2,147,483,648 to 4,294,967,295 |
bgp_asn | integer | For customer gateway devices that support BGP, specify the device's ASN. You must specify either BgpAsn or BgpAsnExtended when creating the customer gateway. If the ASN is larger than 2,147,483,647, you must use BgpAsnExtended.Default: 65000 Valid values: 1 to 2,147,483,647 |
certificate_arn | string | The Amazon Resource Name (ARN) for the customer gateway certificate. |
device_name | string | The name of customer gateway device. |
tag_key | string | Tag key. |
tag_value | string | Tag value. |
region | string | AWS region. |
Methods
| Name | Accessible by | Required Params |
|---|---|---|
list_resources | SELECT | region |
SELECT examples
Expands tags for all customer_gateways in a region.
SELECT
region,
type,
customer_gateway_id,
ip_address,
bgp_asn_extended,
bgp_asn,
certificate_arn,
device_name,
tag_key,
tag_value
FROM aws.ec2.customer_gateway_tags
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the customer_gateway_tags resource, see customer_gateways