interface VpnConnectionAttributes
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.VpnConnectionAttributes |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#VpnConnectionAttributes |
Java | software.amazon.awscdk.services.ec2.VpnConnectionAttributes |
Python | aws_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
Name | Type | Description |
---|---|---|
customer | number | The ASN of the customer gateway. |
customer | string | The id of the customer gateway. |
customer | string | The ip address of the customer gateway. |
vpn | string | The 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.