aws-cdk-lib.aws_ec2.VpnConnectionAttributes

interface VpnConnectionAttributes

LanguageType name
.NETAmazon.CDK.AWS.EC2.VpnConnectionAttributes
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#VpnConnectionAttributes
Javasoftware.amazon.awscdk.services.ec2.VpnConnectionAttributes
Pythonaws_cdk.aws_ec2.VpnConnectionAttributes
TypeScript (source)aws-cdk-lib » aws_ec2 » VpnConnectionAttributes

Attributes of an imported VpnConnection.

Example

// 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

NameTypeDescription
customerGatewayAsnnumberThe ASN of the customer gateway.
customerGatewayIdstringThe id of the customer gateway.
customerGatewayIpstringThe ip address of the customer gateway.
vpnIdstringThe id of the VPN connection.

customerGatewayAsn

Type: number

The ASN of the customer gateway.


customerGatewayId

Type: string

The id of the customer gateway.


customerGatewayIp

Type: string

The ip address of the customer gateway.


vpnId

Type: string

The id of the VPN connection.