interface CfnVPNGatewayProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.CfnVPNGatewayProps |
Java | software.amazon.awscdk.services.ec2.CfnVPNGatewayProps |
Python | aws_cdk.aws_ec2.CfnVPNGatewayProps |
TypeScript | @aws-cdk/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 * as ec2 from '@aws-cdk/aws-ec2';
const cfnVPNGatewayProps: ec2.CfnVPNGatewayProps = {
type: 'type',
// the properties below are optional
amazonSideAsn: 123,
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
type | string | The type of VPN connection the virtual private gateway supports. |
amazon | number | The private Autonomous System Number (ASN) for the Amazon side of a BGP session. |
tags? | Cfn [] | 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:
Cfn
[]
(optional)
Any tags assigned to the virtual private gateway.