aws-cdk-lib.aws_ec2.CfnVPNGatewayProps

interface CfnVPNGatewayProps

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

Properties for defining a CfnVPNGateway.

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

  // the properties below are optional
  amazonSideAsn: 123,
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
typestringThe type of VPN connection the virtual private gateway supports.
amazonSideAsn?numberThe private Autonomous System Number (ASN) for the Amazon side of a BGP session.
tags?CfnTag[]Any tags assigned to the virtual private gateway.

type

Type: string

The type of VPN connection the virtual private gateway supports.


amazonSideAsn?

Type: number (optional)

The private Autonomous System Number (ASN) for the Amazon side of a BGP session.


tags?

Type: CfnTag[] (optional)

Any tags assigned to the virtual private gateway.