Skip to main content

vpn_gateway

Gets an individual vpn_gateway resource

Overview

Namevpn_gateway
TypeResource
Descriptionvpn_gateway
Idawscc.ec2.vpn_gateway

Fields

NameDatatypeDescription
v_pn_gateway_idstringVPN Gateway ID generated by service
amazon_side_asnintegerThe private Autonomous System Number (ASN) for the Amazon side of a BGP session.
tagsarrayAny tags assigned to the virtual private gateway.
typestringThe type of VPN connection the virtual private gateway supports.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
v_pn_gateway_id,
amazon_side_asn,
tags,
type
FROM awscc.ec2.vpn_gateway
WHERE data__Identifier = '<VPNGatewayId>';

Permissions

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

Read

ec2:DescribeVpnGateways

Update

ec2:CreateTags,
ec2:DeleteTags

Delete

ec2:DeleteVpnGateway