VpnGateway
This class encapsulates and extends the ROS resource type ALIYUN::VPC::VpnGateway, which is used to create a VPN gateway.
Initializers
using AlibabaCloud.SDK.ROS.CDK.Vpc;
new VpnGateway(Construct Scope, string Id, VpnGatewayProps Props, bool EnableResourcePropertyConstraint = null);
| Name | Type | Description | 
|---|---|---|
| Scope | AlibabaCloud.SDK.ROS.CDK.Core.Construct | No description. | 
| Id | string | No description. | 
| Props | VpnGatewayProps | No description. | 
| EnableResourcePropertyConstraint | bool | No description. | 
ScopeRequired 
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct
IdRequired 
- Type: string
PropsRequired 
- Type: VpnGatewayProps
EnableResourcePropertyConstraintOptional 
- Type: bool
Methods
| Name | Description | 
|---|---|
| ToString | Returns a string representation of this construct. | 
| Synthesize | Allows this construct to emit artifacts into the cloud assembly during synthesis. | 
| AddCondition | No description. | 
| AddCount | No description. | 
| AddDependency | No description. | 
| AddResourceDesc | No description. | 
| ApplyRemovalPolicy | No description. | 
| GetAtt | No description. | 
| SetMetadata | No description. | 
ToString 
private string ToString()
Returns a string representation of this construct.
Synthesize 
private void Synthesize(ISynthesisSession Session)
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack and Asset
as they participate in synthesizing the cloud assembly.
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession
The synthesis session.
AddCondition 
private void AddCondition(RosCondition Condition)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition
AddCount 
private void AddCount(object Count)
- Type: object
AddDependency 
private void AddDependency(Resource Resource)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource
AddResourceDesc 
private void AddResourceDesc(string Desc)
- Type: string
ApplyRemovalPolicy 
private void ApplyRemovalPolicy(RemovalPolicy Policy)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy
GetAtt 
private IResolvable GetAtt(string Name)
- Type: string
SetMetadata 
private void SetMetadata(string Key, object Value)
- Type: string
- Type: object
Static Functions
| Name | Description | 
|---|---|
| IsConstruct | Return whether the given object is a Construct. | 
IsConstruct 
using AlibabaCloud.SDK.ROS.CDK.Vpc;
VpnGateway.IsConstruct(object X);
Return whether the given object is a Construct.
- Type: object
Properties
| Name | Type | Description | 
|---|---|---|
| Node | AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode | The construct tree node associated with this construct. | 
| Ref | string | No description. | 
| Stack | AlibabaCloud.SDK.ROS.CDK.Core.Stack | The stack in which this resource is defined. | 
| Resource | AlibabaCloud.SDK.ROS.CDK.Core.RosResource | No description. | 
| AttrDisasterRecoveryInternetIp | AlibabaCloud.SDK.ROS.CDK.Core.IResolvable | Attribute DisasterRecoveryInternetIp: The second IP address assigned by the system to create an IPsec-VPN connection.This attribute is returned only when the VPN gateway supports the dual-tunnel mode. | 
| AttrDisasterRecoveryVSwitchId | AlibabaCloud.SDK.ROS.CDK.Core.IResolvable | Attribute DisasterRecoveryVSwitchId: The ID of the second vSwitch associated with the VPN gateway.This attribute is returned only when the VPN gateway supports the dual-tunnel mode. | 
| AttrInternetIp | AlibabaCloud.SDK.ROS.CDK.Core.IResolvable | Attribute InternetIp: The public IP address of the VPN gateway. | 
| AttrOrderId | AlibabaCloud.SDK.ROS.CDK.Core.IResolvable | Attribute OrderId: The order ID. | 
| AttrSpec | AlibabaCloud.SDK.ROS.CDK.Core.IResolvable | Attribute Spec: The specification of the VPN gateway. | 
| AttrSslMaxConnections | AlibabaCloud.SDK.ROS.CDK.Core.IResolvable | Attribute SslMaxConnections: The maximum number of concurrent SSL-VPN connections. | 
| AttrSslVpnInternetIp | AlibabaCloud.SDK.ROS.CDK.Core.IResolvable | Attribute SslVpnInternetIp: The IP address of the SSL-VPN connection.This attribute is returned only when the VPN gateway is a public VPN gateway and supports only the single-tunnel mode. In addition, the VPN gateway must have the SSL-VPN feature enabled. | 
| AttrVpcId | AlibabaCloud.SDK.ROS.CDK.Core.IResolvable | Attribute VpcId: The ID of the virtual private cloud (VPC) to which the VPN gateway belongs. | 
| AttrVpnGatewayId | AlibabaCloud.SDK.ROS.CDK.Core.IResolvable | Attribute VpnGatewayId: ID of the VPN gateway. | 
| AttrVpnType | AlibabaCloud.SDK.ROS.CDK.Core.IResolvable | Attribute VpnType: The type of the VPN gateway. | 
| AttrVSwitchId | AlibabaCloud.SDK.ROS.CDK.Core.IResolvable | Attribute VSwitchId: The ID of the vSwitch to which the VPN gateway belongs. | 
NodeRequired 
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
RefRequired 
public string Ref { get; }
- Type: string
StackRequired 
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
ResourceOptional 
public RosResource Resource { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource
AttrDisasterRecoveryInternetIpRequired 
public IResolvable AttrDisasterRecoveryInternetIp { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DisasterRecoveryInternetIp: The second IP address assigned by the system to create an IPsec-VPN connection.This attribute is returned only when the VPN gateway supports the dual-tunnel mode.
AttrDisasterRecoveryVSwitchIdRequired 
public IResolvable AttrDisasterRecoveryVSwitchId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DisasterRecoveryVSwitchId: The ID of the second vSwitch associated with the VPN gateway.This attribute is returned only when the VPN gateway supports the dual-tunnel mode.
AttrInternetIpRequired 
public IResolvable AttrInternetIp { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InternetIp: The public IP address of the VPN gateway.
AttrOrderIdRequired 
public IResolvable AttrOrderId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute OrderId: The order ID.
AttrSpecRequired 
public IResolvable AttrSpec { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Spec: The specification of the VPN gateway.
AttrSslMaxConnectionsRequired 
public IResolvable AttrSslMaxConnections { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SslMaxConnections: The maximum number of concurrent SSL-VPN connections.
AttrSslVpnInternetIpRequired 
public IResolvable AttrSslVpnInternetIp { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SslVpnInternetIp: The IP address of the SSL-VPN connection.This attribute is returned only when the VPN gateway is a public VPN gateway and supports only the single-tunnel mode. In addition, the VPN gateway must have the SSL-VPN feature enabled.
AttrVpcIdRequired 
public IResolvable AttrVpcId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VpcId: The ID of the virtual private cloud (VPC) to which the VPN gateway belongs.
AttrVpnGatewayIdRequired 
public IResolvable AttrVpnGatewayId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VpnGatewayId: ID of the VPN gateway.
AttrVpnTypeRequired 
public IResolvable AttrVpnType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VpnType: The type of the VPN gateway.
AttrVSwitchIdRequired 
public IResolvable AttrVSwitchId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VSwitchId: The ID of the vSwitch to which the VPN gateway belongs.