interface CfnVPNGatewayProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.CfnVPNGatewayProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnVPNGatewayProps |
Java | software.amazon.awscdk.services.ec2.CfnVPNGatewayProps |
Python | aws_cdk.aws_ec2.CfnVPNGatewayProps |
TypeScript | aws-cdk-lib » aws_ec2 » CfnVPNGatewayProps |
Properties for defining a CfnVPNGateway
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpngateway.html
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
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.