Skip to main content

customer_gateway

Gets or updates an individual customer_gateway resource, use customer_gateways to retrieve a list of resources or to create or delete a resource.

Overview

Namecustomer_gateway
TypeResource
DescriptionSpecifies a customer gateway.
Idaws.ec2.customer_gateway

Fields

NameDatatypeDescription
certificate_arnstring
customer_gateway_idstring
bgp_asnintegerFor devices that support BGP, the customer gateway's BGP ASN.<br/> Default: 65000
ip_addressstringIPv4 address for the customer gateway device's outside interface. The address must be static.
tagsarrayOne or more tags for the customer gateway.
typestringThe type of VPN connection that this customer gateway supports (ipsec.1).
device_namestringThe name of customer gateway device.
regionstringAWS region.

Methods

NameAccessible byRequired Params
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
get_resourceSELECTdata__Identifier, region

SELECT Example

SELECT
region,
certificate_arn,
customer_gateway_id,
bgp_asn,
ip_address,
tags,
type,
device_name
FROM aws.ec2.customer_gateway
WHERE region = 'us-east-1' AND data__Identifier = '<CustomerGatewayId>';

Permissions

To operate on the customer_gateway resource, the following permissions are required:

Read

ec2:DescribeCustomerGateways

Update

ec2:CreateTags,
ec2:DeleteTags,
ec2:DescribeCustomerGateways