---
type: resource-type
title: VPNGateway
description: aws resource type AWS::EC2::VPNGateway
name: VPNGateway
lexicon: aws
resource_type: AWS::EC2::VPNGateway
---
`AWS::EC2::VPNGateway`, a resource type of the aws lexicon.

## Properties

- `Type` (`string`, required): The type of VPN connection the virtual private gateway supports.
- `AmazonSideAsn` (`number`, optional): The private Autonomous System Number (ASN) for the Amazon side of a BGP session.
- `Tags` (`VPNGateway_Tag[]`, optional): Any tags assigned to the virtual private gateway.
- `VPNGatewayId` (`string`, optional)

## Attributes

- `VPNGatewayId`
