interface VpnGatewayProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.VpnGatewayProps |
Java | software.amazon.awscdk.services.ec2.VpnGatewayProps |
Python | aws_cdk.aws_ec2.VpnGatewayProps |
TypeScript (source) | @aws-cdk/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 * as ec2 from '@aws-cdk/aws-ec2';
const vpnGatewayProps: ec2.VpnGatewayProps = {
type: 'type',
// the properties below are optional
amazonSideAsn: 123,
};
Properties
Name | Type | Description |
---|---|---|
type | string | Default type ipsec.1. |
amazon | number | Explicitly 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.