# VpnConnectionAttributes

Attributes of an imported VpnConnection.

- Source: [`aws-ec2/lib/vpn.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-ec2/lib/vpn.ts#L200)
- Type last changed: v2.43.0 · 21 Sep 2022

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const vpnConnectionAttributes: ec2.VpnConnectionAttributes = {
  customerGatewayAsn: 123,
  customerGatewayId: 'customerGatewayId',
  customerGatewayIp: 'customerGatewayIp',
  vpnId: 'vpnId',
};
```

## Properties

- `customerGatewayAsn`: number (required) — The ASN of the customer gateway.

- `customerGatewayId`: string (required) — The id of the customer gateway.

- `customerGatewayIp`: string (required) — The ip address of the customer gateway.

- `vpnId`: string (required) — The id of the VPN connection.
