aws-cdk-lib.aws_ec2.VpnGatewayProps

interface VpnGatewayProps

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

The VpnGateway Properties.

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 vpnGatewayProps: ec2.VpnGatewayProps = {
  type: 'type',

  // the properties below are optional
  amazonSideAsn: 123,
};

Properties

NameTypeDescription
typestringDefault type ipsec.1.
amazonSideAsn?numberExplicitly specify an Asn or let aws pick an Asn for you.

type

Type: string

Default type ipsec.1.


amazonSideAsn?

Type: number (optional, default: 65000)

Explicitly specify an Asn or let aws pick an Asn for you.