SslVpnServerProps
Properties for defining a SslVpnServer
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-sslvpnserver
Initializer
import com.aliyun.ros.cdk.vpc.SslVpnServerProps;
SslVpnServerProps.builder()
.clientIpPool(java.lang.String)
.clientIpPool(IResolvable)
.localSubnet(java.lang.String)
.localSubnet(IResolvable)
.vpnGatewayId(java.lang.String)
.vpnGatewayId(IResolvable)
// .cipher(java.lang.String)
// .cipher(IResolvable)
// .compress(java.lang.Boolean)
// .compress(IResolvable)
// .enableMultiFactorAuth(java.lang.Boolean)
// .enableMultiFactorAuth(IResolvable)
// .iDaaSApplicationId(java.lang.String)
// .iDaaSApplicationId(IResolvable)
// .iDaaSInstanceId(java.lang.String)
// .iDaaSInstanceId(IResolvable)
// .iDaaSRegionId(java.lang.String)
// .iDaaSRegionId(IResolvable)
// .name(java.lang.String)
// .name(IResolvable)
// .port(java.lang.Number)
// .port(IResolvable)
// .proto(java.lang.String)
// .proto(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
clientIpPool |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property clientIpPool: It is the address segment that assigns the access address to the client virtual NIC. |
localSubnet |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property localSubnet: Is the address segment that the client wants to access through an SSL-VPN connection. |
vpnGatewayId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property vpnGatewayId: ID of the VPN gateway. |
cipher |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property cipher: The encryption algorithm used by SSL-VPN. |
compress |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property compress: Whether it is compressed. |
enableMultiFactorAuth |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property enableMultiFactorAuth: Whether to enable multi-factor authentication. |
iDaaSApplicationId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property iDaaSApplicationId: The ID of the IDaaS application. |
iDaaSInstanceId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property iDaaSInstanceId: The ID of the IDaaS instance. |
iDaaSRegionId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property iDaaSRegionId: The region ID of the IDaaS instance. |
name |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property name: The name of the SSL-VPN server. |
port |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property port: The port used by the SSL-VPN server. |
proto |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property proto: The protocol used by the SSL-VPN server. |
clientIpPool
Required
public java.lang.Object getClientIpPool();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property clientIpPool: It is the address segment that assigns the access address to the client virtual NIC.
It does not refer to the existing intranet segment of the client. When the client accesses the local end through an SSL-VPN connection, the VPN gateway allocates an IP address to the client from the specified client network segment. The network segment cannot conflict with the LocalSubnet address segment.
localSubnet
Required
public java.lang.Object getLocalSubnet();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property localSubnet: Is the address segment that the client wants to access through an SSL-VPN connection.
The local network segment can be the network segment of the VPC, the network segment of the switch, the network segment of the IDC interconnected by the leased line and the VPC, and the network segment of the cloud service such as RDS/OSS.
vpnGatewayId
Required
public java.lang.Object getVpnGatewayId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vpnGatewayId: ID of the VPN gateway.
cipher
Optional
public java.lang.Object getCipher();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property cipher: The encryption algorithm used by SSL-VPN.
Value: AES-128-CBC (default) | AES-192-CBC | AES-256-CBC | none
compress
Optional
public java.lang.Object getCompress();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property compress: Whether it is compressed.
enableMultiFactorAuth
Optional
public java.lang.Object getEnableMultiFactorAuth();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property enableMultiFactorAuth: Whether to enable multi-factor authentication.
The default value is false.
iDaaSApplicationId
Optional
public java.lang.Object getIDaaSApplicationId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property iDaaSApplicationId: The ID of the IDaaS application.
iDaaSInstanceId
Optional
public java.lang.Object getIDaaSInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property iDaaSInstanceId: The ID of the IDaaS instance.
iDaaSRegionId
Optional
public java.lang.Object getIDaaSRegionId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property iDaaSRegionId: The region ID of the IDaaS instance.
name
Optional
public java.lang.Object getName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property name: The name of the SSL-VPN server.
The length is 2-128 characters and must start with a letter or Chinese. It can contain numbers, periods (.), underscores (_), and dashes (-). But it can't start with http:// or https://.
port
Optional
public java.lang.Object getPort();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property port: The port used by the SSL-VPN server.
The default value is 1194. Cannot use the following ports: 22, 2222, 22222, 9000, 9001, 9002, 7505, 80, 443, 53, 68, 123, 4510, 4560, 500, 4500
proto
Optional
public java.lang.Object getProto();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property proto: The protocol used by the SSL-VPN server.
Allowed values: UDP (default) | TCP.